* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #ff5f7e, #ff9a9e);
  color: #fff;
  overflow-x: hidden;
}

.screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: rgba(255,255,255,0.18);
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.hidden { display: none; }

/* Glow Name */
.glow-name {
  font-size: 36px;
  text-shadow:
    0 0 10px #ffb6c1,
    0 0 20px #ff69b4,
    0 0 40px #ff1493;
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 10px #ffb6c1; }
  to   { text-shadow: 0 0 35px #ff1493; }
}

/* Love Banner */
.love-banner {
  text-align: center;
  margin: 15px 0 30px;
}

.love-banner span {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  animation: loveGlow 3s infinite alternate;
}

@keyframes loveGlow {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.1); }
}

header {
  text-align: center;
  padding: 30px 15px 10px;
}

header button {
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.love-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 15px;
}

.love-section img {
  max-width: 300px;
  border-radius: 25px;
  margin-bottom: 18px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.message {
  background: rgba(0,0,0,0.28);
  padding: 18px;
  border-radius: 18px;
  max-width: 520px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}

.surprise {
  text-align: center;
  padding: 35px 15px;
}

.surprise button {
  padding: 14px 30px;
  border-radius: 30px;
  border: none;
  background: #ff1744;
  color: white;
  font-size: 17px;
  cursor: pointer;
}

#surpriseBox {
  margin-top: 25px;
  background: rgba(255,255,255,0.22);
  padding: 25px;
  border-radius: 25px;
  font-size: 17px;
  line-height: 1.7;
}

footer {
  text-align: center;
  padding: 25px;
  font-size: 20px;
}

/* 🌹 Rose Petals Falling */
.petals::before {
  content: "🌹 🌸 🌹 🌸 🌹 🌸";
  position: fixed;
  top: -50px;
  width: 100%;
  text-align: center;
  font-size: 24px;
  animation: fallPetals 12s linear infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes fallPetals {
  0% { transform: translateY(-50px); }
  100% { transform: translateY(120vh); }
}
