body, html {
  background: linear-gradient(135deg, #fceabb, #f8b195), url('https://i.imgur.com/5bWbLsQ.png');
}

.romantic {
  background: linear-gradient(135deg, #fceabb, #f8b195), url('https://i.imgur.com/5bWbLsQ.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  animation: softFade 4s ease-in-out;
  font-family: 'Quicksand', sans-serif;
  position: relative;
}

.romantic .content {
  animation: fadeIn 2s ease-in;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.romantic .content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Great Vibes', cursive;
  color: #fff6f9;
}

.romantic .content p {
  font-size: 1.3rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.romantic h2 {
  font-size: 2rem;
  color: #fff;
}

.page.romantic {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}


.highlight {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffe2ec;
}

.top-decor, .bottom-decor {
  width: 120px;
  margin: 1rem auto;
  display: block;
  animation: float 4s ease-in-out infinite;
}

.bottom-decor {
  margin-top: 3rem;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.yes {
  background: #ff6b81;
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.yes:hover {
  background: #ff4757;
  transform: scale(1.05);
}

.yes.clicked {
  animation: pulseHeart 1s ease-in-out;
}

@keyframes pulseHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


#confetti {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.hearts {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hearts span {
  position: absolute;
  display: inline-block;
  font-size: 2rem;
  animation: floatHearts 10s infinite ease-in-out;
  opacity: 0.7;
}

.hearts span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hearts span:nth-child(2) { left: 30%; animation-delay: 2s; }
.hearts span:nth-child(3) { left: 50%; animation-delay: 4s; }
.hearts span:nth-child(4) { left: 70%; animation-delay: 1s; }
.hearts span:nth-child(5) { left: 90%; animation-delay: 3s; }

@keyframes floatHearts {
  0% {
    bottom: -50px;
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(20px) rotate(20deg);
  }
  100% {
    bottom: 100%;
    transform: translateX(-20px) rotate(-20deg);
  }
}
