* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

/* Sections */
.page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* HERO */
.hero {
  background: url("pic1.jpeg") center/cover no-repeat;
  color: white;
}

/* POEM */
.poem {
  background: url("pic3.jpeg") center/cover no-repeat;
  
}
.poem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.poem-box {
  position: relative;
  color: white;
  font-size: 22px;
  max-width: 700px;
  font-family: kumbh sans, sans-serif;
  
}

/* QUESTION */
.question {
  background: url("cupids.jpg") center/cover no-repeat;
}
.question::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

/* Card Apple Blur */
.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(25px);
  padding: 40px;
  border-radius: 25px;
  color: white;
  z-index: 2;
  text-shadow:
    -2px -2px 0 black,
     2px -2px 0 black,
    -2px  2px 0 black,
     2px  2px 0 black;
     font-family: kumbh sans, sans-serif;
}

/* Buttons */
button {
  padding: 12px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  margin: 10px;
}

#yesBtn {
  background: #ff2d55;
  color: white;
  border: black solid 2px;
  
}

#noBtn {
  background: transparent;
  border: 2px solid #ff2d55;
  color: #ff2d55;
}

/* Floating Hearts */
.heart {
  position: fixed;
  bottom: -20px;
  font-size: 24px;
  animation: floatUp 4s linear forwards;
  z-index: 10000; /* MÁS que el overlay */
  pointer-events: none;
}

@keyframes float {
  from { transform: translateY(100vh); opacity: 1; }
  to { transform: translateY(-10vh); opacity: 0; }
}

/* YES MESSAGE */
#yesMessage {
  position: fixed;
  inset: 0;
  background: rgba(255,45,85,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  font-size: 40px;
  text-align: center;
  z-index: 9000;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fireworks */
#fireworks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
  background: #ff2d55;
}

#typewriter {
  color: white;
  font-size: 2rem;
  font-weight: bold;

  font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif
}

.hero-content p {
   font-weight: bold;
   font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif


}

.floating-heart {
  position: fixed;
  bottom: -20px;
  font-size: 20px;
  animation: floatUp 6s linear forwards;
  pointer-events: none;
}

@keyframes floatUp { 
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

.poem-box p{
   font-weight: bold;
  font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif

}

.poem-box h2 {
  margin-bottom: 20px;
   font-weight: bold;
   font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif

}

#yesMessage h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif

}

#yesMessage p {
  font-size: 1.75rem;
  text-shadow: black 1px 1px 2px;
  font-family: kumbh sans, sans-serif

}