/* layout de bază */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #c2e9fb);
  margin: 0;
  color: #333;
  overflow-x: hidden;
}
section {
  position: relative;
  z-index: 1;               /* peste fundaluri */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hidden { display: none; }

button {
  background: #ff69b4;
  color: #fff;
  border: 0;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 16px;
  transition: .2s;
}
button:hover { transform: scale(1.05); background:#ff85c2; }

/* cutiuțe */
.box-container { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:18px; }
.gift-box {
  width: 100px; height:100px; border-radius:16px; background:#fff; font-size:40px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.15); cursor:pointer; transition:.2s;
}
.gift-box:hover { transform: rotate(5deg) scale(1.07); }

.message {
  background:#fff; border-radius:10px; padding:12px 16px; margin:10px auto; width:min(800px,85%);
  box-shadow:0 4px 12px rgba(0,0,0,.15); animation:fade .35s ease-out;
}
@keyframes fade { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

/* galerie demo */
.gallery { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

/* fundaluri - sub conținut şi nu captează click-uri */
.hearts-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
canvas#confetti {
  position: fixed; inset: 0; width:100%; height:100%;
  z-index: 0; pointer-events: none;
}

/* buton muzică */
.music-toggle{
  position: fixed; top:15px; right:15px; z-index: 2;
  background: rgba(255,105,180,.85); color:#fff; border:0; border-radius:50%;
  font-size:22px; padding:12px; cursor:pointer; box-shadow:0 0 12px rgba(255,105,180,.5);
  animation:pulse 2s infinite;
}
.music-toggle:hover{ transform:scale(1.1); }
@keyframes pulse{
  0%{ box-shadow:0 0 10px rgba(255,105,180,.5) }
  50%{ box-shadow:0 0 20px rgba(255,182,193,.9) }
  100%{ box-shadow:0 0 10px rgba(255,105,180,.5) }
}
