/* =============================================
   QUINCEAÑERA DIGITAL INVITATION TEMPLATE
   Dark Glam | Disco Aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Montserrat:wght@200;300;400;600;700&family=Parisienne&display=swap');

/* ---- CSS Variables ---- */
:root {
  --black: #080808;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --white: #ffffff;
  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #8a8a8a;
  --neon-white: #f0f0f0;
  --pink: #FFC5D3;
  --gold: #d4af37;
  --smoke: rgba(255,255,255,0.05);
  --card-width: 390px;
  --card-radius: 16px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-width: 100%;
  min-height: 100%;
  background: #1c1c1c;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ---- Card Wrapper ---- */
.invitation-wrapper {
  width: var(--card-width);
  min-width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* =============================================
   SECTION 0: ENVELOPE / COVER
   ============================================= */
#section-envelope {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: radial-gradient(ellipse at 50% 30%, #1a1a2e 0%, #0a0a0a 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Starfield */
#section-envelope::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 40%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 25% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 10%, rgba(255,255,255,0.6) 0%, transparent 100%);
  pointer-events: none;
}

.envelope-title-top {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: var(--silver-light);
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInDown 1s ease 0.5s forwards;
  padding: 0 2rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* Smoke effects */
.smoke-left, .smoke-right {
  position: absolute;
  bottom: 0;
  width: 140px;
  height: 300px;
  pointer-events: none;
  opacity: 0.25;
}
.smoke-left { left: -20px; }
.smoke-right { right: -20px; }

/* ---- Envelope ---- */
.envelope-container {
  position: relative;
  width: 260px;
  height: 190px;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
  cursor: pointer;
  transition: transform 0.3s;
}
.envelope-container:hover { transform: scale(1.03); }

.envelope-body {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #dedede 0%, #dedede 40%, #dedede 100%);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
}

/* Embossed wave lines on envelope */
.envelope-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 18px,
      rgba(255,255,255,0.07) 18px,
      rgba(255,255,255,0.07) 19px
    );
}

/* Envelope flap */
.envelope-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  clip-path: polygon(0 0, 100% 0, 50% 90%);
  background: linear-gradient(180deg, #ffa8bc 0%, #ffedf1 100%);
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}

.envelope-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  clip-path: polygon(0 100%, 100% 100%, 50% 0%);
  background: linear-gradient(0deg, #ffa8bc 0%, #ffedf1 100%);
}

.envelope-left, .envelope-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 1;
}

.envelope-left {
  left: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(90deg, #ffd7e1 0%, #FFC5D3 100%);
}

.envelope-right {
  right: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background: linear-gradient(270deg, #ffd7e1 0%, #FFC5D3 100%);
}

/* Wax seal */
.wax-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 40% 35%, #2a2a2a 0%, #111 100%);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.1);
}
.wax-seal::after {
  content: '✦';
  font-size: 14px;
  color: rgba(255, 255, 255);
}

.envelope-hint {
  margin-top: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards;
}

/* Envelope open animation */
.envelope-container.opening .envelope-flap {
  transform: rotateX(-180deg);
}

/* =============================================
   SECTION 1: HERO (Disco Balls + Name)
   ============================================= */
#section-hero {
  width: 100%;
  min-height: 100vh;
  background: #080808;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Stars background */
.stars-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 15%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 45%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 38% 22%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 68%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 35%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 87% 12%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 93% 78%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 88%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 92%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 67% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 90%, rgba(255,255,255,0.5) 0%, transparent 100%);
  pointer-events: none;
}

/* Sparkle animations */
.sparkle {
  position: absolute;
  pointer-events: none;
}
.sparkle::before, .sparkle::after {
  content: '✦';
  position: absolute;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  animation: twinkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 35%; left: 5%; }
.sparkle:nth-child(1)::before { animation-delay: 0s; }
.sparkle:nth-child(2) { top: 50%; right: 8%; }
.sparkle:nth-child(2)::before { animation-delay: 1.2s; font-size: 19px; }
.sparkle:nth-child(3) { top: 70%; left: 12%; }
.sparkle:nth-child(3)::before { animation-delay: 0.6s; font-size: 13px; }
.sparkle:nth-child(4) { top: 80%; right: 15%; }
.sparkle:nth-child(4)::before { animation-delay: 1.8s; font-size: 17px; }
.sparkle:nth-child(5) { top: 60%; right: 18%; }
.sparkle:nth-child(5)::before { animation-delay: 1.8s; font-size: 12px; }
.sparkle:nth-child(6) { top: 10%; right: 25%; }
.sparkle:nth-child(6)::before { animation-delay: 1.8s; font-size: 14px; }
.sparkle:nth-child(7) { top: 20%; right: 6%; }
.sparkle:nth-child(7)::before { animation-delay: 1.8s; font-size: 15px; }
.sparkle:nth-child(8) { top: 40%; right: 30%; }
.sparkle:nth-child(8)::before { animation-delay: 1.8s; font-size: 10px; }

/* Disco photo area */
.disco-area {
  width: 100%;
  height: 260px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

/* Foto real de bolas disco */
.disco-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Fade hacia negro en la parte inferior para fusionar con el contenido */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  filter: brightness(0.85) contrast(1.1);
}

/* Shimmer sutil encima de la foto para los destellos */
.disco-shimmer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(200,200,255,0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: shimmerPulse 4s ease-in-out infinite;
}

/* CSS Disco Ball (solo para fallback) */
.disco-ball {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    #e8e8e8 0%, #c0c0c0 20%, #888 40%, #444 70%, #111 100%
  );
  box-shadow: 0 0 20px rgba(255,255,255,0.15), inset 5px 5px 10px rgba(255,255,255,0.2);
  overflow: hidden;
}
.disco-ball::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 5px, rgba(0,0,0,0.3) 5px, rgba(0,0,0,0.3) 6px),
              repeating-linear-gradient(90deg, transparent 0px, transparent 5px, rgba(0,0,0,0.25) 5px, rgba(0,0,0,0.25) 6px);
  animation: discoSpin 4s linear infinite;
}
.ball-1 { width: 90px; height: 90px; top: -20px; left: -10px; }
.ball-2 { width: 75px; height: 75px; top: -25px; left: 55px; }
.ball-3 { width: 110px; height: 110px; top: -30px; left: 110px; }
.ball-4 { width: 80px; height: 80px; top: -15px; left: 220px; }
.ball-5 { width: 65px; height: 65px; top: -10px; left: 295px; }

/* Background foto disco en section-fest */
#section-fest {
  position: relative;
}
.disco-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560987617-6de57e3d0574?fm=jpg&q=60&w=800&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  opacity: 0.18;
  filter: brightness(0.6);
  pointer-events: none;
}

/* Hero name */
.hero-name {
  font-family: 'Great Vibes', cursive;
  font-size: 8rem;
  color: transparent;
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  position: relative;
  margin-top: 1rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)) drop-shadow(0 0 40px rgba(255,255,255,0.3));
  animation: neonFlicker 2s ease-in-out infinite;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 0.5rem;
}

/* =============================================
   SECTION 2: LULI FEST (balloon letters + music player)
   ============================================= */
#section-fest {
  width: 100%;
  background: #050505;
  position: relative;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  min-height: 420px;
}

.fest-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--pink);
  text-align: center;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.fest-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg,
    #d4d4d4 0%,
    #ffffff 20%,
    #b8b8b8 45%,
    #888 70%,
    #c0c0c0 85%,
    #606060 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  margin-bottom: 2rem;
}

/* Music player */
.music-player {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 300px;
}

.player-hint {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  text-align: center;
  margin-bottom: 0.8rem;
}

.player-track-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1rem;
  color: var(--silver-light);
  text-align: center;
  margin-bottom: 0.6rem;
  overflow: hidden;
  white-space: nowrap;
}

.progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.1s linear;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--silver);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.3rem;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}
.ctrl-btn:hover { color: white; transform: scale(1.1); }

.play-btn {
  width: 44px;
  height: 44px;
  background: var(--pink);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(255,255,255,0.35); }

/* =============================================
   SECTION 3: QUOTE + POLAROIDS
   ============================================= */
#section-quote {
  width: 100%;
  background: #080808;
  min-height: 460px;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}

.quote-text {
  flex: 1;
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--pink);
  line-height: 1.8;
  max-width: 55%;
}
.quote-ref {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: var(--neon-white);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.polaroids-stack {
  flex: 1;
  position: relative;
  height: 300px;
}

.polaroid {
  position: absolute;
  background: var(--neon-white);
  padding: 8px 8px 30px 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  width: 130px;
}
.polaroid img, .polaroid .polaroid-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: fill;
  display: block;
  background: #333;
}
.polaroid-placeholder {
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
}

/* Black and white filter for polaroids */
.polaroid img { filter: grayscale(100%) contrast(1.05); }

.polaroid-1 { top: 0; right: 10px; transform: rotate(25deg); }
.polaroid-2 { top: 140px; right: 20px; transform: rotate(-15deg); }

/* =============================================
   SECTION 4: DATE
   ============================================= */
#section-date {
  width: 100%;
  background: #060606;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.date-month {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--neon-white);
  margin-bottom: 0.8rem;
}

.date-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.date-day-label, .date-time-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  display: flex;
  align-items: center;
}

.date-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--pink);
  line-height: 1;
  position: relative;
}
.date-number::before,
.date-number::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--silver-dark);
}
.date-number::before { top: -14px; transform: translateX(-50%); }
.date-number::after  { bottom: -14px; transform: translateX(-50%); }

.date-lines {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.date-line-v {
  width: 1px;
  height: 80px;
  background: var(--neon-white);
}

.date-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--neon-white);
  margin-top: 1rem;
}

/* =============================================
   SECTION 5: COUNTDOWN
   ============================================= */
#section-countdown {
  width: 100%;
  background: #080808;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.faltan-text {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: var(--pink);
  display: block;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.count-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 200;
  color: var(--pink);
  line-height: 1;
  min-width: 60px;
}
.count-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-white);
  margin-top: 0.3rem;
}
.count-separator {
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 1rem;
}

/* =============================================
   SECTION 6: VENUE
   ============================================= */
#section-venue {
  width: 100%;
  background: #060606;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.venue-photo {
  width: 130px;
  flex-shrink: 0;
}
.venue-photo img, .venue-photo-placeholder {
  width: 130px;
  height: 130px;
  object-fit: fill;
  display: block;
  background: #222;
  border-radius: 4px;
}
.venue-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 3rem;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 4px;
}

.venue-info { flex: 1; }

.venue-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.venue-label {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--pink);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.venue-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: var(--neon-white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.location-btn {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--pink);
  border-radius: 20px;
  color: var(--neon-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
}
.location-btn:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* Disco balls decoration in venue section */
.section-deco-ball {
  position: absolute;
  opacity: 0.3;
  pointer-events: none;
}

/* =============================================
   SECTION 7: DRESS CODE
   ============================================= */
#section-dresscode {
  width: 100%;
  background: #080808;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.section-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-handwritten {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  color: var(--pink);
  margin-bottom: 0.3rem;
}

.section-caps {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--neon-white);
}

/* =============================================
   SECTION 8: GIFT
   ============================================= */
#section-gift {
  width: 100%;
  background: #060606;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gift-handwritten {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--pink);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.gift-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--silver-light);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.gift-alias {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--silver-light);
}

/* =============================================
   SECTION 9: CONFIRMATION
   ============================================= */
#section-confirm {
  width: 100%;
  background: #0a0a0a;
  min-height: 300px;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dark texture bg for confirmation */
#section-confirm::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.02) 0%, transparent 50%);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.confirm-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  color: var(--pink);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.confirm-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--neon-white);
  line-height: 1.7;
  margin-bottom: .5rem;
  padding: 0 1rem;
}

.confirm-btn {
  display: inline-block;
  padding: 0.7rem 3rem;
  background: linear-gradient(145deg, var(--pink) 0%, var(--pink) 100%);
  border-radius: 30px;
  color: var(--neon-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 0.8rem;
  display: block;
  max-width: 200px;
  margin: 0 auto 1rem;
}
.confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.confirm-hint {
  font-size: 0.6rem;
  color: var(--neon-white);
  letter-spacing: 0.08em;
}

/* ---- Section Divider ---- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--neon-white);
  margin: 1.5rem auto;
  opacity: 0.4;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes shimmerPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes discoSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes discoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 1; transform: scale(1); }
}
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)) drop-shadow(0 0 40px rgba(255,255,255,0.3));
  }
  20%, 24%, 55% {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
  }
}
@keyframes lightBeam {
  0%, 100% { opacity: 0; transform: translate(0,0) scale(1); }
  50%       { opacity: 1; transform: translate(15px, 20px) scale(1.5); }
}
@keyframes smokeRise {
  0%   { transform: translateY(0) scaleX(1); opacity: 0.25; }
  50%  { transform: translateY(-30px) scaleX(1.3); opacity: 0.15; }
  100% { transform: translateY(-60px) scaleX(1); opacity: 0; }
}
@keyframes scroll-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 420px) {
  :root { --card-width: 100vw; }
  .fest-title { font-size: 2.8rem; }
  .hero-name { font-size: 6rem; }
  .date-number { font-size: 4rem; }
}


.mtb-auto {
  margin-top: auto;
  margin-bottom: auto;
}

label.error {
  font-size: .6rem;
  color: #eb5653;
}

.alert-success {
  background-color: var(--pink); 
  color: var(--black-3)
}

#btn-confirm {
  color: var(--black-3)
}