
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main, .hero, .slideshow, .caption {
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(124,58,237,0.13), 0 2px 16px rgba(0,0,0,0.10);
  border: 4px solid #fff0f6;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: scale(1.045) rotate(-2deg);
  box-shadow: 0 12px 48px 0 rgba(255,78,142,0.18), 0 2px 16px rgba(0,0,0,0.12);
}

/* Hero section */
.hero {
  min-height: 60vh;
  padding-top: 4rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffb6e6 0%, #ff69b4 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: popIn 1.2s cubic-bezier(.4,2,.6,1);
}

.hero .tagline {
  font-size: 1.25rem;
  background: linear-gradient(90deg, #ffb6e6 0%, #ff69b4 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  opacity: 1;
  border: none;
  box-shadow: none;
  padding: 0;
}

.caption {
  max-width: 650px;
  margin: 2rem auto 2.5rem auto;
  font-size: 1.25rem;
  line-height: 2.1;
  opacity: 0.97;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #7c3aed;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 24px rgba(255,78,142,0.10);
  border: 2px solid #ffb6e6;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  80% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.val-btn {
  font-size: 1.2rem;
  padding: 0.7rem 2.2rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(255,78,142,0.10);
}

.val-btn.yes {
  background: linear-gradient(135deg, #ff4e8e 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 2px 18px rgba(255,78,142,0.13);
}

.val-btn.no {
  background: #fff;
  color: #ff4e8e;
  border: 2px solid #ff4e8e;
  position: relative;
}

.val-btn:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 24px rgba(124,58,237,0.13);
  filter: brightness(1.08);
}

.slide img {
  width: 80%;
  max-width: 700px;
  margin: 5rem auto 1.5rem auto;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

.slide img:hover {
  transform: scale(1.025);
}

.caption {
  max-width: 650px;
  margin: 2rem auto 2.5rem auto;
  font-size: 1.25rem;
  line-height: 2.1;
  opacity: 0.92;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #f5f5f5;
  background: rgba(10,10,10,0.7);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.nav {
  position: fixed;
  top: 50%;
  background: rgba(20,20,20,0.7);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s;
}
.nav:hover {
  background: rgba(40,40,40,0.9);
}

.prev { left: 30px; }
.next { right: 30px; }

#fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.97);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(8px);
}

#fullscreen img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.22);
}



@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .caption {
    font-size: 1rem;
    padding: 1rem 0.5rem;
  }
  .slide img {
    width: 98%;
    max-width: 98vw;
  }
  .slideshow {
    max-width: 100vw;
  }
  .prev, .next {
    left: 10px;
    right: 10px;
    font-size: 2rem;
    padding: 0.7rem 1rem;
  }
  .valentine-box {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 95vw;
  }
  .valentine-box h2 {
    font-size: 1.1rem;
  }
  .val-btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}

/* Pink call-to-action box */
.pink-cta {
  background: linear-gradient(180deg, #ffeef7 0%, #ffd9ec 100%);
  border: 2px solid #ffd1e8;
  color: #6b0b3a;
  padding: 1rem 1.25rem;
  margin: 2.5rem auto;
  max-width: 920px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(255,105,180,0.12);
  text-align: center;
}
.pink-cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #7c1a3a;
}
.pink-cta-buttons {
  display: inline-flex;
  gap: 0.8rem;
}
.pink-btn {
  background: linear-gradient(135deg,#ff8fb3 0%, #ff5a9e 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,90,140,0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.pink-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(255,90,140,0.22); }

@media (max-width:700px) {
  .pink-cta { padding: 0.9rem 0.9rem; margin: 1.5rem auto; }
  .pink-cta-text { font-size: 1rem; }
  .pink-cta-buttons { gap: 0.5rem; }
  .pink-btn { padding: 0.45rem 1rem; font-size: 0.95rem; }
}

/* Ensure slideshow has room for the CTA so elements don't overlap */
.slideshow {
  padding-bottom: 6rem;
}

/* Make CTA clearly sit above other content if needed */
.pink-cta {
  position: relative;
  z-index: 5;
}

@media (max-width:700px) {
  .slideshow { padding-bottom: 8rem; }
}

/* To Ana page styling */
.to-ana-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Remove animated background from To Ana page (keep it static/hidden) */
.to-ana-page::before {
  display: none;
}

.to-ana-container {
  max-width: 900px;
  width: 100%;
}

.to-ana-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #ffb6e6 0%, #ff69b4 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  animation: popIn 1.2s cubic-bezier(.4,2,.6,1);
}

.to-ana-content {
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 2rem;
  border: 2px solid #ffb6e6;
  box-shadow: 0 8px 40px 0 rgba(124,58,237,0.13), 0 2px 16px rgba(0,0,0,0.10);
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 2;
  color: #7c3aed;
}

.back-btn {
  display: inline-block;
  padding: 0.7rem 2.2rem;
  background: linear-gradient(135deg, #ff4e8e 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 18px rgba(255,78,142,0.13);
}

.back-btn:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 24px rgba(124,58,237,0.13);
  filter: brightness(1.08);
}

@media (max-width:700px) {
  .to-ana-page h1 { font-size: 2.2rem; }
  .to-ana-content { padding: 1rem; font-size: 1rem; }
  .back-btn { padding: 0.5rem 1.2rem; font-size: 0.95rem; }
}