/* ==========================================================================
   STARLIT GOLD FLORALS / MIDNIGHT NAVY & GOLD DESIGN SYSTEM
   Palette: Deep Navy (#131B32), Midnight Navy (#1C2438), Navy-Black (#1F2338)
            Bright Gold (#D4A438), Antique Bronze-Gold (#A87C2E), Copper Gold (#C08A3E)
   Text Theme: Soft Champagne Gold (#F0DCA8), Bright Gold (#D4A438), Soft Warm Gray-Gold (#D8D0BC)
   Buttons: Background #D4A438, Text #131B32
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Starlit Gold & Midnight Navy Luxury Palette */
  --color-deep-navy:        #131B32;   /* Primary background canvas */
  --color-midnight-navy:    #1C2438;   /* Background gradient / cards / shadows */
  --color-navy-black:       #1F2338;   /* Dark leaves, deep containers */

  --color-bright-gold:      #D4A438;   /* Flowers, main metallic highlight, button background */
  --color-bronze-gold:      #A87C2E;   /* Leaf veining, deeper gold tones, secondary accents */
  --color-copper-gold:      #C08A3E;   /* Berry clusters, warm accents */
  --color-champagne-gold:   #F0DCA8;   /* Primary heading text (soft champagne gold) */
  --color-body-gold:        #D8D0BC;   /* Body copy & paragraphs (soft warm gray-gold) */

  /* Legacy & Semantic Mapping */
  --color-base-white:       #131B32;   /* Primary canvas background */
  --color-powder-blue:      #1C2438;   /* Secondary navy background */
  --color-powder-blue-tint: #1F2338;   /* Dark navy-black tint */
  --color-powder-blue-soft: rgba(28, 36, 56, 0.85);

  --color-mogra-white:      #1C2438;   /* Card backgrounds & panels */
  --color-cream-white:      #1C2438;   /* Card backgrounds & panels */
  --color-cream-pure:       #F0DCA8;   /* Pristine champagne highlight */

  /* Text Color Theme — Crisp Luxe Contrast on Navy */
  --color-ink:              #D8D0BC;   /* Body copy — soft warm gray-gold */
  --color-heading-slate:    #F0DCA8;   /* Primary heading text — soft champagne gold */
  --color-heading-terra:    #F0DCA8;   /* Couple names / major headers — champagne gold */
  --color-ink-muted:        #D8D0BC;   /* Body paragraphs & details */
  --color-ink-light:        #C2B8A3;   /* Sub-captions & helper text */
  --color-ink-slate:        #D8D0BC;   /* Form inputs */

  /* Blossom & Petals (Mapped to Bright Gold metallic floral tones) */
  --color-peach:            #D4A438;   /* Bright Gold flowers */
  --color-peach-deep:       #A87C2E;   /* Hover / active gold */
  --color-peach-soft:       rgba(212, 164, 56, 0.2);
  --color-lotus-pink:       #D4A438;
  --color-lotus-pink-soft:  rgba(212, 164, 56, 0.2);

  /* Golden Metallic Highlights */
  --color-golden-amber:     #D4A438;   /* Bright Gold */
  --color-golden-amber-deep:#A87C2E;   /* Antique Bronze-Gold */
  --color-golden-amber-soft:rgba(212, 164, 56, 0.2);
  --color-marigold:         #D4A438;
  --color-marigold-deep:    #A87C2E;
  --color-marigold-soft:    rgba(212, 164, 56, 0.2);
  --color-lotus-gold:       #D4A438;
  --color-lotus-gold-deep:  #A87C2E;

  /* Botanical Accents & Leaf Veining (Bronze & Copper Gold) */
  --color-fresh-green:      #D4A438;   /* Gold dividers & accents */
  --color-fresh-green-deep: #A87C2E;
  --color-fresh-green-soft: rgba(212, 164, 56, 0.2);
  --color-leaf-green:       #A87C2E;
  --color-leaf-green-soft:  rgba(168, 124, 46, 0.2);

  /* Deep Grounding Tones */
  --color-warm-brown:       #D8D0BC;   /* Soft warm gray-gold text */
  --color-warm-brown-deep:  #F0DCA8;   /* Champagne gold */
  --color-wood-brown:       #A87C2E;
  --color-wood-brown-deep:  #7A5818;

  /* Primary Accent Token */
  --color-rani-pink:        #D4A438;   /* Bright gold accent */
  --color-rani-pink-deep:   #A87C2E;
  --color-rani-pink-soft:   rgba(212, 164, 56, 0.2);

  /* Shadows & Radiant Metallic Glows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 22px rgba(212, 164, 56, 0.12);
  --shadow-glow-marigold: 0 0 26px rgba(212, 164, 56, 0.5);
  --shadow-glow-pink: 0 0 26px rgba(212, 164, 56, 0.45);
  --shadow-diya: 0 0 16px rgba(212, 164, 56, 0.8), 0 0 28px rgba(192, 138, 62, 0.5);

  /* Typography */
  --font-script: 'Alex Brush', 'Italianno', 'Cormorant Upright', cursive;
  --font-couple: 'Alex Brush', 'Italianno', 'Cormorant Upright', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-width: 1160px;
  --container-narrow: 840px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE RULES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Remove default browser blue outline / highlight box on click/tap */
*:focus {
  outline: none;
}

*:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-base-white);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

button:focus,
button:active,
a:focus,
a:active,
input:focus,
textarea:focus,
select:focus,
[role="button"]:focus,
[role="tab"]:focus,
[tabindex]:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Luxury theme keyboard focus indicator (only for keyboard navigation, not mouse/touch clicks) */
:focus-visible {
  outline: 2px solid var(--color-bright-gold, #D4A438) !important;
  outline-offset: 3px !important;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   -------------------------------------------------------------------------- */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.section-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 0.65rem;
  padding: 0.35rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(28, 36, 56, 0.92);
  border: 1px solid rgba(212, 164, 56, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "•";
  color: var(--color-bright-gold);
  font-size: 1.1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-champagne-gold);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 164, 56, 0.25);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-body-gold);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

/* --------------------------------------------------------------------------
   5. ORNAMENTAL ELEMENTS & DIVIDERS
   -------------------------------------------------------------------------- */
.garland-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 320px;
}

.garland-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-bronze-gold),
    var(--color-bright-gold),
    var(--color-bronze-gold),
    transparent
  );
}

.lotus-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bright-gold);
  filter: drop-shadow(0 2px 6px rgba(212, 164, 56, 0.4));
  animation: lotusPulse 4s ease-in-out infinite alternate;
}

@keyframes lotusPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.shree-ganesh {
  text-align: center;
  margin-bottom: 0.75rem;
}

.ganesh-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(212, 164, 56, 0.5));
}

.shloka-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-bright-gold);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   6. LIGHT GOLDEN PARTICLES & TINY FALLING STARS ANIMATION
   -------------------------------------------------------------------------- */
.golden-stardust-container {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 95;
  overflow: hidden;
  contain: strict;
}

.stardust-particle {
  position: absolute;
  top: -35px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: stardustFall linear infinite;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stardust-particle svg {
  display: block;
  filter: drop-shadow(0 0 3px rgba(212, 164, 56, 0.7));
  animation: stardustTwinkle 3s ease-in-out infinite alternate;
}

/* Round luminous glowing gold bokeh particle */
.stardust-dot {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF6D6 0%, #F0DCA8 35%, #D4A438 75%, rgba(212, 164, 56, 0) 100%);
  box-shadow: 0 0 6px rgba(212, 164, 56, 0.75);
  animation: stardustTwinkle 2.5s ease-in-out infinite alternate;
}

/* Diamond sparkle */
.stardust-diamond {
  background: #F0DCA8;
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(212, 164, 56, 0.75);
  animation: stardustTwinkle 2.2s ease-in-out infinite alternate;
}

@media (max-width: 767px) {
  .stardust-particle svg {
    filter: none;
    animation: none;
  }
  .stardust-dot,
  .stardust-diamond {
    animation: none;
    box-shadow: 0 0 4px rgba(212, 164, 56, 0.6);
  }
}

@keyframes stardustFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.95;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translate3d(var(--drift-x, 40px), 108vh, 0) rotate(var(--rot-end, 360deg));
    opacity: 0;
  }
}

@keyframes stardustTwinkle {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

/* Performance Optimization: content-visibility on desktop only to avoid mobile layout jumps */
@media (min-width: 768px) {
  .section-padding:not(#hero),
  .footer-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
  }
}

/* --------------------------------------------------------------------------
   6B. ENTRANCE OVERLAY & BOX VIDEO TRANSITION
   -------------------------------------------------------------------------- */
body.entrance-active {
  overflow: hidden !important;
  touch-action: none !important;
}

.entrance-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  background-color: #131B32;
  background-image: radial-gradient(circle at center, #1C2438 0%, #131B32 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.entrance-overlay.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entrance-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.entrance-overlay.is-exiting .entrance-stage {
  transform: scale(1.05);
}

.entrance-front-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
  transition: opacity 0.35s ease-out;
  pointer-events: none;
}

.entrance-front-img.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.entrance-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Central Tap Button & Text Capsule Wrapper */
.entrance-action-wrap {
  position: absolute;
  top: calc(50% + 40px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  pointer-events: auto;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.entrance-action-wrap.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  pointer-events: none;
}

/* Circular Tap Button with Ripple Rings */
.entrance-tap-btn {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.entrance-tap-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(212, 164, 56, 0.85);
  animation: entrancePulse 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

.entrance-tap-ring-2 {
  animation-delay: 0.8s;
  border-color: rgba(168, 124, 46, 0.75);
}

@keyframes entrancePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.entrance-tap-circle {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(240, 220, 168, 0.7);
  box-shadow: 0 0 20px rgba(212, 164, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.entrance-tap-btn:hover .entrance-tap-circle {
  transform: scale(1.08);
  background: transparent;
  border-color: var(--color-champagne-gold);
  box-shadow: 0 0 30px rgba(212, 164, 56, 0.65);
}

.entrance-tap-btn:active .entrance-tap-circle {
  transform: scale(0.94);
}

/* Text Capsule Slightly Below Center */
.entrance-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  background: rgba(28, 36, 56, 0.94);
  border: 1.5px solid var(--color-bright-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 14px rgba(212, 164, 56, 0.35);
  white-space: nowrap;
  animation: capsuleFloat 2.6s ease-in-out infinite;
}

.entrance-capsule span {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

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

@media (max-width: 767px) {
  .entrance-stage {
    max-width: 100%;
  }

  .entrance-tap-btn {
    width: 76px;
    height: 76px;
  }

  .entrance-tap-circle {
    width: 68px;
    height: 68px;
  }



  .entrance-capsule {
    padding: 0.45rem 1.15rem;
  }

  .entrance-capsule span {
    font-size: 0.85rem;
    letter-spacing: 0.11em;
  }
}

/* --------------------------------------------------------------------------
   7. FLOATING MUSIC TOGGLE BUTTON
   -------------------------------------------------------------------------- */
.music-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-midnight-navy);
  border: 2px solid var(--color-bright-gold);
  color: var(--color-bright-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md), 0 0 15px rgba(212, 164, 56, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  padding: env(safe-area-inset-bottom, 0);
}

.music-toggle-btn:hover {
  transform: scale(1.08) rotate(15deg);
  box-shadow: var(--shadow-lg), 0 0 22px rgba(212, 164, 56, 0.5);
  background: var(--color-bright-gold);
  color: #131B32;
}

.music-toggle-btn.is-playing {
  animation: musicSpin 8s linear infinite;
  border-color: var(--color-champagne-gold);
  color: var(--color-champagne-gold);
}

@keyframes musicSpin {
  100% { transform: rotate(360deg); }
}

.music-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-deep-navy);
  color: var(--color-champagne-gold);
  border: 1px solid rgba(212, 164, 56, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.music-toggle-btn:hover .music-tooltip {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   8. SECTION 1: HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  padding-top: calc(env(safe-area-inset-top, 0px) + 1.25rem);
  padding-bottom: 0.5rem;
  text-align: center;
}

/* Stacked Dual Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-mobile,
.hero-bg-desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-bg-desktop {
  display: none;
}

@media (min-width: 768px) {
  .hero-bg-mobile {
    display: none;
  }
  .hero-bg-desktop {
    display: block;
  }
}

/* Hero Background Overlay - Removed all gradients/filters */
.hero-overlay {
  display: none;
}

/* Top Content Block */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 1rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFadeIn 1.2s ease-out forwards;
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

@media (max-width: 767px) {
  .hero-section .ganesh-icon {
    width: 68.6px;
    height: auto;
  }

  @media (min-height: 900px) {
    .hero-section .ganesh-icon {
      width: 89.3px;
      height: auto;
    }
  }

  .hero-eyebrow {
    display: inline-block;
    padding: 0.35rem 1.75rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: radial-gradient(ellipse at center, rgba(28, 36, 56, 0.9) 0%, rgba(28, 36, 56, 0.55) 60%, transparent 95%);
    color: var(--color-champagne-gold);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9), 0 0 14px rgba(212, 164, 56, 0.3);
  }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-size: clamp(1.1rem, 3.2vw, 1.65rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  margin: 0.35rem 0 0.15rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 16px rgba(212, 164, 56, 0.25);
}

.hero-names {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 3.8rem;
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  line-height: 1.15;
  color: var(--color-champagne-gold);
  margin: 0.2rem 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 26px rgba(212, 164, 56, 0.4);
}

@media (max-width: 767px) {
  /* Subtle stroke on all couple name texts in mobile view for crisp definition */
  .hero-names,
  .invitation-person-name,
  .person-name {
    -webkit-text-stroke: 0.35px var(--color-champagne-gold);
    paint-order: stroke fill;
  }

  .footer-monogram {
    -webkit-text-stroke: 0.35px var(--color-bright-gold);
    paint-order: stroke fill;
  }

  .lightbox-caption-couple {
    -webkit-text-stroke: 0.35px var(--color-champagne-gold);
    paint-order: stroke fill;
  }

  .invitation-ampersand {
    -webkit-text-stroke: 0.35px var(--color-bright-gold);
    paint-order: stroke fill;
  }

  .hero-names {
    text-shadow: 
      0 2px 12px rgba(0, 0, 0, 0.95),
      0 0 18px rgba(212, 164, 56, 0.35);
  }
}

.hero-names .ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7em;
  color: var(--color-bright-gold);
  margin: 0 0.15em;
  display: inline-block;
  vertical-align: middle;
}

.hero-details {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  font-weight: 600;
  margin-top: 0.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.hero-city {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Bottom Couple Cutout Overlay */
.hero-couple-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  margin-top: 0;
  line-height: 0;
}

.hero-couple-img {
  width: 58%;
  max-width: 336px;
  max-height: 36.4vh;
  max-height: calc(var(--vh, 1vh) * 36.4);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

/* Bottom Scroll Indicator: "Scroll down" badge with down arrow at right side of "down" */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  transform: translateX(-50%) translateY(2px);
}

/* Shared Section Scroll Cue (Non-overlapping, naturally positioned at section bottoms) */
.section-scroll-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2.75rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 5;
}

.section-scroll-indicator {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.section-scroll-indicator:hover {
  transform: translateY(2px);
}

.scroll-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  background: rgba(28, 36, 56, 0.94);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-bright-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 14px rgba(212, 164, 56, 0.25);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.scroll-arrow-icon {
  color: var(--color-bright-gold);
  animation: heroArrowBounce 1.8s infinite ease-in-out;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.hero-scroll-indicator:hover .scroll-indicator-badge,
.section-scroll-indicator:hover .scroll-indicator-badge {
  background: var(--color-bright-gold);
  color: #131B32;
  border-color: var(--color-bright-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 164, 56, 0.55);
}

.hero-scroll-indicator:hover .scroll-arrow-icon,
.section-scroll-indicator:hover .scroll-arrow-icon {
  color: #131B32;
}

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

@media (max-width: 767px) {
  .hero-scroll-indicator {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem + 40px);
  }

  .section-scroll-cue {
    margin-top: 1.75rem;
    padding-bottom: 0.25rem;
  }

  .scroll-indicator-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
    gap: 0.35rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    justify-content: space-between;
    gap: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 2rem);
    padding-bottom: 0;
  }

  .hero-couple-wrapper {
    margin-top: auto;
    max-width: 780px;
  }

  .hero-couple-img {
    width: 65%;
    max-width: 520px;
    max-height: 58vh;
    max-height: calc(var(--vh, 1vh) * 58);
  }
}

/* --------------------------------------------------------------------------
   9. SHARED SECTION BACKGROUND ROTATION (MOBILE & DESKTOP SPANNING)
   Ensures background images span the entire section with pale powder-blue field
   -------------------------------------------------------------------------- */
/* Pattern 1: Section 2 (Countdown), Section 6 (Events) */
.bg-pattern-1 {
  background-image: url('Assets/bg1_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .bg-pattern-1 {
    background-image: url('Assets/bg1_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Pattern 2: Section 3 (Invitation) */
.bg-pattern-2 {
  background-image: url('Assets/bg_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .bg-pattern-2 {
    background-image: url('Assets/bg_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Pattern 3: Section 4 (Couple), Section 8 (Gallery) */
.bg-pattern-3 {
  background-image: url('Assets/bg1_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .bg-pattern-3 {
    background-image: url('Assets/bg1_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Pattern 4: Section 5 (Story), Section 9 (RSVP) */
.bg-pattern-4 {
  background-image: url('Assets/bg_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .bg-pattern-4 {
    background-image: url('Assets/bg_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Section 6 (Events) - Centered & Full Spanning */
#events.bg-pattern-1 {
  background-image: url('Assets/bg_event_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  #events.bg-pattern-1 {
    background-image: url('Assets/bg1_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Section 8 (Gallery) - Centered & Full Spanning */
#gallery.bg-pattern-3 {
  background-image: url('Assets/bg1_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  #gallery.bg-pattern-3 {
    background-image: url('Assets/bg1_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Universal Mobile View Override: Background images span the entire section */
@media (max-width: 767px) {
  .bg-pattern-1,
  .bg-pattern-2,
  .bg-pattern-3,
  .bg-pattern-4,
  #countdown,
  #invitation,
  #couple,
  #story,
  #events,
  #gallery,
  #rsvp {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
}


/* --------------------------------------------------------------------------
   10. SECTION 2: SCRATCH CARD + LIVE COUNTDOWN TIMER
   -------------------------------------------------------------------------- */
.scratch-section {
  text-align: center;
}

@media (max-width: 767px) {
  .scratch-section .section-title .mobile-line-break {
    display: block;
  }
}

.svg-defs-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.scratch-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(290px, 88vw, 380px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.scratch-card-container {
  position: absolute;
  top: 20.7%;
  left: 21%;
  width: 58%;
  height: 58.4%;
  border-radius: 12%;
  background: var(--color-midnight-navy);
  border: none;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 2;
}

/* Revealed Content (underneath the canvas foil) */
.scratch-revealed-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #1C2438 0%, #131B32 100%);
  border-radius: 12%;
  box-sizing: border-box;
}

.scratch-save-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.scratch-date-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-size: clamp(1.2rem, 3.8vw, 1.65rem);
  font-weight: 700;
  color: var(--color-champagne-gold);
  margin-bottom: 0.2rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.scratch-city-sub {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-body-gold);
  font-weight: 600;
  margin-bottom: 0;
}

/* Decorative Gold Floral Border Frame Overlay */
.scratch-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.65));
}

.scratch-revealed-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-body-gold);
  max-width: 420px;
  line-height: 1.45;
  margin-top: 0.25rem;
}

/* External Countdown Section (Shifted Outside of Scratch Card) */
.countdown-external-wrap {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.countdown-external-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  font-weight: 700;
  -webkit-text-stroke: 0.35px var(--color-champagne-gold);
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* Live Countdown Grid (Card-less & Box-less Floating Typography) */
.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.35rem, 1.8vw, 0.75rem);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.countdown-item,
.countdown-box {
  flex: 0 1 80px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0.25rem 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast);
}

.countdown-item:hover,
.countdown-box:hover {
  transform: translateY(-2px);
}

.countdown-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-size: clamp(2rem, 5.75vw, 3.15rem);
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  color: var(--color-champagne-gold);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 14px rgba(212, 164, 56, 0.2);
}

/* Beautiful Animated Second Number Tick & Golden Starlight Pulse */
#count-seconds {
  display: inline-block;
  will-change: transform, opacity;
}

#count-seconds.tick-animate {
  animation: secondTickGlow 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

@keyframes secondTickGlow {
  0% {
    transform: translateY(-8px) scale(1.12);
    opacity: 0.45;
    color: #FFF6D6;
    text-shadow: 0 0 16px rgba(240, 220, 168, 0.95), 0 0 26px rgba(212, 164, 56, 0.85);
  }
  50% {
    transform: translateY(1.5px) scale(0.98);
    opacity: 1;
    color: #F0DCA8;
    text-shadow: 0 0 18px rgba(212, 164, 56, 0.75), 0 0 10px rgba(240, 220, 168, 0.6);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    color: var(--color-champagne-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  #count-seconds.tick-animate {
    animation: none !important;
  }
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-size: clamp(0.83rem, 2.3vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  margin-top: 0.45rem;
  font-weight: 700;
  -webkit-text-stroke: 0.25px var(--color-bright-gold);
}

/* Canvas Scratch Foil Layer */
.scratch-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 5;
  border-radius: 12%;
  cursor: grab;
  touch-action: none;
  transition: opacity 0.65s ease-out;
}

.scratch-canvas:active {
  cursor: grabbing;
}

.scratch-canvas.is-revealed {
  opacity: 0;
  pointer-events: none;
}

/* Accessible Tap-to-Reveal fallback button */
.scratch-fallback-wrapper {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.btn-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-bright-gold);
  color: #131B32;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 164, 56, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height: 44px;
}

.btn-reveal:hover {
  transform: translateY(-2px);
  background: var(--color-champagne-gold);
  color: #131B32;
  box-shadow: 0 6px 22px rgba(212, 164, 56, 0.6);
}

.scratch-hint {
  font-size: 0.8rem;
  color: var(--color-body-gold);
}

/* --------------------------------------------------------------------------
   11. SECTION 3: INVITATION MESSAGE (OPEN EDITORIAL LAYOUT)
   -------------------------------------------------------------------------- */
.invitation-content-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1rem;
}

.invitation-content-wrap .shree-ganesh {
  margin-bottom: 1rem;
}

.invitation-content-wrap .shloka-text {
  display: inline-block;
  padding: 0.45rem 1.75rem;
  background: radial-gradient(ellipse at center, rgba(28, 36, 56, 0.9) 0%, rgba(28, 36, 56, 0.55) 60%, transparent 95%);
  font-size: 1.05rem;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: var(--color-bright-gold);
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.invitation-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: var(--color-body-gold);
  line-height: 1.35;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.invitation-person-block {
  margin: 0.85rem 0;
}

.invitation-person-name {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 3.6rem;
  font-size: clamp(2.8rem, 8.5vw, 4.8rem);
  color: var(--color-champagne-gold);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95), 0 0 24px rgba(212, 164, 56, 0.35);
}

.invitation-person-parents {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-size: clamp(1.05rem, 2.8vw, 1.4rem);
  color: var(--color-champagne-gold);
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.invitation-ampersand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.75rem auto;
  max-width: 320px;
}

.invitation-ampersand {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--color-bright-gold);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 164, 56, 0.4);
}

.invitation-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-style: italic;
  color: var(--color-body-gold);
  line-height: 1.45;
  max-width: 660px;
  margin: 0 auto;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* --------------------------------------------------------------------------
   COUPLE & RSVP SECTIONS: HERO FLORAL BACKGROUND (DESKTOP & MOBILE SWAP)
   -------------------------------------------------------------------------- */
#couple,
#rsvp {
  position: relative;
  background-color: var(--color-deep-navy);
  background-image: url('Assets/bg_hero_mobile.webp');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  #couple,
  #rsvp {
    background-image: url('Assets/bg_hero_desktop.webp');
  }
}

/* --------------------------------------------------------------------------
   12. SECTION 4: COUPLE INTRO (BRIDE & GROOM) — ARCH FRAME FLIP CARD DESIGN
   -------------------------------------------------------------------------- */
.couple-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 860px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

@media (min-width: 820px) {
  .couple-intro-grid {
    grid-template-columns: minmax(250px, 280px) auto minmax(250px, 280px);
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }
}

/* Arch Frame Flip Card (The Arch Frame IS the Card — No Outer Box) */
.couple-card.couple-flip-card {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  width: 100%;
  max-width: 280px;
  height: 395px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  position: relative;
  transition: transform var(--transition-normal);
}

.couple-card.couple-flip-card:hover {
  transform: translateY(-5px);
}

.couple-card.couple-flip-card:focus-visible {
  outline: 2px solid var(--color-bright-gold);
  outline-offset: 6px;
  border-radius: 140px 140px 24px 24px;
}

/* 3D Flip Rotation Wrapper */
.couple-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.75s cubic-bezier(0.34, 1.4, 0.64, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  border-radius: 140px 140px 24px 24px;
}

.couple-card.couple-flip-card.is-flipped .couple-card-inner {
  transform: rotateY(180deg);
}

/* Arch Card Faces (Front & Back) */
.couple-card-face.arch-frame-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 140px 140px 24px 24px;
  overflow: hidden;
  border: 2.5px solid var(--color-bright-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(212, 164, 56, 0.18);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.couple-flip-card:hover .arch-frame-face {
  border-color: #E6C678;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 164, 56, 0.28);
}

/* FRONT FACE (Arch Frame with Photo, Role, Name & Cue Inside) */
.couple-card-front.arch-frame-face {
  transform: rotateY(0deg);
  background: #1C2438;
}

.couple-card-front.arch-frame-face .portrait-arch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.couple-flip-card:hover .portrait-arch-img {
  transform: scale(1.05);
}

/* Dark Gradient Overlay Inside the Arch Frame */
.arch-front-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 22, 42, 0.98) 0%, rgba(19, 27, 50, 0.88) 45%, rgba(19, 27, 50, 0.45) 75%, transparent 100%);
  padding: 3.5rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  z-index: 2;
}

.arch-front-overlay .person-role {
  position: static;
  transform: none;
  background: rgba(28, 36, 56, 0.94);
  border: 1.2px solid var(--color-bright-gold);
  border-radius: var(--radius-full);
  padding: 3px 13px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.arch-front-overlay .person-name {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 2.6rem;
  color: var(--color-champagne-gold);
  line-height: 1.1;
  margin: 0 0 0.3rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 16px rgba(212, 164, 56, 0.35);
}

/* BACK FACE (Arch Frame with Bio Inside) */
.couple-card-back.arch-frame-face {
  transform: rotateY(180deg);
  background: radial-gradient(circle at 50% 16%, rgba(212, 164, 56, 0.2) 0%, transparent 68%),
              linear-gradient(165deg, #1C2438 0%, #131B32 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.4rem 1.4rem;
}

/* Inner Dashed Arch Border on Back */
.card-back-corner-decor {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(212, 164, 56, 0.35);
  border-radius: 132px 132px 18px 18px;
  pointer-events: none;
}

.arch-back-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  width: 100%;
}

.card-back-ornament {
  color: var(--color-bright-gold);
  filter: drop-shadow(0 0 8px rgba(212, 164, 56, 0.5));
  margin-bottom: 0.25rem;
}

.person-role-back {
  display: inline-block;
  background: rgba(212, 164, 56, 0.15);
  border: 1px solid var(--color-bright-gold);
  border-radius: var(--radius-full);
  padding: 2.5px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.person-name-back {
  font-family: var(--font-couple);
  font-size: 2.35rem;
  font-weight: 400;
  color: var(--color-champagne-gold);
  line-height: 1.1;
  margin: 0 0 0.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 14px rgba(212, 164, 56, 0.35);
}

.back-divider-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-bright-gold), transparent);
  margin: 0.25rem auto 0.75rem;
}

.person-bio-back {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--color-body-gold);
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto 0.9rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Interactive Flip Cue Text (Without Capsule, Inside Arch) */
.card-flip-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2px 4px;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  font-weight: 600;
  box-shadow: none;
  border-bottom: 1px dashed rgba(212, 164, 56, 0.45);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), text-shadow var(--transition-fast);
}

.couple-flip-card:hover .card-flip-cue {
  background: transparent;
  color: var(--color-champagne-gold);
  border-bottom-color: var(--color-bright-gold);
  box-shadow: none;
  text-shadow: 0 0 10px rgba(212, 164, 56, 0.5);
}

.couple-flip-card:hover .card-flip-cue .flip-cue-icon {
  transform: rotate(180deg);
  color: var(--color-champagne-gold);
}

.flip-cue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bright-gold);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color var(--transition-fast);
}

.card-flip-cue-back {
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(212, 164, 56, 0.45);
  box-shadow: none;
  margin-top: 0;
}

/* Center Interactive Tap Spark Button */
.couple-intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  position: relative;
  z-index: 5;
}

.couple-spark-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform var(--transition-fast);
}

.couple-spark-btn:hover {
  transform: scale(1.06);
}

.couple-spark-btn:active {
  transform: scale(0.92);
}

.spark-btn-core-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Central Circular Glowing Core */
.spark-btn-circle {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #25314C 0%, #161F36 70%, #11182B 100%);
  border: 2px solid var(--color-bright-gold);
  color: var(--color-champagne-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 16px rgba(212, 164, 56, 0.35);
  z-index: 2;
  transition: all var(--transition-fast);
}

.couple-spark-btn:hover .spark-btn-circle {
  border-color: #FFF2CC;
  color: #FFF2CC;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7), 0 0 24px rgba(212, 164, 56, 0.65);
}

.spark-icon {
  display: block;
  filter: drop-shadow(0 0 5px rgba(212, 164, 56, 0.85));
  animation: sparkPulse 2.8s ease-in-out infinite;
}

@keyframes sparkPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.15) rotate(15deg);
  }
}

/* Ambient Pulsing Aura Rings */
.spark-btn-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 164, 56, 0.45);
  pointer-events: none;
  animation: sparkRingPulse 2.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
  z-index: 1;
}

.spark-btn-ring-2 {
  animation-delay: 1.4s;
}

@keyframes sparkRingPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

/* Floating Spark Text Label */
.spark-btn-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  font-weight: 700;
  margin-top: 0.55rem;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 0 10px rgba(212, 164, 56, 0.35);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.couple-spark-btn:hover .spark-btn-label {
  color: var(--color-bright-gold);
}

/* Burst shockwave on tap */
.couple-spark-btn.is-sparking .spark-btn-circle {
  animation: sparkBurstRebound 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes sparkBurstRebound {
  0% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1.2);
    box-shadow: 0 0 35px rgba(212, 164, 56, 0.95), 0 0 50px rgba(240, 220, 168, 0.7);
  }
  100% {
    transform: scale(1);
  }
}

/* Floating mini spark symbols */
.spark-float-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  font-size: 1.15rem;
  z-index: 10;
  animation: sparkFly 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes sparkFly {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, -40px))) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .couple-intro-grid {
    gap: 1.25rem;
  }

  .couple-card.couple-flip-card {
    height: 365px;
    max-width: 255px;
  }

  .couple-card-inner,
  .couple-card-face.arch-frame-face {
    border-radius: 125px 125px 20px 20px;
  }

  .card-back-corner-decor {
    border-radius: 118px 118px 15px 15px;
  }

  .arch-front-overlay {
    padding: 2.75rem 0.75rem 1rem;
  }

  .arch-front-overlay .person-name {
    font-size: 2.5rem;
  }

  .person-name-back {
    font-size: 2.25rem;
  }

  .person-bio-back {
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 220px;
  }

  .couple-intro-center {
    padding: 0.35rem 0;
  }

  /* Mobile view only: Adjust 'Tap to Spark' label to right side of tap spark button */
  .couple-spark-btn {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.35rem 1rem;
  }

  .spark-btn-label {
    margin-top: 0;
    text-align: left;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }
}

/* --------------------------------------------------------------------------
   13. SECTION 5: COUPLE STORY (INTERACTIVE MILESTONE STEPPER NAVIGATOR)
   -------------------------------------------------------------------------- */
.milestone-stepper-wrapper {
  position: relative;
  max-width: 840px;
  margin: 2.25rem auto 3rem;
  padding: 0 1rem;
}

/* Horizontal Track Behind Stepper Nodes */
.stepper-track-bar {
  position: absolute;
  top: 24px;
  left: 48px;
  right: 48px;
  height: 4px;
  background: rgba(212, 164, 56, 0.25);
  border-radius: var(--radius-full);
  z-index: 1;
}

.stepper-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #A87C2E, #D4A438);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(212, 164, 56, 0.45);
}

/* Stepper Node List */
.stepper-nodes-list {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Stepper Button */
.stepper-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--transition-fast);
}

.stepper-btn:hover .stepper-indicator {
  transform: scale(1.08);
  border-color: var(--color-bright-gold);
}

/* Stepper Circle Indicator */
.stepper-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-midnight-navy);
  border: 2.5px solid rgba(212, 164, 56, 0.45);
  color: var(--color-bright-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stepper Emoji Icon */
.stepper-emoji {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast);
}

.stepper-btn:hover .stepper-emoji {
  transform: scale(1.15);
}

/* Stepper Text Meta */
.stepper-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.65rem;
}

.stepper-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-bright-gold);
  transition: color var(--transition-fast);
}

.stepper-label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-body-gold);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

/* Active State */
.stepper-btn.is-active .stepper-indicator {
  background: linear-gradient(135deg, #D4A438, #A87C2E);
  color: #131B32;
  border-color: var(--color-champagne-gold);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(212, 164, 56, 0.5), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.stepper-btn.is-active .stepper-emoji {
  transform: scale(1.12);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.stepper-btn.is-active .stepper-date {
  color: var(--color-champagne-gold);
  font-weight: 700;
}

.stepper-btn.is-active .stepper-label {
  color: var(--color-champagne-gold);
  font-weight: 700;
}

/* Completed State */
.stepper-btn.is-completed .stepper-indicator {
  background: rgba(212, 164, 56, 0.22);
  border-color: var(--color-bright-gold);
  color: var(--color-bright-gold);
}

/* Story Cards Viewport (Only the active card is displayed) */
.story-viewport {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

/* Hidden by default — only active card is shown */
.story-card {
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.story-card.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: storyCardFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes storyCardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.story-card-inner {
  position: relative;
  background: #1C2438;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 164, 56, 0.12);
  border: 1.5px solid rgba(212, 164, 56, 0.4);
  text-align: center;
  overflow: hidden;
}

/* Couple Image Royal Arch inside Story Card */
.story-card-img-frame {
  width: 140px;
  height: 175px;
  margin: 0 auto 1.25rem;
  border-radius: 70px 70px 14px 14px;
  overflow: hidden;
  border: 2.5px solid var(--color-bright-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background-color: var(--color-deep-navy);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.story-card-inner:hover .story-card-img-frame {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 164, 56, 0.35);
  border-color: var(--color-champagne-gold);
}

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

/* Subtle corner floral ornament behind card content */
.story-card-inner::before {
  content: "❀";
  position: absolute;
  top: -15px;
  right: -10px;
  font-size: 5.5rem;
  color: rgba(212, 164, 56, 0.1);
  pointer-events: none;
  user-select: none;
}

.story-card-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  background: rgba(212, 164, 56, 0.2);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(212, 164, 56, 0.4);
}

.story-card-date {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  margin-bottom: 0.35rem;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--color-champagne-gold);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.story-card-desc {
  font-size: 1.02rem;
  color: var(--color-body-gold);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Stepper Bottom Navigation Bar */
/* Side Chevron Navigation Buttons (Outstanding Luxury Gold Badges) */
.story-side-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-bright-gold);
  border: 2px solid #F0DCA8;
  outline: 2px solid rgba(212, 164, 56, 0.5);
  outline-offset: 2px;
  color: #131B32;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 164, 56, 0.4);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease,
              background 0.28s ease,
              opacity 0.28s ease;
  z-index: 12;
  -webkit-tap-highlight-color: transparent;
}

.story-side-chevron svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.8;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

.story-side-chevron:hover:not(:disabled) {
  background: var(--color-champagne-gold);
  color: #131B32;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 26px rgba(212, 164, 56, 0.65);
  outline-color: var(--color-bright-gold);
}

.story-side-chevron:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.story-side-chevron:disabled {
  opacity: 0.25;
  filter: grayscale(0.85);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  outline: none;
}

.story-chevron-prev {
  left: -26px;
}

.story-chevron-next {
  right: -26px;
}

/* Centered Navigation Indicator Dots */
.story-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  width: 100%;
}

.story-dots-indicator {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.story-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(212, 164, 56, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot.is-active {
  width: 26px;
  border-radius: var(--radius-full);
  background: var(--color-bright-gold);
  box-shadow: 0 0 12px rgba(212, 164, 56, 0.5);
}

/* Responsive adjustments for Mobile */
@media (max-width: 767px) {
  .story-chevron-prev {
    left: -14px;
  }
  .story-chevron-next {
    right: -14px;
  }
  .story-side-chevron {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }
  .story-side-chevron svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.8;
  }
}

@media (max-width: 600px) {
  .milestone-stepper-wrapper {
    margin: 1.5rem auto 2rem;
    padding: 0 0.5rem;
  }
  
  .stepper-track-bar {
    top: 20px;
    left: 28px;
    right: 28px;
    height: 3px;
  }
  
  .stepper-indicator {
    width: 40px;
    height: 40px;
  }

  .stepper-emoji {
    font-size: 1.15rem;
  }
  
  .stepper-btn {
    padding: 0 0.25rem;
  }
  
  .stepper-date {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  
  .stepper-label {
    font-size: 0.85rem;
  }
  
  .story-card-inner {
    padding: 1.85rem 1.25rem;
  }

  .story-card-img-frame {
    width: 115px;
    height: 145px;
    border-radius: 58px 58px 12px 12px;
    margin-bottom: 1rem;
  }
  
  .story-card-title {
    font-size: 1.7rem;
  }
  
  .story-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .story-chevron-prev {
    left: -8px;
  }
  .story-chevron-next {
    right: -8px;
  }
  .story-side-chevron {
    width: 40px;
    height: 40px;
    box-shadow: 0 6px 18px rgba(184, 46, 77, 0.4), 0 0 14px rgba(230, 138, 0, 0.45);
  }
  .story-side-chevron svg {
    width: 18px;
    height: 18px;
  }
}


/* --------------------------------------------------------------------------
   14. SECTION 6: WEDDING EVENT DETAILS (ROYAL CARD-LESS STARLIT TIMELINE)
   -------------------------------------------------------------------------- */
.events-timeline {
  position: relative;
  max-width: 980px;
  margin: 2.2rem auto 0;
  padding: 1rem 0 2rem;
}

/* Central Golden Starlit Thread (Spine) */
.timeline-spine {
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 164, 56, 0.35) 6%,
    rgba(240, 220, 168, 0.85) 45%,
    rgba(212, 164, 56, 0.85) 55%,
    rgba(212, 164, 56, 0.35) 94%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(212, 164, 56, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Timeline Item (100% Card-Less, Open Floating Editorial Layout) */
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 68px 1fr;
  align-items: center;
  gap: 2.2rem;
  margin-bottom: 4.2rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 2;
}

.timeline-item:last-child {
  margin-bottom: 0.5rem;
}

/* Alternating Column Ordering on Desktop */
.timeline-item--left .timeline-content {
  order: 1;
  align-items: flex-end;
  text-align: right;
}

.timeline-item--left .timeline-node {
  order: 2;
}

.timeline-item--left .timeline-visual {
  order: 3;
  justify-content: flex-start;
}

.timeline-item--right .timeline-visual {
  order: 1;
  justify-content: flex-end;
}

.timeline-item--right .timeline-node {
  order: 2;
}

.timeline-item--right .timeline-content {
  order: 3;
  align-items: flex-start;
  text-align: left;
}

/* Diya Flame Central Node */
.timeline-node {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.node-diya-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1C2438 0%, #131B32 100%);
  border: 2px solid var(--color-bright-gold);
  box-shadow: 0 0 18px rgba(212, 164, 56, 0.55), inset 0 0 10px rgba(212, 164, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: diyaPulse 2.8s ease-in-out infinite;
}

.timeline-item:hover .node-diya-badge {
  transform: scale(1.15);
  box-shadow: 0 0 26px rgba(212, 164, 56, 0.85), inset 0 0 14px rgba(240, 220, 168, 0.45);
}

@keyframes diyaPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(212, 164, 56, 0.45), inset 0 0 8px rgba(212, 164, 56, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(212, 164, 56, 0.75), inset 0 0 12px rgba(240, 220, 168, 0.4);
  }
}

/* Floating Ceremonial Event Photo (Pure Image, No Box Container or Box Shadow) */
.timeline-visual {
  display: flex;
  align-items: center;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
}

.timeline-event-img {
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-normal), filter var(--transition-normal);
  display: block;
}

.timeline-item:hover .timeline-event-img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

/* Card-Less Event Content Typography */
.timeline-content {
  display: flex;
  flex-direction: column;
}

/* Day Eyebrow Badge */
.timeline-day-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  padding: 0.28rem 0.9rem;
  background: rgba(212, 164, 56, 0.12);
  border: 1px solid rgba(212, 164, 56, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Event Title */
.timeline-event-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  color: var(--color-champagne-gold);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Meta List */
.timeline-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.timeline-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-body-gold);
}

.timeline-item--left .timeline-meta-item {
  justify-content: flex-end;
}

.timeline-item--right .timeline-meta-item {
  justify-content: flex-start;
}

.timeline-meta-icon {
  width: 15px;
  height: 15px;
  color: var(--color-bright-gold);
  flex-shrink: 0;
}

/* Attire */
.timeline-attire {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-bright-gold);
  font-weight: 500;
  margin: 0.85rem 0 1.15rem;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   15. EVENT VENUE LOCATION CTA BUTTON (ROYAL METALLIC PILL)
   -------------------------------------------------------------------------- */
.btn-event-venue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, #F0DCA8 0%, #D4A438 60%, #C08A3E 100%);
  color: #131B32;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 14px rgba(212, 164, 56, 0.35);
  cursor: pointer;
  outline: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-event-venue * {
  pointer-events: none;
}

.btn-event-venue:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(212, 164, 56, 0.55);
}

.btn-event-venue svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-event-venue:hover svg {
  transform: scale(1.15);
}

/* Golden Gorgeous Divider between Event Blocks (Hidden on Desktop) */
.event-mobile-divider {
  display: none;
}

/* Responsive: Mobile & Tablet Layout (< 900px)
   - Remove 'Central Golden Starlit Thread' & spine nodes
   - Alternating rows: circular image on Left for Rows 1 & 3, on Right for Rows 2 & 4 */
@media (max-width: 899px) {
  .events-timeline {
    padding-left: 0;
    padding-right: 0;
    max-width: 580px;
    margin-top: 1.5rem;
  }

  /* Completely remove Central Golden Starlit Thread & Diya nodes on mobile */
  .timeline-spine,
  .timeline-node {
    display: none !important;
  }

  /* Alternating Card-Less Rows */
  .timeline-item {
    display: grid;
    align-items: center;
    gap: clamp(0.85rem, 3.2vw, 1.5rem);
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* Golden Gorgeous Divider between Event Blocks (Mobile Only) */
  .event-mobile-divider {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 340px;
    margin: 2.2rem auto;
    padding: 0 0.5rem;
  }

  .event-mobile-divider .divider-line {
    flex: 1;
    height: 1.5px;
  }

  .event-mobile-divider .divider-line--left {
    background: linear-gradient(90deg, transparent 0%, rgba(212, 164, 56, 0.4) 30%, #F0DCA8 100%);
    box-shadow: 0 0 8px rgba(212, 164, 56, 0.5);
  }

  .event-mobile-divider .divider-line--right {
    background: linear-gradient(90deg, #F0DCA8 0%, rgba(212, 164, 56, 0.4) 70%, transparent 100%);
    box-shadow: 0 0 8px rgba(212, 164, 56, 0.5);
  }

  .event-mobile-divider .divider-gem {
    color: var(--color-bright-gold);
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    padding-left: 0.25em;
    text-shadow: 0 0 12px rgba(212, 164, 56, 0.85), 0 0 22px rgba(240, 220, 168, 0.5);
    line-height: 1;
    user-select: none;
  }

  /* Row 1 & Row 3: Circular image on LEFT, event content on RIGHT */
  .timeline-item--left {
    grid-template-columns: clamp(92px, 25vw, 125px) 1fr;
  }

  .timeline-item--left .timeline-visual {
    order: 1;
    justify-content: center;
  }

  .timeline-item--left .timeline-content {
    order: 2;
    align-items: flex-start;
    text-align: left;
  }

  .timeline-item--left .timeline-meta-item {
    justify-content: flex-start;
  }



  /* Row 2 & Row 4: Event content on LEFT, circular image on RIGHT */
  .timeline-item--right {
    grid-template-columns: 1fr clamp(92px, 25vw, 125px);
  }

  .timeline-item--right .timeline-content {
    order: 1;
    align-items: flex-start;
    text-align: left;
  }

  .timeline-item--right .timeline-visual {
    order: 2;
    justify-content: center;
  }

  .timeline-item--right .timeline-meta-item {
    justify-content: flex-start;
  }



  /* Event Photo Scaling for Mobile */
  .timeline-event-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  }

  /* Compact Typography for Mobile Columns */
  .timeline-day-badge {
    font-size: 0.68rem;
    padding: 0.22rem 0.68rem;
    margin-bottom: 0.4rem;
  }

  .timeline-event-title {
    font-size: clamp(1.12rem, 3.8vw, 1.38rem);
    line-height: 1.22;
    margin-bottom: 0.5rem;
  }

  .timeline-meta-list {
    gap: 0.32rem;
  }

  .timeline-meta-item {
    font-size: clamp(0.74rem, 2.4vw, 0.82rem);
    gap: 0.45rem;
  }

  .timeline-meta-icon {
    width: 13px;
    height: 13px;
  }

  .timeline-attire {
    font-size: clamp(0.7rem, 2.2vw, 0.76rem);
    line-height: 1.35;
    margin: 0.55rem 0 0.8rem;
  }

  .btn-event-venue {
    padding: 0.42rem 1.05rem;
    font-size: 0.74rem;
    width: auto;
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  .timeline-item {
    gap: 0.75rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .event-mobile-divider {
    margin: 1.8rem auto;
    max-width: 280px;
    gap: 0.65rem;
  }

  .event-mobile-divider .divider-gem {
    font-size: 0.85rem;
  }

  .timeline-ring-frame {
    width: clamp(82px, 23vw, 98px);
    height: clamp(82px, 23vw, 98px);
    outline-offset: 2.5px;
  }

  .timeline-event-title {
    font-size: 1.08rem;
  }

  .timeline-meta-item {
    font-size: 0.72rem;
  }

  .btn-event-venue {
    padding: 0.38rem 0.88rem;
    font-size: 0.7rem;
  }
}

/* Venue Modal Overlay */
.venue-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}

.venue-modal.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.venue-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(10, 15, 28, 0.88);
  -webkit-tap-highlight-color: transparent;
}

/* Clean Look Venue Detail & Map Card */
.venue-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--color-midnight-navy);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-bright-gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65), 0 0 18px rgba(212, 164, 56, 0.2);
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-modal.open .venue-modal-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.venue-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 164, 56, 0.2);
  border: 1px solid rgba(212, 164, 56, 0.4);
  color: var(--color-champagne-gold);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.venue-modal-close:hover {
  background: var(--color-bright-gold);
  color: #131B32;
  transform: rotate(90deg);
}

/* Header Info */
.venue-modal-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #131B32;
  background: var(--color-bright-gold);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  border: 1px solid var(--color-bright-gold);
}

.venue-modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-champagne-gold);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.venue-modal-spot {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-bright-gold);
  margin-bottom: 0.5rem;
}

.venue-modal-address {
  font-size: 0.88rem;
  color: var(--color-body-gold);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  max-width: 440px;
  margin: 0 auto 1.25rem;
}

.venue-modal-address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-bright-gold);
}

/* Framed Responsive Google Map Iframe */
.venue-modal-map-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(212, 164, 56, 0.45);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  background: var(--color-deep-navy);
}

.venue-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer & Directions CTA */
.venue-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.venue-modal-tip {
  font-size: 0.82rem;
  color: var(--color-body-gold);
  line-height: 1.45;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-bright-gold);
  color: #131B32;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 164, 56, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height: 44px;
  text-decoration: none;
}

.btn-directions:hover {
  transform: translateY(-2px);
  background: var(--color-champagne-gold);
  color: #131B32;
  box-shadow: 0 6px 18px rgba(212, 164, 56, 0.55);
}

/* Responsive adjustments for venue modal card on mobile */
@media (max-width: 600px) {
  .venue-modal {
    padding: 0.75rem;
  }

  .venue-modal-card {
    padding: 1.85rem 1.15rem 1.25rem;
    max-height: 92vh;
    max-height: 92dvh;
  }

  .venue-modal-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    font-size: 1.6rem;
  }

  .venue-modal-title {
    font-size: 1.35rem;
  }

  .venue-modal-map-wrap {
    height: 195px;
    margin-bottom: 1rem;
  }

  .btn-directions {
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   16. SECTION 8: COUPLE PHOTO GALLERY (FLOATING INTERACTIVE CARD DECK)
   -------------------------------------------------------------------------- */
.deck-gallery-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 1.5rem auto 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 0;
}

/* Ambient Gold Starlight Glow Backdrop behind Deck */
.deck-glow-backdrop {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(260px, 60vw, 420px);
  height: clamp(260px, 60vw, 420px);
  background: radial-gradient(circle at center, rgba(212, 164, 56, 0.2) 0%, rgba(192, 138, 62, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Interactive Card Stage Viewport */
.deck-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 510px;
  margin: 0 auto;
  perspective: 1200px;
  z-index: 2;
  cursor: grab;
  outline: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.deck-stage:active {
  cursor: grabbing;
}

/* Individual Stacked Card */
.deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.4s ease,
              box-shadow 0.4s ease;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}

/* Flick Exit Animations */
.deck-card.is-flicking-next {
  transform: translate3d(120%, -30px, 0) rotate(20deg) scale(0.9) !important;
  opacity: 0 !important;
  transition: transform 0.28s ease-in, opacity 0.28s ease-in !important;
}

.deck-card.is-flicking-prev {
  transform: translate3d(-120%, -30px, 0) rotate(-20deg) scale(0.9) !important;
  opacity: 0 !important;
  transition: transform 0.28s ease-in, opacity 0.28s ease-in !important;
}

/* Luxury Royal Card Body */
.deck-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1C2438;
  border-radius: 24px;
  padding: 10px;
  border: 1.5px solid rgba(212, 164, 56, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(212, 164, 56, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.deck-card.is-active .deck-card-inner {
  border-color: var(--color-bright-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 22px rgba(212, 164, 56, 0.28);
}

/* Photo Frame inside Card (Full Height with Integrated Bottom Title) */
.deck-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-deep-navy);
  border: 1px solid rgba(212, 164, 56, 0.3);
  cursor: pointer;
}

.deck-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-card.is-active:hover .deck-img {
  transform: scale(1.05);
}

/* Zoom Lightbox Trigger Button (Top Right Inside Photo Card) */
.deck-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(19, 27, 50, 0.94);
  border: 1.5px solid var(--color-bright-gold);
  color: var(--color-champagne-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  z-index: 4;
  outline: none;
}

.deck-zoom-btn:hover {
  background: var(--color-bright-gold);
  color: #131B32;
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(212, 164, 56, 0.55);
}

/* Royal Handwritten Card Captions (Inside at Bottom of Photo) */
.deck-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 3.25rem 1.25rem 1.35rem;
  background: linear-gradient(to top, rgba(19, 27, 50, 0.95) 0%, rgba(19, 27, 50, 0.6) 55%, transparent 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
}

.deck-title {
  font-family: var(--font-script);
  font-size: 2.65rem;
  font-weight: 400;
  color: var(--color-champagne-gold);
  line-height: 1.05;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 16px rgba(212, 164, 56, 0.45);
}

/* Controls Bar (Prev/Next & Dots) */
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin-top: 1.8rem;
  width: 100%;
  position: relative;
  z-index: 3;
}

.deck-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-bright-gold);
  border: 2px solid #F0DCA8;
  outline: 2px solid rgba(212, 164, 56, 0.5);
  outline-offset: 2px;
  color: #131B32;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 164, 56, 0.4);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.24s ease,
              box-shadow 0.24s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.deck-nav-btn:hover {
  background: var(--color-champagne-gold);
  color: #131B32;
  transform: scale(1.12);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65), 0 0 22px rgba(212, 164, 56, 0.6);
}

.deck-nav-btn:active {
  transform: scale(0.95);
}

.deck-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.deck-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(212, 164, 56, 0.3);
  border: 1.5px solid rgba(212, 164, 56, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.deck-dot:hover {
  background: rgba(212, 164, 56, 0.6);
}

.deck-dot.is-active {
  width: 28px;
  background: var(--color-bright-gold);
  border-color: var(--color-bright-gold);
  box-shadow: 0 0 14px rgba(212, 164, 56, 0.55);
}

/* Gentle Swipe / Tap Hint */
.deck-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-body-gold);
  font-weight: 500;
  text-align: center;
}

.deck-hint-arrow {
  font-size: 0.95rem;
  display: inline-block;
  animation: deckNudge 2.2s infinite ease-in-out;
}

@keyframes deckNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* Responsive adjustments for Mobile */
@media (max-width: 600px) {
  .deck-stage {
    max-width: 305px;
    height: 440px;
  }

  .deck-title {
    font-size: 2.15rem;
  }

  .deck-caption {
    padding: 2.5rem 1rem 1.15rem;
  }

  .deck-nav-btn {
    width: 42px;
    height: 42px;
  }

  .deck-nav-btn svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 360px) {
  .deck-stage {
    max-width: 270px;
    height: 400px;
  }

  .deck-title {
    font-size: 1.85rem;
  }
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 28, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 16px rgba(212, 164, 56, 0.2);
  border: 2px solid var(--color-bright-gold);
}

.lightbox-caption-bar {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--color-champagne-gold);
  font-size: 0.9rem;
}

.lightbox-caption-couple {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--color-champagne-gold);
  letter-spacing: 0.04em;
}

.lightbox-counter {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-bright-gold);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  width: 44px;
  height: 44px;
  color: var(--color-champagne-gold);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--color-bright-gold);
  transform: scale(1.15);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 36, 56, 0.85);
  border: 1px solid rgba(212, 164, 56, 0.4);
  color: var(--color-champagne-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--color-bright-gold);
  color: #131B32;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close-btn { top: 15px; right: 15px; }
}

/* --------------------------------------------------------------------------
   17. SECTION 9: RSVP SECTION (FORM & CONFIRMATION)
   -------------------------------------------------------------------------- */
.rsvp-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-midnight-navy);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.35rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 14px rgba(212, 164, 56, 0.12);
  border: 1.5px solid rgba(212, 164, 56, 0.45);
  position: relative;
}

@media (min-width: 768px) {
  .rsvp-card {
    padding: 2.35rem 2.25rem;
  }
}

.form-group {
  margin-bottom: 0.95rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-champagne-gold);
  margin-bottom: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.52rem 0.95rem;
  background: #131B32;
  border: 1.5px solid rgba(212, 164, 56, 0.35);
  border-radius: var(--radius-sm);
  color: var(--color-champagne-gold);
  font-size: 0.88rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height: 40px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-bright-gold);
  background: #131B32;
  box-shadow: 0 0 0 3px rgba(212, 164, 56, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 75px;
}

/* Attending Segmented Radio Controls */
.attending-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.attending-option {
  position: relative;
}

.attending-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.attending-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.52rem 0.85rem;
  background: #131B32;
  border: 1.5px solid rgba(212, 164, 56, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-body-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
  text-align: center;
}

.attending-option input[type="radio"]:checked + .attending-label {
  background: rgba(212, 164, 56, 0.22);
  border-color: var(--color-bright-gold);
  color: var(--color-champagne-gold);
  box-shadow: 0 2px 10px rgba(212, 164, 56, 0.3);
}

/* Event Checkbox Chips */
.event-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.event-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-body-gold);
  background: #131B32;
  border: 1px solid rgba(212, 164, 56, 0.35);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 38px;
  transition: border-color var(--transition-fast);
}

.event-checkbox-label input {
  accent-color: var(--color-bright-gold);
  width: 15px;
  height: 15px;
}

.btn-submit-rsvp {
  width: 100%;
  padding: 0.72rem 1.75rem;
  background: var(--color-bright-gold);
  color: #131B32;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 164, 56, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height: 42px;
  margin-top: 0.25rem;
  cursor: pointer;
}

.btn-submit-rsvp:hover {
  background: var(--color-champagne-gold);
  color: #131B32;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 164, 56, 0.55);
}

/* RSVP Confirmation State */
.rsvp-confirmation-card {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.rsvp-confirmation-card.is-confirmed {
  display: block;
  animation: confirmationFadeIn 0.8s ease-out forwards;
}

@keyframes confirmationFadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.confirmation-lotus {
  color: var(--color-bright-gold);
  margin-bottom: 1rem;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-champagne-gold);
  margin-bottom: 0.5rem;
}

.confirmation-desc {
  font-size: 1.05rem;
  color: var(--color-body-gold);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.confirmation-summary {
  background: #131B32;
  border: 1.5px dashed var(--color-bright-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  color: var(--color-body-gold);
}

.confirmation-summary p {
  margin-bottom: 0.4rem;
}

.btn-reset-rsvp {
  font-size: 0.85rem;
  color: var(--color-bright-gold);
  text-decoration: underline;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   18. SECTION 10: FOOTER SECTION (MIDNIGHT LUXURY NAVY & GOLD DESIGN)
   -------------------------------------------------------------------------- */
.footer-section {
  position: relative;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 3rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 164, 56, 0.15) 0%, rgba(28, 36, 56, 0.6) 45%, transparent 75%),
              linear-gradient(180deg, #101628 0%, #0d1222 50%, #070a12 100%);
  border-top: 1px solid rgba(212, 164, 56, 0.35);
  box-shadow: inset 0 1px 0 rgba(240, 220, 168, 0.2), 0 -12px 32px rgba(0, 0, 0, 0.6);
  color: var(--color-ink);
}

.footer-section .container-narrow {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 1.25rem;
  box-shadow: none;
  color: var(--color-ink);
}

.footer-monogram {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.2rem, 7.5vw, 4.4rem);
  color: var(--color-bright-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(212, 164, 56, 0.4), 0 0 24px rgba(212, 164, 56, 0.2);
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--color-champagne-gold);
  max-width: 580px;
  margin: 0 auto 0.85rem;
  line-height: 1.5;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.footer-date {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Warm Guest Invitation Line */
.footer-invite-note {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-body-gold);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-credits {
  font-size: 0.82rem;
  color: rgba(216, 208, 188, 0.7);
  border-top: 1px dashed rgba(212, 164, 56, 0.25);
  padding-top: 1.25rem;
  max-width: 540px;
  margin: 0 auto;
  font-weight: 400;
}

.footer-credits a {
  color: var(--color-champagne-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer-credits a:hover {
  color: var(--color-bright-gold);
  text-shadow: 0 0 10px rgba(212, 164, 56, 0.7);
}

/* --------------------------------------------------------------------------
   19. SCROLL-REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay Helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   20. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .golden-stardust-container {
    display: none !important;
  }
  .music-toggle-btn.is-playing {
    animation: none !important;
  }
}
