/* ==============================================================================
   LUXURY BABY SHOWER & GODH BHARAI INVITATION STYLESHEET
   Whimsical Modern Luxury, Soft Pastel Hues & Mobile-First 9:16 Design
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Courgette&family=Nunito:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Quicksand:wght@400;500;600;700&family=Rozha+One&family=Tiro+Devanagari+Hindi:ital@0;1&family=Poppins:wght@400;500;600;700&display=swap');

/* ==============================================================================
   HINDI BILINGUAL TYPOGRAPHY (Royal Devanagari Styling)
   ============================================================================== */
body.lang-hi {
  font-family: 'Poppins', 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', 'Mangal', sans-serif !important;
}

body.lang-hi .heading-title,
body.lang-hi .serif-title,
body.lang-hi .script-heading,
body.lang-hi .hero-title,
body.lang-hi .shloka-header,
body.lang-hi .newspaper-title,
body.lang-hi .newspaper-headline {
  font-family: 'Rozha One', 'Tiro Devanagari Hindi', serif !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.38;
}

body.lang-hi .hero-tagline,
body.lang-hi .section-eyebrow,
body.lang-hi .timeline-card-tag {
  letter-spacing: 0.8px;
  font-family: 'Poppins', 'Tiro Devanagari Hindi', sans-serif;
  font-weight: 600;
}

body.lang-hi .shloka-desc,
body.lang-hi .story-desc,
body.lang-hi .newspaper-columns-grid,
body.lang-hi p {
  line-height: 1.65;
}

:root {
  /* Bespoke Porcelain Blue & French Toile Luxury Palette */
  --color-porcelain-blue: #739ac5;
  --color-powder-blue: #b4d2f0;
  --color-ivory-white: #fafafc;
  --color-navy-accent: #2c4a70;
  --color-champagne-gold: #d4af37;
  --color-wood-natural: #c2a68c;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", sans-serif;

  /* Shadows & Radius */
  --shadow-soft: 0 10px 30px rgba(44, 74, 112, 0.08);
  --radius-card: 16px;

  /* Default Theme Tokens */
  --bg-ivory: #fafafc;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-tint: #f3f7fc;
  --baby-pink: #F5DADB;
  --baby-blue: #b4d2f0;
  --rose-accent: #739ac5;
  --rose-dark: #2c4a70;
  --terracotta: #739ac5;
  --terracotta-dark: #2c4a70;
  --gold-brass: #d4af37;
  --gold-primary: #d4af37;
  --gold-dark: #B58A42;
  --gold-light: #FDF1D8;
  --gold-shimmer: linear-gradient(135deg, #FFFFFF 0%, #d4af37 35%, #b4d2f0 65%, #2c4a70 100%);
  --maroon-seal: #2c4a70;
  --baby-seal: #739ac5;
  --baby-seal-dark: #2c4a70;
  --espresso-text: #2c4a70;
  --text-primary: #2c4a70;
  --text-muted: #5e7696;
  --text-gold: #B58A42;
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-strong: rgba(212, 175, 55, 0.75);
  --shadow-card: 0 12px 35px -5px rgba(44, 74, 112, 0.12), 0 4px 16px rgba(44, 74, 112, 0.04);
  --shadow-seal: 0 8px 25px rgba(115, 154, 197, 0.45);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Nunito', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cursive: 'Quicksand', sans-serif;
  --font-script: 'Courgette', 'Caveat', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-ivory);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

body.scroll-locked {
  overflow: hidden;
  height: 100vh;
}

/* ==============================================================================
   DESKTOP STAGE & STRICT 9:16 VERTICAL MOBILE CONTAINER
   ============================================================================== */
.desktop-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-ivory-white);
  padding: 0;
}

.mobile-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--color-ivory-white);
  position: relative;
  box-shadow: 0 0 40px rgba(44, 74, 112, 0.10);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Responsive Desktop Staging: Clean vertical invitation layout starting flush from top */
@media (min-width: 600px) {
  body.baby-shower-theme {
    background: radial-gradient(ellipse at 50% 0%, #EAF1FA 0%, #DCE7F5 60%, #CAD9EB 100%) !important;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
  }

  .desktop-stage {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mobile-wrapper {
    max-width: 460px;
    margin: 0 auto;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 0 50px rgba(44, 74, 112, 0.15);
  }

  .floating-top-bar {
    max-width: 430px !important;
    top: 14px !important;
  }
}

/* ==============================================================================
   FLOATING TOP CONTROL BAR (Audio & Bilingual Switcher)
   ============================================================================== */
.floating-top-bar {
  position: fixed;
  top: 14px;
  max-width: 452px;
  width: calc(100% - 28px);
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: all 0.4s ease;
}

.floating-btn {
  pointer-events: auto;
  min-height: 38px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 18px rgba(52, 46, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--espresso-text);
  font-family: var(--font-cursive);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 16px;
  gap: 6px;
  transition: all 0.25s ease;
}

.floating-btn.circle-btn {
  width: 40px;
  height: 40px;
  padding: 0;
}

.floating-btn:hover {
  transform: scale(1.06);
  background: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.22);
}

.music-btn.playing svg {
  animation: spinSlow 8s linear infinite;
  color: var(--gold-dark);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==============================================================================
   ANIMATION 1 & 2: GIFT BOX UNWRAP -> VIDEO -> CELESTIAL NAMES REVEAL
   ============================================================================== */
.video-opening-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-color: var(--bg-ivory);
  overflow: hidden;
  z-index: 50;
}

#openingEnvelopeVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 95px;
}

.video-tap-overlay.opening-active {
  opacity: 0;
  pointer-events: none;
}

.tap-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-shimmer);
  color: #342E29;
  font-family: var(--font-cursive);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
  animation: pulseGlowBaby 2.6s ease-in-out infinite;
}

@keyframes pulseGlowBaby {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35); }
  50% { transform: scale(1.04); box-shadow: 0 12px 36px rgba(212, 175, 55, 0.6); }
}

.video-endscreen-reveal {
  position: absolute;
  inset: 0;
  z-index: 70;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
}

.video-endscreen-reveal.active {
  opacity: 1;
  pointer-events: auto;
}

#lightTrailCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1) 0.35s, transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.35s;
}

.video-endscreen-reveal.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-ceremony-badge {
  display: inline-block;
  font-family: var(--font-cursive);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-gold);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 14px rgba(44, 74, 112, 0.06);
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-cursive);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 6px;
}

.hero-parents-names {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--espresso-text);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: 46px;
  color: var(--rose-accent);
  font-weight: normal;
  display: inline-block;
  margin: 0 6px;
}

.hero-baby-tag {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--gold-dark);
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.8);
}

.hero-welcome-msg {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--espresso-text);
  max-width: 320px;
  margin: 0 auto 24px auto;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-gold);
  font-family: var(--font-cursive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 20px rgba(44, 74, 112, 0.1);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.scroll-hint:hover,
.scroll-hint:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.scroll-chevron-bounce {
  animation: bounceSlow 1.8s infinite ease-in-out;
  display: inline-flex;
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==============================================================================
   ORNATE CARD CONTAINER & BABY SHOWER TYPOGRAPHY
   ============================================================================== */
.section-container {
  width: 100%;
  padding: 36px 18px;
  position: relative;
}

.ornate-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--border-gold);
  border-radius: 30px;
  padding: 34px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
}

.ornate-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 24px;
  pointer-events: none;
}

.ornate-card.gold-highlight {
  border-color: var(--gold-primary);
  box-shadow: 0 14px 42px rgba(212, 175, 55, 0.18);
}

.script-heading {
  font-family: var(--font-script);
  font-size: 44px;
  color: var(--rose-accent);
  line-height: 1.15;
  font-weight: normal;
  margin-bottom: 6px;
}

.serif-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--espresso-text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.section-eyebrow {
  font-family: var(--font-cursive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-gold);
  display: block;
  margin-bottom: 6px;
}

.gold-divider {
  color: var(--gold-primary);
  font-size: 13px;
  letter-spacing: 6px;
  margin: 14px 0;
}

/* ==============================================================================
   TRADITIONAL GODH BHARAI BLESSING & LINEAGE CARD
   ============================================================================== */
.ganesha-header-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ganesha-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shloka-header {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.shloka-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 12px;
}

.lineage-block {
  background: var(--bg-card-tint);
  border-radius: 20px;
  padding: 16px 18px;
  margin: 16px 0;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.lineage-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.lineage-text strong {
  color: var(--espresso-text);
  font-weight: 600;
}

/* ==============================================================================
   ANIMATION 4: CANVAS "SCRATCH TO REVEAL" GOLD FOIL CARD
   ============================================================================== */
.pure-heart-stage, .save-date-scratch-stage {
  position: relative;
  width: 290px;
  max-width: 100%;
  height: 310px;
  margin: 18px auto 10px;
  filter: drop-shadow(0 12px 28px rgba(44, 74, 112, 0.16));
}

.save-date-scratch-stage.baby-onesie-stage .revealed-save-date-card,
.save-date-scratch-stage.baby-onesie-stage #scratchCanvas {
  clip-path: url(#babyOnesieClip);
  -webkit-clip-path: url(#babyOnesieClip);
  border-radius: 0;
  border: none;
}

.revealed-heart-card, .revealed-save-date-card {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F5F9FD 70%, #E8F2FA 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px 14px;
}

.revealed-big-date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: translateY(-4px);
}

.date-huge-number {
  font-family: var(--font-heading);
  font-size: 80px;
  line-height: 0.95;
  font-weight: 800;
  color: var(--color-navy-accent);
  letter-spacing: -2px;
  text-shadow: 0 4px 12px rgba(44, 74, 112, 0.12);
}

.date-huge-month {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-champagne-gold);
  letter-spacing: 4px;
  margin-bottom: 2px;
}

.date-huge-day {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-porcelain-blue);
  letter-spacing: 2px;
  margin-top: 4px;
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  z-index: 10;
}

/* ==============================================================================
   ANIMATION 5: LIVE COUNTDOWN TIMER & CONFETTI BURST
   ============================================================================== */
.countdown-section {
  position: relative;
  overflow: hidden;
}

#confettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.countdown-box {
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 12px 6px;
  text-align: center;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-family: var(--font-cursive);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* ==============================================================================
   ANIMATION 6: PARENTS' BUMP JOURNEY STORY CAROUSEL
   ============================================================================== */
.story-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 26px;
  margin-top: 14px;
}

.story-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.story-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.story-card-inner {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(44, 74, 112, 0.08);
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px 14px;
  box-sizing: border-box;
}

.story-header-stack {
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.story-badge {
  display: inline-block;
  font-family: var(--font-cursive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-navy-accent, #2c4a70);
  background: rgba(180, 210, 240, 0.45);
  border: 1px solid var(--color-porcelain-blue, #739ac5);
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.story-title {
  font-family: var(--font-heading, var(--font-serif));
  font-size: 17px;
  font-weight: 700;
  color: var(--espresso-text);
  line-height: 1.3;
  margin: 0;
  padding: 0 4px;
}

.story-photo-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: var(--bg-card-tint);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.04);
  aspect-ratio: 4 / 5;
  display: flex;
}

.story-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.story-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  gap: 8px;
}

.story-note {
  font-size: 12px;
  color: var(--text-gold);
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-like-btn {
  background: var(--bg-card-tint);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  padding: 5px 14px;
  font-family: var(--font-cursive);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--rose-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.story-like-btn:hover {
  background: #FFF;
  transform: scale(1.04);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  color: var(--espresso-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--bg-card-tint);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold-primary);
}

/* ==============================================================================
   ANIMATION 7: WINDING SVG GOLDEN THREAD TIMELINE (Itinerary)
   ============================================================================== */
.timeline-wrapper {
  position: relative;
  padding-left: 28px;
  margin-top: 22px;
}

.timeline-svg-container {
  position: absolute;
  top: 0;
  left: 8px;
  bottom: 0;
  width: 30px;
  pointer-events: none;
}

#timelineSvg {
  width: 100%;
  height: 100%;
}

.timeline-path-bg {
  fill: none;
  stroke: rgba(212, 175, 55, 0.25);
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
}

.timeline-path-active {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

#timelineMarker {
  position: absolute;
  left: 14px;
  top: 0;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  background: var(--rose-accent);
  border: 2px solid #FFF;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(223, 155, 164, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 11px;
  z-index: 10;
  transition: top 0.15s linear;
}

.timeline-card {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(52, 46, 41, 0.04);
  text-align: left;
  position: relative;
}

.timeline-card-tag {
  display: inline-block;
  font-family: var(--font-cursive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rose-accent);
  margin-bottom: 6px;
}

.timeline-card-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--espresso-text);
  margin-bottom: 12px;
}

.event-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--bg-card-tint);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--espresso-text);
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-icon {
  color: var(--gold-dark);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.event-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.action-cta-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--font-cursive);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-cta-btn.primary {
  background: var(--espresso-text);
  color: #FFF;
  border: none;
}

.action-cta-btn.primary:hover {
  background: var(--gold-primary);
  color: #342E29;
}

.action-cta-btn.secondary {
  background: var(--bg-card-tint);
  color: var(--espresso-text);
  border: 1px solid var(--border-gold);
}

.action-cta-btn.secondary:hover {
  background: #FFF;
}

.svg-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.action-cta-btn:active,
.poll-btn:active,
.shagun-item-btn:active,
.potion-ingredient-btn:active {
  transform: scale(0.97);
}

/* ==============================================================================
   INTERACTIVE GAME ARCADE & BABY PREDICTION MODULES
   ============================================================================== */
.game-arcade-section {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, rgba(247, 239, 232, 0.45) 50%, var(--bg-ivory) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

/* Module: Boy vs Girl Poll */
.poll-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
  width: 100%;
}

.poll-btn {
  width: 100%;
  border-radius: 20px;
  padding: 14px 18px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.poll-btn.boy-team {
  background: #E2ECE9;
  border-color: rgba(136, 179, 186, 0.5);
}

.poll-btn.boy-team:hover {
  border-color: #88B3BA;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(136, 179, 186, 0.3);
}

.poll-btn.girl-team {
  background: #F9E8EB;
  border-color: rgba(223, 155, 164, 0.5);
}

.poll-btn.girl-team:hover {
  border-color: #DF9BA4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 155, 164, 0.3);
}

.poll-meter-wrap {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 14px;
}

.poll-progress-bar {
  height: 18px;
  border-radius: 9999px;
  overflow: hidden;
  display: flex;
  background: #EAE3D2;
  margin: 8px 0 4px;
}

.boy-fill {
  background: #88B3BA;
  height: 100%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.girl-fill {
  background: #DF9BA4;
  height: 100%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Module: Interactive Duty Wheel Roulette Component */
.duty-roulette-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.duty-wheel-stage {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 12px auto 14px;
}

.duty-wheel-pointer-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.duty-wheel-disc {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  background: #FFF;
  overflow: hidden;
}

#dutyWheelCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.roulette-result-box {
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--espresso-text);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.roulette-result-box.revealed {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF0E4 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

/* Trivia Buttons */
.trivia-choice-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  color: var(--espresso-text);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  width: 100%;
}

.trivia-choice-btn:hover {
  background: #FFF;
  border-color: var(--gold-primary);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.22);
}

.trivia-choice-btn:active {
  transform: scale(0.98);
}

/* Module: Baby's Personality Potion Brewer with Canvas Liquid Physics */
.potion-stage-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  width: 100%;
}

.potion-bottle-canvas-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.potion-ingredients-shelf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.potion-ingredient-btn {
  width: 100%;
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  border-radius: 16px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  transition: all 0.2s ease;
}

.potion-ingredient-btn:hover {
  background: #FFF;
  border-color: var(--gold-primary);
  transform: scale(1.02);
}

.potion-bottle-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px;
  border-radius: 22px;
  border: 1.5px solid var(--border-gold);
}

.bottle-cork {
  width: 34px;
  height: 12px;
  background: linear-gradient(180deg, #E6CA65 0%, #D4AF37 50%, #987B1E 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bottle-neck {
  width: 22px;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 2px solid var(--gold-brass);
  border-right: 2px solid var(--gold-brass);
  position: relative;
}

.bottle-flask {
  width: 96px;
  height: 126px;
  border: 2.5px solid var(--gold-brass);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(212, 175, 55, 0.18), 0 8px 24px rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#potionCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 26px;
}

/* Cute 100% Brewed Bottle Celebration State */
@keyframes cuteBottlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(255, 182, 193, 0.7), 0 0 50px rgba(180, 210, 240, 0.5);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(255, 182, 193, 0.9), 0 0 65px rgba(212, 175, 55, 0.6);
  }
}

.potion-bottle-display.cute-brewed-100 {
  background: radial-gradient(circle, #FFFFFF 0%, #FFF5F7 100%);
  border-color: #F4A6B2;
  animation: cuteBottlePulse 2.4s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cute-brewed-100 .bottle-flask {
  border-color: #E89BA8;
  box-shadow: inset 0 0 20px rgba(255, 192, 203, 0.35), 0 10px 28px rgba(244, 166, 178, 0.3);
}

/* Cute Satin Ribbon Bow on Bottle Neck */
.cute-brewed-100 .bottle-neck::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cpath d='M32 20 C24 8 8 6 8 20 C8 32 24 28 32 20 Z' fill='%23F4A6B2' stroke='%23D47888' stroke-width='2'/%3E%3Cpath d='M32 20 C40 8 56 6 56 20 C56 32 40 28 32 20 Z' fill='%23F4A6B2' stroke='%23D47888' stroke-width='2'/%3E%3Cpath d='M28 20 Q20 34 16 38' stroke='%23D47888' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M36 20 Q44 34 48 38' stroke='%23D47888' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='20' r='5' fill='%23D4AF37' stroke='%23B89528' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 25;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

#potionBottlePercent.cute-brewed-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFF0F4 0%, #F0F6FF 100%);
  border: 1.5px solid #F4A6B2;
  border-radius: 9999px;
  padding: 5px 14px;
  color: #B23B5B !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(244, 166, 178, 0.35);
  animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Module: Virtual Godh Bharai Blessing Thal */
.shagun-thal-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 14px 0;
}

.shagun-item-btn {
  width: 100%;
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.shagun-item-btn:hover, .shagun-item-btn.offered {
  background: #FFF;
  border-color: var(--gold-primary);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* On-Screen Particle Canvas for Thal Blessings */
#thalFxCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* Time-Vault Cinematic Modal Overlay */
#timeVaultFxOverlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 22, 0.78);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#timeVaultFxOverlay.active {
  pointer-events: auto;
  opacity: 1;
}

.vault-overlay-modal {
  background: #FFFDF8;
  border: 2px solid var(--gold-primary);
  border-radius: 28px;
  padding: 28px 22px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#timeVaultFxOverlay.active .vault-overlay-modal {
  transform: scale(1);
}

.vault-stamp-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #D94E4E 0%, #9E2A2B 70%, #5E1214 100%);
  border: 3px solid #D4AF37;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 0 24px rgba(217, 78, 78, 0.6);
  animation: stampImpactDrop 0.65s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes stampImpactDrop {
  0% { transform: scale(2.2) translateY(-60px); opacity: 0; }
  60% { transform: scale(0.9) translateY(0); opacity: 1; }
  80% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ==============================================================================
   BUTTON MICRO-ANIMATIONS & INTERACTIVE DELIGHT
   ============================================================================== */
/* 1. Team Boy Prince Teddy Jiggle */
@keyframes jiggleTeddy {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-10deg) scale(1.08); }
  40% { transform: rotate(8deg) scale(1.08); }
  60% { transform: rotate(-6deg) scale(1.05); }
  80% { transform: rotate(4deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}

.poll-btn.boy-team:hover .svg-icon-prince-teddy,
.poll-btn.boy-team:active .svg-icon-prince-teddy {
  animation: jiggleTeddy 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Team Girl Princess Bow Flutter */
@keyframes flutterBow {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.12, 0.92) rotate(-6deg); }
  60% { transform: scale(0.92, 1.1) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.poll-btn.girl-team:hover .svg-icon-princess-bow,
.poll-btn.girl-team:active .svg-icon-princess-bow {
  animation: flutterBow 0.7s ease-in-out;
}

/* 3. Drop into Name Jar Slip */
@keyframes dropIntoJar {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-6px) scale(1.08); }
  75% { transform: translateY(5px) scale(0.96); }
  100% { transform: translateY(0) scale(1); }
}

.btn-name-jar:hover .svg-btn-icon,
.btn-name-jar:active .svg-btn-icon {
  animation: dropIntoJar 0.55s ease-in-out;
}

/* 4. Baby Pram Roll for Stats */
@keyframes rollPram {
  0% { transform: translateX(0) rotate(0deg); }
  35% { transform: translateX(4px) rotate(2deg); }
  70% { transform: translateX(-3px) rotate(-2deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.btn-stats-lock:hover .svg-btn-icon,
.btn-stats-lock:active .svg-btn-icon {
  animation: rollPram 0.7s ease-in-out;
}

/* 5. 3 AM Coffee Steam Rise */
@keyframes steamFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-4px) scale(1.1); opacity: 1; }
  100% { transform: translateY(-7px) scale(1); opacity: 0.6; }
}

.btn-tip-share:hover .svg-btn-icon,
.btn-tip-share:active .svg-btn-icon {
  animation: steamFloat 0.75s ease-in-out infinite alternate;
}

/* 6. First Word Rattle Shake */
@keyframes rattleShake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-14deg) scale(1.08); }
  50% { transform: rotate(12deg) scale(1.08); }
  75% { transform: rotate(-8deg) scale(1.04); }
  100% { transform: rotate(0deg) scale(1); }
}

.first-word-btn:hover .svg-btn-icon,
.first-word-btn:active .svg-btn-icon {
  animation: rattleShake 0.5s ease-in-out;
}

/* 7. Duty Wheel Spin */
@keyframes spinWheelFast {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-spin-wheel:hover .svg-btn-icon,
.btn-spin-wheel.spinning .svg-btn-icon {
  animation: spinWheelFast 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) infinite;
}

/* 8. Potion Ingredient Elixir Drip */
@keyframes dropDrip {
  0% { transform: scale(1) translateY(0); }
  35% { transform: scale(0.88, 1.25) translateY(4px); }
  70% { transform: scale(1.12, 0.9) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

.potion-ingredient-btn:hover .svg-potion-drop,
.potion-ingredient-btn:active .svg-potion-drop {
  animation: dropDrip 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 9. Shagun Thal Item 3D Elevation */
@keyframes thalOfferingLift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}

.shagun-item-btn:hover .svg-thal-icon,
.shagun-item-btn.offered .svg-thal-icon {
  animation: thalOfferingLift 0.6s ease-in-out;
}

/* 10. Wax Seal Tactile Impact */
@keyframes stampPressTactile {
  0% { transform: scale(1); }
  40% { transform: scale(0.94) translateY(2px); }
  75% { transform: scale(1.06) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

.btn-wax-seal:hover .svg-btn-icon,
.btn-wax-seal:active .svg-btn-icon {
  animation: stampPressTactile 0.5s ease-in-out;
}

/* 11. WhatsApp Radar Beat */
@keyframes whatsappBeat {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(30, 107, 71, 0.28); }
  50% { transform: scale(1.02); box-shadow: 0 12px 32px rgba(30, 107, 71, 0.45); }
}

.whatsapp-submit-btn {
  animation: whatsappBeat 2.6s ease-in-out infinite;
}

.whatsapp-submit-btn:active {
  transform: scale(0.97);
}

/* 12. Wishing Wall Star Post Twinkle */
@keyframes starPostTwinkle {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(18deg); filter: drop-shadow(0 0 6px #F9D066); }
  100% { transform: scale(1) rotate(0deg); }
}

.btn-wish-post:hover .svg-btn-icon,
.btn-wish-post:active .svg-btn-icon {
  animation: starPostTwinkle 0.6s ease-in-out;
}

.action-pill-btn:active {
  transform: scale(0.95);
}

/* ==============================================================================
   ANIMATION 9: THEME-STYLED RSVP GUESTBOOK & WHATSAPP ENGINE
   ============================================================================== */
.rsvp-form {
  margin-top: 24px;
  text-align: left;
}

.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--espresso-text);
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group label {
  display: block;
  font-family: var(--font-cursive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.rsvp-summary-preview {
  background: var(--bg-card-tint);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 14px;
  margin: 16px 0;
  max-height: 180px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.55;
  color: var(--espresso-text);
  white-space: pre-wrap;
}

.whatsapp-submit-btn {
  width: 100%;
  padding: 16px;
  background: #1E6B47;
  color: #FFF;
  border: none;
  border-radius: 18px;
  font-family: var(--font-cursive);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(30, 107, 71, 0.28);
  transition: all 0.25s ease;
}

.whatsapp-submit-btn:hover {
  background: #175437;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 107, 71, 0.38);
}

.quick-actions-bar {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.action-pill-btn {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 9999px;
  padding: 10px 16px;
  font-family: var(--font-cursive);
  font-size: 12px;
  font-weight: 700;
  color: var(--espresso-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  gap: 8px;
  transition: all 0.2s ease;
}

.action-pill-btn:hover {
  background: var(--bg-card-tint);
}

/* ==============================================================================
   FOOTER & FLOATING TOAST NOTIFICATION
   ============================================================================== */
.invitation-footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-gold);
  background: var(--bg-ivory);
}

.footer-hashtag {
  font-family: var(--font-cursive);
  font-size: 20px;
  font-weight: 700;
  color: var(--rose-accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.footer-credits {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-creator {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.footer-creator a {
  color: var(--color-navy-accent, #2c4a70);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-creator a:hover {
  color: var(--color-porcelain-blue, #739ac5);
}

#toastBox {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  background: rgba(52, 46, 41, 0.94);
  backdrop-filter: blur(12px);
  color: #FAF7F2;
  border: 1.5px solid var(--gold-primary);
  border-radius: 9999px;
  padding: 12px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  max-width: 90vw;
  text-align: center;
}

#toastBox.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==============================================================================
   USER SPECIFIED THEME CLASSES & LUXURY DECOR AESTHETIC
   ============================================================================== */
.baby-shower-theme {
  background-color: var(--color-ivory-white);
  color: var(--color-navy-accent);
  font-family: var(--font-body);
}

.decor-card {
  background: radial-gradient(circle at top left, #ffffff 0%, #f3f7fc 100%);
  border: 1px solid var(--color-powder-blue);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-card);
}

.heading-title {
  font-family: var(--font-heading);
  color: var(--color-navy-accent);
  letter-spacing: 0.05em;
}

/* ==============================================================================
   DECOR OBJECTS & ATMOSPHERIC ANIMATIONS
   ============================================================================== */

/* 1. Overhead & Hanging Pergola Decor */
.overhead-pergola-wrap {
  position: relative;
  width: 100%;
  padding: 12px 16px 8px;
  background: linear-gradient(180deg, rgba(194, 166, 140, 0.22) 0%, rgba(250, 250, 252, 0) 100%);
  border-bottom: 1.5px dashed rgba(180, 210, 240, 0.6);
  margin-bottom: 20px;
  border-radius: 18px 18px 0 0;
}

.overhead-decor-stage {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  min-height: 78px;
}

.decor-hanging-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.decor-hanging-item:hover {
  transform: scale(1.08);
}

.decor-hanging-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-navy-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Floating Paper Lanterns */
@keyframes lanternFloat {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2.5deg); filter: drop-shadow(0 6px 14px rgba(180, 210, 240, 0.7)); }
  100% { transform: translateY(0) rotate(-2deg); }
}

.decor-lantern-anim {
  animation: lanternFloat 4.2s ease-in-out infinite;
}

/* Cascading Floral Garlands */
@keyframes garlandSway {
  0% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
  100% { transform: rotate(-2.5deg); }
}

.decor-garland-anim {
  animation: garlandSway 5.5s ease-in-out infinite;
  transform-origin: top center;
}

/* Patio Parasols */
@keyframes parasolBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}

.decor-parasol-anim {
  animation: parasolBob 6.2s ease-in-out infinite;
}

/* 2. Arched Welcome Backdrop Portal */
.toile-welcome-arch-portal {
  position: relative;
  padding: 34px 20px 24px;
  background: radial-gradient(circle at 50% 18%, #FFFFFF 0%, #F5F9FD 75%, #EBF3FA 100%);
  border: 2px solid var(--color-powder-blue);
  border-radius: 140px 140px var(--radius-card) var(--radius-card);
  box-shadow: 0 12px 36px rgba(44, 74, 112, 0.12), inset 0 0 0 2px rgba(212, 175, 55, 0.35);
  text-align: center;
  overflow: hidden;
  margin-bottom: 24px;
}

.arch-portal-keystone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.arch-side-flourish {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 3px 8px rgba(44, 74, 112, 0.12));
}

.arch-side-flourish.left {
  transform: rotate(-8deg);
}

.arch-side-flourish.right {
  transform: rotate(8deg);
}

/* 3. The Newborn Post Mini-Newspaper */
.newborn-post-card {
  border: 1.5px solid var(--color-powder-blue);
  box-shadow: var(--shadow-soft);
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.newborn-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(44, 74, 112, 0.12);
}

.newspaper-masthead {
  border-top: 2px solid var(--color-navy-accent);
  border-bottom: 2px solid var(--color-navy-accent);
  padding: 8px 0;
  text-align: center;
  margin-bottom: 8px;
}

.newspaper-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--color-navy-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.newspaper-meta-strip {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-porcelain-blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 0;
  border-top: 1px solid var(--color-powder-blue);
}

.newspaper-headline {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-navy-accent);
  line-height: 1.35;
  margin: 10px 0 8px;
}

.newspaper-columns-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--color-powder-blue);
  padding-top: 10px;
  margin-bottom: 12px;
}

.newspaper-box-feature {
  background: var(--color-ivory-white);
  border: 1px dashed var(--color-powder-blue);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
}

/* 4. Table Settings & Centerpiece Grid */
.table-decor-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 14px 0 16px;
  text-align: left;
}

.table-decor-badge {
  background: #FFFFFF;
  border: 1px solid var(--color-powder-blue);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(44, 74, 112, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.table-decor-badge:hover {
  transform: translateY(-2px);
  border-color: var(--color-porcelain-blue);
  box-shadow: 0 8px 20px rgba(44, 74, 112, 0.08);
}

.table-decor-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Scalloped Ribbon Menu Flutter */
@keyframes ribbonFlutter {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(3deg); }
}

.decor-menu-anim:hover {
  animation: ribbonFlutter 0.75s ease-in-out;
}

/* Pillar Candle Flickering Flame */
@keyframes candleFlicker {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12, 0.95); opacity: 0.85; }
}

.decor-candle-anim:hover {
  animation: candleFlicker 0.6s ease-in-out infinite;
}

/* 5. Antique Mirror, Bar Sign & Furniture Showcase */
.props-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}

.prop-card {
  background: #FFFFFF;
  border: 1px solid var(--color-powder-blue);
  border-radius: var(--radius-card);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 74, 112, 0.1);
}

.prop-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  display: block;
}

/* Antique Mirror Light Sheen Sweep */
@keyframes mirrorSheen {
  0% { transform: translateX(-100%) rotate(25deg); opacity: 0; }
  40% { opacity: 0.6; }
  100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
}

.gilded-mirror-card {
  position: relative;
  overflow: hidden;
}

.gilded-mirror-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.65) 50%, transparent 60%);
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
}

.gilded-mirror-card:hover::after,
.gilded-mirror-card:active::after {
  animation: mirrorSheen 1.1s ease-in-out;
}

/* Hanging Bar Scroll Sign Swinging Pendulum */
@keyframes barSignSway {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(4deg); }
  75% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

.bar-scroll-card {
  transform-origin: top center;
  transition: transform 0.3s ease;
}

.bar-scroll-card:hover,
.bar-scroll-card.swaying {
  animation: barSignSway 2.2s ease-in-out;
}

/* Plush Bunny Cute Wiggle */
@keyframes bunnyWiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg) scale(1.05); }
  50% { transform: rotate(6deg) scale(1.05); }
  75% { transform: rotate(-3deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}

.plush-bunny-card:hover,
.plush-bunny-card:active {
  animation: bunnyWiggle 0.65s ease-in-out;
}

/* Decorative Section Flourishes & Mascots */
.section-title-flourish-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
}

.flourish-vase {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(44, 74, 112, 0.15));
}

.flourish-vase.left {
  transform: rotate(-6deg);
}

.flourish-vase.right {
  transform: rotate(6deg);
}

.bunny-arcade-badge {
  position: absolute;
  right: 12px;
  top: -8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.25s ease;
}

.bunny-arcade-badge:hover {
  transform: scale(1.15) rotate(6deg);
}

@keyframes bunnyFloatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.bunny-float-anim {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(44, 74, 112, 0.14));
  animation: bunnyFloatAnim 3.8s ease-in-out infinite;
}

/* Duty Roulette Wheel Stage cursor and micro-interactions */
.duty-wheel-stage {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.duty-wheel-stage:hover {
  transform: scale(1.025);
  filter: drop-shadow(0 8px 22px rgba(212, 175, 55, 0.35));
}

.duty-wheel-stage:active {
  transform: scale(0.975);
}

/* THE NEWBORN POST INTERACTIVE FULL EDITION MODAL */
.newborn-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 36, 56, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.newborn-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.newborn-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 88vh;
  overflow-y: auto;
  background: #FCFAF6;
  border-radius: 18px;
  border: 2px solid var(--color-champagne-gold);
  box-shadow: 0 24px 60px rgba(10, 20, 35, 0.45);
  padding: 24px 18px 20px;
  transform: scale(0.9);
  transition: transform 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.25);
}

.newborn-modal-backdrop.active .newborn-modal-dialog {
  transform: scale(1);
}

.newborn-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--color-powder-blue);
  color: var(--color-navy-accent);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(44, 74, 112, 0.12);
  transition: all 0.2s ease;
}

.newborn-modal-close-btn:hover {
  background: var(--color-navy-accent);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.newspaper-full-page {
  text-align: left;
}

.newspaper-meta-top {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-navy-accent);
  border-bottom: 1px solid var(--color-powder-blue);
  padding-bottom: 4px;
  margin-bottom: 6px;
  text-align: center;
}

.newspaper-front-headline {
  text-align: center;
  margin: 12px 0 14px;
  border-bottom: 1.5px solid var(--color-navy-accent);
  padding-bottom: 10px;
}

.newspaper-front-headline h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-navy-accent);
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.newspaper-sub-headline {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-style: italic;
  color: var(--color-porcelain-blue);
  line-height: 1.4;
}

.newspaper-full-body-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newspaper-article-col h4 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-navy-accent);
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--color-powder-blue);
  padding-bottom: 4px;
}

.newspaper-article-col p {
  font-size: 12px;
  color: #334455;
  line-height: 1.55;
}

.newspaper-quote-box {
  background: radial-gradient(circle, #FFFFFF 0%, #F5F9FD 100%);
  border-left: 3px solid var(--color-champagne-gold);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-style: italic;
  color: var(--color-navy-accent);
  margin-top: 10px;
}

.quote-author {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: var(--color-porcelain-blue);
  margin-top: 4px;
  text-align: right;
}

.newspaper-side-widget {
  background: #FFFFFF;
  border: 1px solid var(--color-powder-blue);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.newspaper-side-widget h4 {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-navy-accent);
  margin-bottom: 4px;
}

.newspaper-side-widget p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.newspaper-modal-footer {
  text-align: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--color-powder-blue);
}

/* ==============================================================================
   BRAND WATERMARK OVERLAY
   ============================================================================== */
.brand-watermark-fab {
  position: fixed;
  bottom: 22px;
  left: max(14px, calc(50% - 215px));
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--gold-primary, #D4AF37);
  border-radius: 26px;
  box-shadow: 0 6px 20px rgba(44, 36, 29, 0.16), 0 2px 6px rgba(184, 93, 75, 0.10);
  color: #1B2A4A;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-watermark-fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(44, 36, 29, 0.24);
  border-color: #B58A42;
  color: #B58A42;
}

.brand-watermark-fab:active {
  transform: scale(0.96);
}

.brand-watermark-fab .watermark-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary, #D4AF37);
}

.brand-watermark-fab .watermark-pill-icon svg {
  display: block;
}

.brand-watermark-fab .watermark-pill-text {
  letter-spacing: 0.35px;
  color: #1B2A4A;
  font-weight: 700;
}

@media (max-width: 380px) {
  .brand-watermark-fab {
    bottom: 18px;
    left: max(10px, calc(50% - 215px));
    padding: 5.5px 9px;
    font-size: 9.5px;
    gap: 4px;
  }
  .brand-watermark-fab .watermark-pill-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media print {
  .brand-watermark-fab {
    display: inline-flex !important;
    bottom: 15mm !important;
    left: 15mm !important;
    box-shadow: none !important;
    border: 1px solid #D4AF37 !important;
    background: #FFFFFF !important;
  }
}
