/* ==========================================================================
   CUSTOM FONT FACES
   ========================================================================== */
@font-face {
  font-family: 'Cookie-Regular';
  src: url('Assets/Cookie-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cookie';
  src: url('Assets/Cookie-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   ROYAL PICHWAI & LOTUS WEDDING DESIGN SYSTEM (ROMANTIC PALACE ELEGANCE)
   Palette: Pearl Almond/Ivory (#FDF8F5), Lotus Wash (#F5DCDD), Warm Amber (#D97736),
            Lotus Rose / Gulabi (#C44D68), Forest Moss (#5E7A4A), Antique Zari Gold (#C89B3C),
            Peacock Teal (#1C6466), Warm Sandstone (#C48A4A)
   Text Theme: Deep Velvet Wine (#7A203E), Regal Mulberry-Gold (#5A2735),
               Antique Zari Gold (#C89B3C), Warm Mulberry-Espresso (#4A353B)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Royal Pichwai & Lotus Palette */
  --color-ivory:              #FDF8F5;   /* primary background — soft pearl almond ivory */
  --color-base-white:         #FDF8F5;   /* primary canvas background */
  --color-saffron-wash:       #F5DCDD;   /* soft lotus watercolor bloom / blush wash */
  --color-saffron-tint:       #FAF3F0;   /* ultra-soft warm pearl blush */
  --color-saffron-soft:       rgba(245, 220, 221, 0.35);

  --color-card-white:         #FFFFFF;   /* pristine card surface */
  --color-mogra-white:        #FFFFFF;   /* pristine floral highlight */
  --color-cream-white:        #FFFDFB;   /* warm pearl cream */

  /* Text Color Theme: Royal Velvet Wine & Mulberry Espresso */
  --color-heading-primary:    #7A203E;   /* deep velvet wine (names, Shubh Vivah, main titles) */
  --color-heading-secondary:  #5A2735;   /* regal mulberry-gold (formal titles, filigree subheadings & parents) */
  --color-antique-gold:       #C89B3C;   /* antique zari gold (dates, venue names, arch borders & filigree) */
  --color-antique-gold-deep:  #A87C24;   /* hover / active gold */
  --color-antique-gold-soft:  rgba(200, 155, 60, 0.18);
  --color-ink-body:           #4A353B;   /* warm mulberry-espresso (body copy, details, RSVP text) */
  --color-ink-light:          #7A5E66;   /* tertiary text & captions */

  /* Saffron-Lotus Amber */
  --color-marigold:           #D97736;   /* warm saffron-lotus amber */
  --color-marigold-deep:      #B85C20;   /* hover / active amber */
  --color-marigold-soft:      rgba(217, 119, 54, 0.18);

  /* Lotus Rose / Gulabi & Primary CTAs */
  --color-coral-red:          #C44D68;   /* luxurious lotus rose / gulabi (flowers & primary button backgrounds) */
  --color-coral-deep:         #A6364E;   /* hover / active deep royal rose */
  --color-coral-soft:         rgba(196, 77, 104, 0.18);

  /* Foliage & Leaf Dividers: Pichwai Lotus Leaf / Moss Green */
  --color-olive-green:        #5E7A4A;   /* rich garden moss green (leaves & foliage border) */
  --color-olive-green-deep:   #435C33;   /* deep forest moss */
  --color-olive-green-soft:   rgba(94, 122, 74, 0.18);

  /* Peacock Feather Accents */
  --color-peacock-teal:       #1C6466;   /* royal peacock teal (feather eye accents & badges) */
  --color-peacock-teal-deep:  #12484A;   /* deep royal teal */
  --color-peacock-teal-soft:  rgba(28, 100, 102, 0.18);

  /* Temple Illustration Grounding Tones */
  --color-sandstone:          #C48A4A;   /* warm sandstone */
  --color-sandstone-deep:     #9E692D;   /* deep sandstone */

  /* Shadows & Devotional Diya Glows */
  --shadow-sm:                0 4px 14px rgba(74, 53, 59, 0.08);
  --shadow-md:                0 8px 26px rgba(74, 53, 59, 0.12);
  --shadow-lg:                0 16px 40px rgba(74, 53, 59, 0.16);
  --shadow-card:              0 12px 32px -4px rgba(122, 32, 62, 0.10);
  --shadow-glow-marigold:     0 0 24px rgba(217, 119, 54, 0.45);
  --shadow-glow-gold:         0 0 24px rgba(200, 155, 60, 0.42);
  --shadow-glow-coral:        0 0 24px rgba(196, 77, 104, 0.40);
  --shadow-diya:              0 0 14px rgba(217, 119, 54, 0.75), 0 0 28px rgba(200, 155, 60, 0.5);

  /* Typography: Vintage Jodhpur Monogram */
  --font-script:              'Parisienne', 'Italianno', cursive;
  --font-couple:              'Parisienne', 'Cookie-Regular', cursive;
  --font-heading:             'Baskervville', 'Castoro Titling', Georgia, serif;
  --font-serif:               'Baskervville', 'Cormorant Garamond', Georgia, 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-body);
  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-antique-gold, #C9962E) !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-couple {
  font-family: var(--font-couple);
}

.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-heading-primary);
  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(247, 244, 236, 0.94);
  border: 1px solid rgba(201, 150, 46, 0.45);
  box-shadow: 0 2px 10px rgba(90, 78, 58, 0.08);
  font-weight: 700;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "•";
  color: var(--color-olive-green);
  font-size: 1.1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 700;
  color: var(--color-heading-primary);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-ink-body);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.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-coral-red),
    var(--color-olive-green),
    var(--color-coral-red),
    transparent
  );
}

.lotus-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-red);
  filter: drop-shadow(0 2px 4px rgba(224, 96, 61, 0.25));
  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 6px rgba(201, 150, 46, 0.45));
}

.shloka-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-antique-gold);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   6. AMBIENT DRIFTING LEAVES (NATURAL TREE-LEAF FALLING PHYSICS)
   -------------------------------------------------------------------------- */
.ambient-petals-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
  overflow: hidden;
  contain: strict;
}

.falling-leaf {
  position: absolute;
  top: -75px;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  opacity: 1;
}

/* 3 Natural Leaf Descent Paths (Breeze Drift Variations) */
.falling-leaf.sway-type-1 {
  animation: leafDescent1 linear infinite;
}

.falling-leaf.sway-type-2 {
  animation: leafDescent2 linear infinite;
}

.falling-leaf.sway-type-3 {
  animation: leafDescent3 linear infinite;
}

/* Inner Fluttering Leaf - Optimized without heavy layer explosion or expensive drop-shadow filters */
.falling-leaf-img {
  object-fit: contain;
  display: block;
  pointer-events: none;
  transform-origin: 50% 30%;
}

.falling-leaf.sway-type-1 .falling-leaf-img {
  animation: leafFlutter1 3.4s ease-in-out infinite alternate;
}

.falling-leaf.sway-type-2 .falling-leaf-img {
  animation: leafFlutter2 4.2s ease-in-out infinite alternate;
}

.falling-leaf.sway-type-3 .falling-leaf-img {
  animation: leafFlutter3 3.8s ease-in-out infinite alternate;
}

/* 1. Downward descent with gentle rightward breeze drift */
@keyframes leafDescent1 {
  0% {
    transform: translate3d(0, -75px, 0);
  }
  100% {
    transform: translate3d(55px, 112vh, 0);
  }
}

/* 2. Downward descent with gentle leftward breeze drift */
@keyframes leafDescent2 {
  0% {
    transform: translate3d(0, -75px, 0);
  }
  100% {
    transform: translate3d(-45px, 112vh, 0);
  }
}

/* 3. Downward descent with centered fluttering path */
@keyframes leafDescent3 {
  0% {
    transform: translate3d(0, -75px, 0);
  }
  100% {
    transform: translate3d(20px, 112vh, 0);
  }
}

/* Flutter 1: Aerodynamic pendulum sway with natural roll */
@keyframes leafFlutter1 {
  0% {
    transform: translateX(-32px) rotate(-28deg) scaleX(0.88);
  }
  50% {
    transform: translateX(4px) rotate(6deg) scaleX(1);
  }
  100% {
    transform: translateX(34px) rotate(30deg) scaleX(0.88);
  }
}

/* Flutter 2: Wider tree-leaf sweeping swing with natural roll */
@keyframes leafFlutter2 {
  0% {
    transform: translateX(-44px) rotate(-34deg) scaleX(0.85);
  }
  50% {
    transform: translateX(8px) rotate(10deg) scaleX(1);
  }
  100% {
    transform: translateX(42px) rotate(36deg) scaleX(0.85);
  }
}

/* Flutter 3: Graceful floating flutter with gentle roll */
@keyframes leafFlutter3 {
  0% {
    transform: translateX(-24px) rotate(-22deg) scaleX(0.9);
  }
  50% {
    transform: translateX(10px) rotate(12deg) scaleX(1);
  }
  100% {
    transform: translateX(28px) rotate(24deg) scaleX(0.9);
  }
}

/* Pause animations during active user scrolling to grant 100% GPU/CPU to 60fps gesture scrolling */
body.is-scrolling .falling-leaf,
body.is-scrolling .falling-leaf-img,
body.is-scrolling .falling-flower,
body.is-scrolling .petal {
  animation-play-state: paused !important;
}



/* --------------------------------------------------------------------------
   6B. PAGE SCROLL LOCK & REUSABLE ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
body.scroll-locked {
  overflow: hidden !important;
  touch-action: none !important;
  height: 100vh !important;
  height: 100dvh !important;
}

@keyframes entrancePulse {
  0% {
    transform: scale(0.92);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.68);
    opacity: 0;
  }
}

@keyframes capsuleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* --------------------------------------------------------------------------
   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-base-white);
  border: 2px solid var(--color-antique-gold);
  color: var(--color-heading-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md), 0 0 15px rgba(201, 150, 46, 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 20px rgba(201, 150, 46, 0.45);
}

.music-toggle-btn.is-playing {
  animation: musicSpin 8s linear infinite;
  border-color: var(--color-antique-gold);
  color: var(--color-antique-gold);
}

@keyframes musicSpin {
  100% { transform: rotate(360deg); }
}

.music-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-ink-body);
  color: var(--color-mogra-white);
  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: UNIFIED ENTRANCE VIDEO & ANIMATED HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  background-color: #1A0D07;
  padding: calc(env(safe-area-inset-top, 0px) + 1.25rem) 1rem calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
}

/* Video & Backdrop Stage (Zero-flicker stack) */
.hero-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Layer 1: High-Resolution Static Final Frame (Permanent Backdrop) */
.hero-bg-final {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Layer 2: Entrance Video Player (Full-screen Cover Mode) */
.hero-entrance-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
  pointer-events: none;
  display: block;
  transition: opacity 0.6s ease-out;
}

.hero-entrance-video.is-ended {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Layer 3: High-Resolution Static Initial Cover Image (Doors/Curtain Closed) */
.hero-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 3;
  pointer-events: none;
  display: block;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cover-img.is-faded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Layer 4: Subtle Dark Contrast Overlay (Scrim / Vignette - Fades in at 6s) */
.hero-contrast-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: 
    radial-gradient(ellipse at 50% 46%, rgba(20, 10, 5, 0.10) 0%, rgba(16, 7, 3, 0.35) 68%, rgba(10, 4, 1, 0.55) 100%),
    linear-gradient(to bottom, rgba(22, 10, 4, 0.30) 0%, transparent 25%, transparent 70%, rgba(12, 5, 2, 0.50) 100%);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.hero-contrast-overlay.is-visible {
  opacity: 1;
}

.hero-contrast-overlay.instant {
  transition: none !important;
  opacity: 1 !important;
}

/* Initial Cover Interactive Tap Action (Shifted Downwards by 60px) */
.hero-entry-action {
  position: absolute;
  top: calc(50% + 60px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  cursor: pointer;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.hero-entry-action.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.hero-entry-action.is-hidden * {
  animation-play-state: paused !important;
}

/* Circular Tap Button with Ripple Rings */
.hero-entry-btn {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-entry-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  animation: entrancePulse 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

.hero-entry-ring-2 {
  animation-delay: 0.9s;
  border-color: rgba(240, 201, 137, 0.7);
}

/* Glassmorphism Circular Tap Card - Optimized blur kernel for mobile */
.hero-entry-circle {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 24px rgba(240, 201, 137, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-entry-lotus {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(240, 201, 137, 0.8));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-entry-action:hover .hero-entry-circle {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1px 4px rgba(255, 255, 255, 1), 0 0 36px rgba(240, 201, 137, 0.7);
}

.hero-entry-action:hover .hero-entry-lotus {
  transform: scale(1.12);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 16px rgba(240, 201, 137, 1));
}

.hero-entry-action:active .hero-entry-circle {
  transform: scale(0.95);
}

/* Tap to Open Invitation Text - Placed without Capsule, Slightly Bolder */
.hero-entry-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap;
  animation: entryTextGlow 2.8s ease-in-out infinite alternate;
}

.hero-entry-text span:not(.hero-sparkle) {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900; /* Extra bold as requested */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  -webkit-text-stroke: 0.5px #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.9), 0 0 14px rgba(240, 201, 137, 0.8);
}

.hero-sparkle {
  font-size: 0.95rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

@keyframes entryTextGlow {
  0% {
    transform: translateY(0);
    opacity: 0.92;
  }
  100% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   TIMED HERO CONTENT REVEAL (Staggered Animation at 6-Second Mark)
   -------------------------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  padding: 1rem 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

.hero-content.is-revealed {
  opacity: 1;
  pointer-events: auto;
}

/* Staggered Item Animations */
.stagger-item {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--stagger-order, 1) * 0.12s);
}

.hero-content.is-revealed .stagger-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-content.instant .stagger-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 1. Auspicious Shree Ganesh Shloka */
.hero-shloka-wrap {
  margin-bottom: 0.25rem;
}

.hero-section .shree-ganesh {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.hero-section .ganesh-icon {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(240, 201, 137, 0.7));
}

.hero-section .shloka-text {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(240, 201, 137, 0.7);
}

/* 2. Divine Blessings & Tagline */
.hero-section .hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFDF9;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  background: transparent;
  padding: 0;
}

.hero-section .hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 700;
  margin: 0.2rem 0 0.1rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 22px rgba(240, 201, 137, 0.75);
}

/* 3. Royal Couple Names */
.hero-section .hero-names {
  font-family: var(--font-couple);
  font-weight: 400;
  font-size: clamp(3.6rem, 11vw, 6.2rem);
  line-height: 1.02;
  color: #FFFDF9;
  margin: 0.15rem 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.9), 0 0 35px rgba(240, 201, 137, 0.6);
}

.hero-section .hero-names .hero-name {
  display: inline;
}

.hero-section .hero-names .ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.72em;
  color: #F0C989;
  margin: 0 0.18em;
  display: inline-block;
  vertical-align: middle;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(232, 145, 46, 0.6);
}

/* 4. Floating Scroll Indicator Badge */
.hero-section .hero-scroll-indicator {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hero-section .hero-scroll-indicator:hover {
  transform: 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-heading-secondary);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-coral-red);
  box-shadow: 0 2px 10px rgba(90, 78, 58, 0.12), 0 0 12px rgba(240, 201, 137, 0.6);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.scroll-arrow-icon {
  color: var(--color-antique-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: #ffffff;
  color: var(--color-heading-primary);
  border-color: var(--color-heading-primary);
  box-shadow: 0 5px 18px rgba(138, 74, 46, 0.22), 0 0 20px rgba(255, 255, 255, 1);
}

.hero-scroll-indicator:hover .scroll-arrow-icon,
.section-scroll-indicator:hover .scroll-arrow-icon {
  color: var(--color-heading-primary);
}

@keyframes heroArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* Mobile & Tablet Specific Layout Tweaks */
@media (max-width: 767px) {
  /* Reduce left & right padding by 25px on mobile */
  .hero-section,
  #hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-content {
    padding-left: 11px;
    padding-right: 11px;
  }

  .hero-entry-btn {
    width: 76px;
    height: 76px;
  }

  .hero-entry-circle {
    width: 72px;
    height: 72px;
  }

  .hero-entry-lotus svg {
    width: 28px;
    height: 28px;
  }

  .hero-entry-text span:not(.hero-sparkle) {
    font-size: 1.08rem;
    letter-spacing: 0.14em;
    font-weight: 900;
    -webkit-text-stroke: 0.4px #FFFFFF;
  }

  /* Three-line couple name layout on mobile */
  .hero-section .hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.94;
    gap: 0;
    font-size: clamp(3rem, 12vw, 4.4rem);
    margin: 0.35rem 0 0.15rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 14px rgba(240, 201, 137, 0.5);
  }

  .hero-section .hero-names .hero-name {
    display: block;
    line-height: 0.95;
  }

  .hero-section .hero-names .ampersand {
    display: block;
    font-size: 0.58em;
    line-height: 0.95;
    margin: 0.1rem auto;
  }

  .scroll-indicator-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
    gap: 0.35rem;
  }

  /* Mobile screen height > 800px (tall smartphones): slightly increase font size of all hero text content */
  @media (min-height: 800px) {
    .hero-section .ganesh-icon {
      width: 56px;
    }

    .hero-section .shloka-text {
      font-size: 1.22rem;
    }

    .hero-section .hero-eyebrow {
      font-size: 1rem;
      margin-bottom: 0.35rem;
    }

    .hero-section .hero-tagline {
      font-size: clamp(1.2rem, 3.4vw, 1.65rem);
      margin: 0.35rem 0 0.2rem;
    }

    .hero-section .hero-names {
      font-size: clamp(3.68rem, 14.5vw, 5.2rem);
      margin: 0.45rem 0 0.25rem;
    }

    .scroll-indicator-badge {
      font-size: 0.78rem;
      padding: 0.32rem 0.88rem;
    }
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: calc(env(safe-area-inset-top, 0px) + 2rem);
    padding-bottom: 2.5rem;
  }

  .hero-names {
    display: block;
    font-size: clamp(4.2rem, 7.5vw, 6.8rem);
    line-height: 1.05;
  }

  .hero-names .hero-name {
    display: inline;
  }

  .hero-names .ampersand {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.15em;
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .hero-entry-ring {
    animation: none !important;
  }
  .hero-entry-capsule,
  .hero-entry-text {
    animation: none !important;
  }
  .hero-contrast-overlay {
    transition: none !important;
  }
  .stagger-item {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-arrow-icon {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   9. SHARED SECTION BACKGROUND ROTATION (MOBILE & DESKTOP SPANNING)
   Ensures background images span the entire section seamlessly
   -------------------------------------------------------------------------- */
/* 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 4 (Formal Invitation Message) */
.bg-pattern-2,
#invitation {
  background-image: url('Assets/bg2_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .bg-pattern-2,
  #invitation {
    background-image: url('Assets/bg2_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Pattern 3: Section 4 (Couple Intro) */
#couple.bg-pattern-3,
#couple,
.bg-pattern-3 {
  background-image: url('Assets/bg_extre_both.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  #couple.bg-pattern-3,
  #couple,
  .bg-pattern-3 {
    background-image: url('Assets/bg_extre_both.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,
#events {
  background-image: url('Assets/bg3_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  #events.bg-pattern-1,
  #events {
    background-image: url('Assets/bg3_desktop.webp');
    background-position: center center;
    background-size: cover;
  }
}

/* Section 8 (Gallery) - Centered & Full Spanning */
#gallery.bg-pattern-3,
#gallery {
  background-image: url('Assets/bg_extre_both.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  #gallery.bg-pattern-3,
  #gallery {
    background-image: url('Assets/bg_extre_both.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,
  #scratch-card,
  #invitation,
  #couple,
  #story,
  #events,
  #gallery,
  #rsvp {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
}


.scratch-section,
#scratch-card {
  text-align: center;
  background-image: url('Assets/bg_extra_mobile.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: calc(5rem + 100px);
  padding-bottom: calc(5rem - 50px);
}

@media (min-width: 768px) {
  .scratch-section,
  #scratch-card {
    background-image: url('Assets/bg_extra_desktop.webp');
    background-position: center center;
    background-size: cover;
    padding-top: calc(6.5rem + 100px);
    padding-bottom: calc(6.5rem - 50px);
  }
}

/* Standalone Live Countdown Section (Strictly NO Background Image) */
.countdown-standalone-section,
#wedding-countdown {
  background-color: var(--color-ivory, #F7F4EC) !important;
  background-image: none !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(5rem - 40px);
  padding-bottom: calc(5rem - 40px);
}

@media (min-width: 768px) {
  .countdown-standalone-section,
  #wedding-countdown {
    padding-top: calc(6.5rem - 40px);
    padding-bottom: calc(6.5rem - 40px);
  }
}

.countdown-standalone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
}

.mobile-line-break {
  display: inline;
}

@media (max-width: 767px) {
  .scratch-section .section-title .mobile-line-break,
  .scratch-section .section-subtitle .mobile-line-break,
  .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: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 6px 16px rgba(140, 61, 26, 0.20));
}

@media (max-width: 767px) {
  .scratch-card-wrapper {
    filter: drop-shadow(0 4px 10px rgba(140, 61, 26, 0.16));
  }
}

.scratch-card-container {
  position: relative;
  width: 360px;
  height: 330px;
  max-width: 90vw;
  margin: 0 auto;
  clip-path: url(#scratch-heart-clip);
  -webkit-clip-path: url(#scratch-heart-clip);
  background: var(--color-cream-white);
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
}

/* Revealed Content (underneath the canvas foil) */
.scratch-revealed-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.25rem 1.75rem calc(1.25rem + 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF5EB 100%);
  border-radius: 0;
}

.scratch-save-tag {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-antique-gold);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.scratch-date-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-size: clamp(1.4rem, 4.2vw, 2.05rem);
  font-weight: 700;
  color: var(--color-heading-primary);
  margin-bottom: 0.2rem;
  line-height: 1.15;
}

.scratch-city-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-body);
  font-weight: 600;
  margin-bottom: 0;
}

.scratch-revealed-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-heading-primary);
  max-width: 420px;
  line-height: 1.45;
  margin-top: 0.25rem;
}

/* Standalone Live Countdown - Minimalist Unboxed Typography */
.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 3.2vw, 2.2rem);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-box,
.countdown-item {
  flex: 1;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.4rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  min-width: 0;
}

.countdown-box::before,
.countdown-item::before {
  display: none !important;
}

.countdown-box:hover,
.countdown-item:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Elegant Colon Separator with Chronometer Pulse */
.countdown-colon {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 400;
  color: var(--color-antique-gold);
  line-height: 1;
  margin-top: -1.35rem; /* Offsets label height to center between numbers */
  opacity: 0.55;
  user-select: none;
  animation: colonTick 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes colonTick {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 7vw, 3.75rem);
  font-weight: 700;
  color: var(--color-heading-primary);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(122, 32, 62, 0.08);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 2;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-antique-gold);
  margin-top: 0.65rem;
  font-weight: 600;
}

/* Unique Kinetic Second Number Stage */
.countdown-seconds-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  perspective: 700px;
}

.countdown-num-seconds {
  color: var(--color-coral-red);
  position: relative;
  z-index: 2;
  display: inline-block;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

/* 3D Tumbling Kinetic Tick Animation on Every Second */
.countdown-num-seconds.sec-tick {
  animation: secondKineticTick 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes secondKineticTick {
  0% {
    transform: translateY(22px) scale(0.82) rotateX(-35deg);
    opacity: 0.15;
    filter: blur(1.5px) drop-shadow(0 0 16px rgba(200, 155, 60, 0.9));
    color: var(--color-antique-gold);
  }
  45% {
    transform: translateY(-3px) scale(1.08) rotateX(8deg);
    opacity: 1;
    filter: blur(0px) drop-shadow(0 0 12px rgba(200, 155, 60, 0.75));
    color: var(--color-coral-red);
  }
  75% {
    transform: translateY(1px) scale(0.99) rotateX(-2deg);
    filter: drop-shadow(0 0 6px rgba(200, 155, 60, 0.4));
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
    filter: none;
    color: var(--color-coral-red);
  }
}

/* Radiant Golden Aura Pulse behind the Seconds Number */
.countdown-sec-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.45) 0%, rgba(196, 77, 104, 0.18) 45%, transparent 72%);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  z-index: 1;
}

.countdown-sec-pulse.is-active {
  animation: secAuraRipple 0.75s cubic-bezier(0.1, 0.9, 0.3, 1) forwards;
}

@keyframes secAuraRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.45);
    opacity: 0.95;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    gap: 0.35rem;
  }
  .countdown-box,
  .countdown-item {
    padding: 0.2rem 0 !important;
  }
  .countdown-colon {
    font-size: 1.6rem;
    margin-top: -1.05rem;
  }
  .countdown-num {
    font-size: clamp(1.85rem, 7.8vw, 2.45rem);
  }
  .countdown-label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-top: 0.4rem;
  }
  .countdown-sec-pulse {
    width: 44px;
    height: 44px;
  }
}

/* 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;
  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: linear-gradient(135deg, var(--color-antique-gold), var(--color-coral-red));
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(224, 96, 61, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.btn-reveal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(224, 96, 61, 0.55);
  color: #FFFFFF;
}

.scratch-hint {
  font-size: 0.8rem;
  color: var(--color-ink-light);
}

/* --------------------------------------------------------------------------
   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(255, 255, 255, 0.95) 0%, rgba(247, 244, 236, 0.9) 55%, rgba(240, 201, 137, 0.4) 80%, transparent 100%);
  font-size: 1.05rem;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: var(--color-heading-primary);
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .invitation-content-wrap .shloka-text {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Mobile view only with screen height > 850px (e.g. tall smartphones): Increase left & right padding by 25px */
@media (max-width: 767px) and (min-height: 850px) {
  #invitation {
    padding-left: 25px;
    padding-right: 25px;
  }
}

.invitation-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: var(--color-ink-body);
  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 6px rgba(255, 255, 255, 0.9);
}

.invitation-person-block {
  margin: 0.85rem 0;
}

.invitation-person-name {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 4.2rem;
  font-size: clamp(3.2rem, 9vw, 5.2rem);
  color: var(--color-heading-primary);
  line-height: 1.18;
  margin-bottom: 0.15rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
}

.invitation-person-parents {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-size: clamp(1.05rem, 2.8vw, 1.4rem);
  color: var(--color-heading-primary);
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

.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-antique-gold);
  line-height: 1;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

.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-ink-body);
  line-height: 1.45;
  max-width: 660px;
  margin: 0 auto;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   12. SECTION 4: COUPLE INTRO (BRIDE & GROOM)
   -------------------------------------------------------------------------- */
#couple .section-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Light White Fade Texture Behind "The Bride & Groom" */
#couple .section-title {
  position: relative;
  display: inline-block;
  padding: 0.4rem 2rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

#couple .section-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 80px);
  height: calc(100% + 32px);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.25) 75%, transparent 100%);
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
}

#couple .section-subtitle {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  #couple .section-title {
    padding: 0.25rem 1rem;
  }

  #couple .section-title::before {
    width: calc(100% + 40px);
    height: calc(100% + 20px);
  }
}

.couple-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 768px) {
  .couple-intro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 840px;
  }
}

.couple-card {
  background: transparent;
  border-radius: 0;
  padding: 0.25rem 0.75rem;
  text-align: center;
  box-shadow: none;
  border: none;
}

@media (hover: hover) and (pointer: fine) {
  .couple-card {
    transition: transform var(--transition-normal);
  }
  .couple-card:hover {
    transform: translateY(-4px);
  }
}

.portrait-arch-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 1rem;
}

/* Arch Shaped Portrait Frame */
.portrait-arch-frame {
  width: 190px;
  height: 250px;
  margin: 0;
  border-radius: 95px 95px 16px 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.10);
  border: 4px solid var(--color-base-white);
  outline: 2px solid var(--color-antique-gold);
}

.portrait-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (hover: hover) and (pointer: fine) {
  .portrait-arch-img {
    transition: transform var(--transition-slow);
  }
  .couple-card:hover .portrait-arch-img {
    transform: scale(1.05);
  }
}

.person-role {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(247, 244, 236, 0.95);
  border: 1.5px solid var(--color-antique-gold);
  border-radius: var(--radius-full);
  padding: 3px 14px;
  font-family: var(--font-serif);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-antique-gold);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.10);
  z-index: 2;
  margin-bottom: 0;
}

.person-name {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: 3.2rem;
  color: var(--color-heading-primary);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.person-bio {
  font-size: 0.95rem;
  color: var(--color-ink-body);
  line-height: 1.4;
  max-width: 320px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.person-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-heading-primary);
  border-top: 1px dashed rgba(201, 150, 46, 0.5);
  padding-top: 0.85rem;
}

@media (max-width: 767px) {
  .couple-intro-grid {
    gap: 1.25rem;
  }

  .portrait-arch-frame {
    width: 165px;
    height: 220px;
    margin-bottom: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   INTERACTIVE ASHIRWAD (FLOWER SHOWER & BLESSING COUNTER)
   -------------------------------------------------------------------------- */
/* Circular Interactive Ashirwad Unit at Right Edge of Couple Cards */
.ashirwad-action-unit {
  position: absolute;
  right: -74px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 10;
  pointer-events: auto;
}

.btn-ashirwad-circle {
  position: relative;
  right: auto;
  bottom: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-coral-red) 0%, var(--color-coral-deep) 100%);
  border: 2px solid #FFF8EE;
  box-shadow: 0 4px 14px var(--color-coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ashirwad-circle {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  }
  .btn-ashirwad-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px var(--shadow-glow-coral);
    border-color: #FFFFFF;
  }
  .btn-ashirwad-circle:hover .btn-ashirwad-petal-icon {
    transform: rotate(20deg) scale(1.1);
  }
}

.btn-ashirwad-circle:active {
  transform: scale(0.92);
}

.btn-ashirwad-circle .btn-ashirwad-petal-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Pulsing Radiant Ring */
.ashirwad-circle-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 145, 46, 0.65);
  animation: ashirwadPulseRing 2.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes ashirwadPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Clean Look Instruct Text (No Capsule, Slightly Tilted) */
.ashirwad-instruct-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading-primary);
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.2;
  display: inline-block;
  transform: rotate(-7deg);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
}

/* Blessed halo reaction on Bride & Groom portrait arch frames */
.portrait-arch-frame.is-blessed {
  animation: blessedHaloGlow 1.2s ease-out;
}

@keyframes blessedHaloGlow {
  0% {
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.10);
    outline-color: var(--color-antique-gold);
  }
  30% {
    box-shadow: 0 0 18px rgba(232, 145, 46, 0.65);
    outline-color: #E8912E;
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.10);
    outline-color: var(--color-antique-gold);
    transform: scale(1);
  }
}

/* Showering Flower Petal Elements */
.falling-ashirwad-petal {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 28px;
  height: auto;
  will-change: transform, opacity;
  animation: fallAshirwadPetal linear forwards;
}

@keyframes fallAshirwadPetal {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.7);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg) scale(1);
  }
}

@media (max-width: 767px) {
  .portrait-arch-wrap {
    margin: 0 auto 0.75rem;
  }

  .ashirwad-action-unit {
    right: -66px;
    bottom: 4px;
    gap: 15px;
  }

  .btn-ashirwad-circle {
    width: 42px;
    height: 42px;
  }

  .btn-ashirwad-circle .btn-ashirwad-petal-icon {
    font-size: 1.15rem;
  }

  .ashirwad-instruct-text {
    font-size: 0.62rem;
    padding: 0;
    letter-spacing: 0.06em;
  }
}

/* --------------------------------------------------------------------------
   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(201, 150, 46, 0.3);
  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, var(--color-coral-red), var(--color-marigold), var(--color-antique-gold));
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(201, 150, 46, 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-antique-gold);
}

/* Stepper Circle Indicator */
.stepper-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-cream-white);
  border: 2.5px solid rgba(201, 150, 46, 0.55);
  color: var(--color-ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.08);
  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(30, 41, 59, 0.12));
  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-antique-gold);
  transition: color var(--transition-fast);
}

.stepper-label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-heading-primary);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

/* Active State */
.stepper-btn.is-active .stepper-indicator {
  background: linear-gradient(135deg, var(--color-coral-red), var(--color-antique-gold));
  color: var(--color-base-white);
  border-color: var(--color-antique-gold);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(201, 150, 46, 0.45), 0 4px 12px rgba(90, 78, 58, 0.15);
}

.stepper-btn.is-active .stepper-emoji {
  transform: scale(1.12);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.stepper-btn.is-active .stepper-date {
  color: var(--color-heading-primary);
  font-weight: 700;
}

.stepper-btn.is-active .stepper-label {
  color: var(--color-heading-primary);
  font-weight: 700;
}

/* Completed State */
.stepper-btn.is-completed .stepper-indicator {
  background: var(--color-coral-soft);
  border-color: var(--color-antique-gold);
  color: var(--color-antique-gold);
}

/* Story Cards Viewport (Only the active card is displayed) */
.story-viewport {
  max-width: 612px;
  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: rgba(253, 250, 243, 0.96);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  box-shadow: 0 8px 24px rgba(140, 61, 26, 0.10);
  border: 1.5px solid rgba(201, 150, 46, 0.45);
  text-align: center;
  overflow: hidden;
}

/* Couple Image Royal Arch inside Story Card */
.story-card-img-frame {
  width: 119px;
  height: 148px;
  margin: 0 auto 1.05rem;
  border-radius: 60px 60px 12px 12px;
  overflow: hidden;
  border: 2.5px solid var(--color-antique-gold);
  box-shadow: 0 4px 14px rgba(140, 61, 26, 0.12);
  background-color: var(--color-base-white);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .story-card-img-frame {
    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 8px 20px rgba(140, 61, 26, 0.18);
    border-color: var(--color-heading-primary);
  }
}

.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: 4.8rem;
  color: rgba(201, 150, 46, 0.15);
  pointer-events: none;
  user-select: none;
}

.story-card-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-heading-primary);
  background: rgba(240, 201, 137, 0.35);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
  border: 1px solid rgba(201, 150, 46, 0.45);
}

.story-card-date {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-antique-gold);
  margin-bottom: 0.3rem;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-heading-primary);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.story-card-desc {
  font-size: 0.94rem;
  color: var(--color-ink-body);
  line-height: 1.7;
  max-width: 510px;
  margin: 0 auto;
}

/* Stepper Bottom Navigation Bar */
/* Side Chevron Navigation Buttons (Outstanding Luxury Gold-Crimson Badges) */
.story-side-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-antique-gold) 0%, var(--color-coral-red) 100%);
  border: 2.5px solid var(--color-ivory);
  outline: 2px solid var(--color-antique-gold);
  outline-offset: 2px;
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--color-coral-soft);
  z-index: 12;
  -webkit-tap-highlight-color: transparent;
}

.story-side-chevron svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.8;
}

@media (hover: hover) and (pointer: fine) {
  .story-side-chevron {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                background 0.25s ease;
  }
  .story-side-chevron:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-marigold) 0%, var(--color-coral-deep) 100%);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-glow-coral);
    outline-color: var(--color-antique-gold-deep);
  }
}

.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(201, 150, 46, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot.is-active {
  width: 26px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-coral-red), var(--color-antique-gold));
}

/* 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.55rem 1.05rem;
  }

  .story-card-img-frame {
    width: 98px;
    height: 124px;
    border-radius: 50px 50px 10px 10px;
    margin-bottom: 0.85rem;
  }
  
  .story-card-title {
    font-size: 1.45rem;
  }
  
  .story-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

@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(224, 96, 61, 0.4), 0 0 14px rgba(201, 150, 46, 0.45);
  }
  .story-side-chevron svg {
    width: 18px;
    height: 18px;
  }
}


/* --------------------------------------------------------------------------
   SECTION DIVIDER BANNER IMAGE
   -------------------------------------------------------------------------- */
.section-divider-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  display: block;
  z-index: 2;
}

.section-divider-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------------------
   14. SECTION 6: WEDDING EVENT DETAILS (EDITORIAL ARCHWAY STAGGER)
   -------------------------------------------------------------------------- */
.events-stagger-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* Event Row Container */
.event-stagger-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

/* Boxless Free-Standing Event Image Media */
.event-stagger-media {
  position: relative;
  width: 100%;
  max-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.event-stagger-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(140, 61, 26, 0.16));
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.event-stagger-row:hover .event-stagger-img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 10px 22px rgba(140, 61, 26, 0.24));
}

/* Event Info Details */
.event-stagger-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  width: 100%;
}

.event-tag {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  color: #F7F4EC;
  background: linear-gradient(135deg, var(--color-antique-gold), var(--color-coral-red));
  box-shadow: 0 3px 10px rgba(140, 61, 26, 0.16);
}

.event-meta-list {
  list-style: none;
  margin: 0.4rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  padding: 0;
  width: 100%;
}

.event-meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: var(--color-ink-body);
  line-height: 1.45;
}

.event-meta-icon {
  width: 17px;
  height: 17px;
  color: var(--color-antique-gold);
  flex-shrink: 0;
}

.event-attire {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--color-heading-primary);
  text-align: center;
  padding-top: 0.6rem;
  margin-bottom: 0.9rem;
  border-top: 1px dashed rgba(201, 150, 46, 0.4);
  line-height: 1.5;
}

/* Event Specific Celebration Themes */
.event-stagger--haldi .event-tag {
  background: linear-gradient(135deg, #E8912E, #C9962E);
}
.event-stagger--haldi .event-meta-icon {
  color: #E8912E;
}

.event-stagger--sangeet .event-tag {
  background: linear-gradient(135deg, #1F6B6B, #154B4B);
}
.event-stagger--sangeet .event-meta-icon {
  color: var(--color-peacock-teal);
}

.event-stagger--wedding .event-tag {
  background: linear-gradient(135deg, var(--color-coral-red), var(--color-antique-gold));
}
.event-stagger--wedding .event-meta-icon {
  color: var(--color-coral-red);
}

.event-stagger--reception .event-tag {
  background: linear-gradient(135deg, var(--color-olive-green), var(--color-olive-green-deep));
}
.event-stagger--reception .event-meta-icon {
  color: var(--color-olive-green);
}

/* Row Lotus Dividers */
.event-row-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 480px;
  margin: 0.25rem auto;
}

.event-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 150, 46, 0.55), transparent);
}

.event-divider-lotus {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 2px 6px rgba(224, 96, 61, 0.25));
  user-select: none;
}

/* --------------------------------------------------------------------------
   15. EVENT VENUE DETAIL BUTTON & POPUP MODAL CARD (CLEAN LOOK)
   -------------------------------------------------------------------------- */
.btn-event-venue {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  min-width: 150px;
  padding: 0.48rem 1.15rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(224, 96, 61, 0.6);
  border-radius: var(--radius-full);
  color: var(--color-heading-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn-event-venue * {
  pointer-events: none;
}

.btn-event-venue:hover {
  background: var(--color-antique-gold);
  color: #F7F4EC;
  border-color: var(--color-antique-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 14px rgba(201, 150, 46, 0.25);
}

.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);
}

/* Desktop Staggered Layout (Min-Width 768px) */
@media (min-width: 768px) {
  .events-stagger-list {
    gap: 3.25rem;
  }

  .event-stagger-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
    align-items: center;
    text-align: left;
  }

  .event-stagger-info {
    align-items: flex-start;
    text-align: left;
  }

  .event-meta-list {
    align-items: flex-start;
  }

  .event-meta-item {
    justify-content: flex-start;
  }

  .event-attire {
    text-align: left;
    width: 100%;
  }

  /* Alternating Right-Aligned Row */
  .event-stagger-row--reverse {
    grid-template-columns: 1fr 280px;
  }

  .event-stagger-row--reverse .event-stagger-media {
    order: 2;
  }

  .event-stagger-row--reverse .event-stagger-info {
    order: 1;
    align-items: flex-end;
    text-align: right;
  }

  .event-stagger-row--reverse .event-tag {
    margin-left: auto;
  }

  .event-stagger-row--reverse .event-meta-list {
    align-items: flex-end;
  }

  .event-stagger-row--reverse .event-meta-item {
    justify-content: flex-end;
  }

  .event-stagger-row--reverse .event-attire {
    text-align: right;
  }
}

/* Mobile Alternating Side-by-Side Layout for Events */
@media (max-width: 767px) {
  .events-stagger-list {
    gap: 1.4rem;
    padding: 0;
  }

  .event-stagger-row {
    display: grid;
    grid-template-columns: clamp(100px, 30vw, 130px) 1fr;
    gap: 0.85rem;
    align-items: center;
    text-align: left;
    width: 100%;
  }

  .event-stagger-media {
    width: 100%;
    max-width: 130px;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .event-stagger-img {
    width: 100%;
    max-width: 130px;
    height: calc(clamp(100px, 30vw, 130px) + 30px);
    aspect-ratio: unset;
    object-fit: contain;
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 4px 12px rgba(140, 61, 26, 0.16));
  }

  .event-stagger-info {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .event-tag {
    font-size: 0.68rem;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
  }

  .event-meta-list {
    align-items: flex-start;
    margin: 0.15rem 0 0.35rem;
    gap: 0.22rem;
  }

  .event-meta-item {
    font-size: 0.80rem;
    gap: 0.4rem;
    justify-content: flex-start;
    text-align: left;
    line-height: 1.35;
  }

  .event-meta-icon {
    width: 14px;
    height: 14px;
  }

  .event-attire {
    text-align: left;
    padding-top: 0.4rem;
    font-size: 0.76rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    width: 100%;
  }

  .btn-event-venue {
    padding: 0.32rem 0.75rem;
    font-size: 0.72rem;
    min-width: auto;
    width: auto;
    align-self: flex-start;
    margin-top: 0;
  }

  /* Mobile Alternate Reverse Row: Text Details on Left, Arch Image on Right */
  .event-stagger-row--reverse {
    grid-template-columns: 1fr clamp(100px, 30vw, 130px);
  }

  .event-stagger-row--reverse .event-stagger-media {
    order: 2;
  }

  .event-stagger-row--reverse .event-stagger-info {
    order: 1;
    align-items: flex-end;
    text-align: right;
  }

  .event-stagger-row--reverse .event-tag {
    margin-left: auto;
  }

  .event-stagger-row--reverse .event-meta-list {
    align-items: flex-end;
  }

  .event-stagger-row--reverse .event-meta-item {
    justify-content: flex-end;
    text-align: right;
  }

  .event-stagger-row--reverse .event-attire {
    text-align: right;
  }

  .event-stagger-row--reverse .btn-event-venue {
    align-self: flex-end;
  }

  .event-row-divider {
    margin: 0.35rem auto;
    gap: 0.75rem;
  }

  .event-divider-lotus {
    font-size: 1.1rem;
  }
}

/* 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(42, 24, 16, 0.82);
  -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-cream-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(201, 150, 46, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
  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(224, 96, 61, 0.18);
  border: 1px solid rgba(224, 96, 61, 0.35);
  color: var(--color-heading-primary);
  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-heading-primary);
  color: #FFFFFF;
  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: var(--color-heading-primary);
  background: rgba(240, 201, 137, 0.4);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(201, 150, 46, 0.4);
}

.venue-modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-heading-primary);
  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-antique-gold);
  margin-bottom: 0.5rem;
}

.venue-modal-address {
  font-size: 0.88rem;
  color: var(--color-ink-body);
  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-antique-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(201, 150, 46, 0.5);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  background: var(--color-base-white);
}

.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-ink-light);
  line-height: 1.45;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--color-coral-red), var(--color-antique-gold));
  color: #F7F4EC;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(224, 96, 61, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
  text-decoration: none;
}

.btn-directions:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-antique-gold-deep), var(--color-coral-deep));
  color: #F7F4EC;
  box-shadow: 0 6px 18px rgba(224, 96, 61, 0.45);
}

/* 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 (SEAMLESS CINEMA FILMSTRIP & GOLD SCRUBBER)
   -------------------------------------------------------------------------- */
.filmstrip-gallery-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 0;
  overflow: hidden;
}

/* Horizontal Cinema Filmstrip Track Container */
.filmstrip-track-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 1.25rem 0 1.75rem;
  touch-action: pan-x pan-y;
  outline: none;
}

.filmstrip-track-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.filmstrip-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 max(1.5rem, calc(50vw - 160px));
  width: max-content;
  position: relative;
  z-index: 2;
  transform: translateZ(0);
}

/* Individual Cinema Filmstrip Card (Lightweight GPU Layer) */
.filmstrip-card {
  position: relative;
  flex: 0 0 310px;
  width: 310px;
  height: 420px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: 16px;
  overflow: hidden;
  background: #1A1009;
  border: 1.5px solid rgba(201, 150, 46, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transform: translateZ(0);
  contain: layout paint;
  transition: transform 0.25s ease, border-color 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.filmstrip-card:hover,
.filmstrip-card.is-active {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  border-color: rgba(201, 150, 46, 0.95);
  z-index: 5;
}

/* Film Sprocket Perforation Accents - Hidden for clean performance */
.filmstrip-sprockets {
  display: none;
}

/* Top Photo Index Badge (Lightweight Solid Backdrop) */
.filmstrip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 12, 7, 0.88);
  border: 1px solid rgba(201, 150, 46, 0.65);
  color: #F7F4EC;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.badge-sparkle {
  font-size: 0.75rem;
  color: var(--color-marigold);
}

/* Media Box */
.filmstrip-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #180D07;
}

.filmstrip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s ease;
}

.filmstrip-card:hover .filmstrip-img {
  transform: scale(1.04);
}

/* Zoom Enlarge Trigger Button (Lightweight Solid Backdrop) */
.filmstrip-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 12, 7, 0.88);
  border: 1px solid rgba(201, 150, 46, 0.65);
  color: #F7F4EC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
  outline: none;
  z-index: 4;
}

.filmstrip-zoom-btn:hover {
  background: var(--color-antique-gold);
  color: #FFFFFF;
  border-color: var(--color-antique-gold);
  transform: scale(1.08);
}

/* Filmstrip Bottom Caption Overlay (Streamlined Gradient) */
.filmstrip-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(16, 9, 5, 0.92) 0%, rgba(16, 9, 5, 0.55) 70%, transparent 100%);
  padding: 1.8rem 1.15rem 1.15rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
}

.filmstrip-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Controls & Interactive Gold Scrubber Bar */
.filmstrip-controls-wrap {
  width: 100%;
  max-width: 560px;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.filmstrip-controls {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.filmstrip-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-cream-white);
  border: 1.5px solid rgba(201, 150, 46, 0.65);
  color: var(--color-heading-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.filmstrip-nav-btn:hover {
  background: var(--color-antique-gold);
  color: #FFFFFF;
  border-color: var(--color-antique-gold);
  transform: scale(1.06);
}

.filmstrip-nav-btn:active {
  transform: scale(0.95);
}

/* Draggable & Clickable Gold Scrubber Rail */
.filmstrip-scrubber {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.filmstrip-scrubber-rail {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 150, 46, 0.25);
  border: 1px solid rgba(201, 150, 46, 0.35);
  position: relative;
  overflow: visible;
}

.filmstrip-scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-marigold) 0%, var(--color-antique-gold) 50%, var(--color-coral-red) 100%);
  width: 0%;
  pointer-events: none;
  transition: width 0.06s ease-out;
}

.filmstrip-scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-antique-gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: grab;
  transition: left 0.06s ease-out, transform 0.15s ease;
}

.filmstrip-scrubber:hover .filmstrip-scrubber-thumb {
  transform: translate(-50%, -50%) scale(1.15);
  border-color: var(--color-coral-red);
}

.filmstrip-scrubber.is-dragging .filmstrip-scrubber-thumb,
.filmstrip-scrubber:active .filmstrip-scrubber-thumb {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
  border-color: var(--color-coral-red);
}

/* Digital Luxury Counter & Sub-Prompt */
.filmstrip-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.5rem;
}

.filmstrip-counter {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading-primary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.counter-curr {
  color: var(--color-coral-red);
  font-size: 1.2rem;
}

.counter-sep {
  color: rgba(201, 150, 46, 0.6);
  font-size: 0.95rem;
}

.counter-total {
  color: var(--color-ink-light);
  font-size: 0.95rem;
}

.filmstrip-swipe-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-ink-body);
  font-weight: 500;
}

.filmstrip-hint-sparkle {
  color: var(--color-antique-gold);
  font-size: 0.85rem;
}

/* Responsive adjustments for Mobile */
@media (max-width: 600px) {
  .filmstrip-card {
    flex: 0 0 255px;
    width: 255px;
    height: 360px;
    border-radius: 14px;
  }

  .filmstrip-track {
    gap: 1.15rem;
    padding: 0 max(1rem, calc(50vw - 128px));
  }

  .filmstrip-title {
    font-size: 1.25rem;
  }

  .filmstrip-caption-overlay {
    padding: 1.8rem 1rem 0.95rem;
  }

  .filmstrip-controls {
    gap: 0.85rem;
  }

  .filmstrip-nav-btn {
    width: 40px;
    height: 40px;
  }

  .filmstrip-footer-meta {
    padding: 0 0.25rem;
  }
}

@keyframes swipeNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 24, 16, 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 36px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(201, 150, 46, 0.65);
}

.lightbox-caption-bar {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--color-cream-white);
  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-cream-white);
  letter-spacing: 0.04em;
}

.lightbox-counter {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-antique-gold);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  width: 44px;
  height: 44px;
  color: var(--color-cream-white);
  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-antique-gold);
  transform: scale(1.15);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46, 36, 30, 0.75);
  color: var(--color-cream-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--color-antique-gold);
  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-cream-white);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.35rem;
  box-shadow: 0 16px 36px -10px rgba(90, 78, 58, 0.18);
  border: 1.5px solid rgba(201, 150, 46, 0.5);
  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-heading-primary);
  margin-bottom: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.52rem 0.95rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(201, 150, 46, 0.5);
  border-radius: var(--radius-sm);
  color: var(--color-ink-body);
  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-antique-gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.22);
}

.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: #FFFFFF;
  border: 1.5px solid rgba(201, 150, 46, 0.45);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-heading-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
  text-align: center;
}

.attending-option input[type="radio"]:checked + .attending-label {
  background: rgba(240, 201, 137, 0.35);
  border-color: var(--color-antique-gold);
  color: var(--color-heading-primary);
  box-shadow: 0 2px 8px rgba(201, 150, 46, 0.2);
}

/* 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-ink-body);
  background: #FFFFFF;
  border: 1px solid rgba(201, 150, 46, 0.45);
  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-antique-gold);
  width: 15px;
  height: 15px;
}

.btn-submit-rsvp {
  width: 100%;
  padding: 0.72rem 1.75rem;
  background: linear-gradient(135deg, var(--color-antique-gold), var(--color-coral-red));
  color: #F7F4EC;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(224, 96, 61, 0.45);
  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: linear-gradient(135deg, var(--color-antique-gold-deep), var(--color-coral-deep));
  color: #F7F4EC;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(224, 96, 61, 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-coral-red);
  margin-bottom: 1rem;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-heading-primary);
  margin-bottom: 0.5rem;
}

.confirmation-desc {
  font-size: 1.05rem;
  color: var(--color-ink-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.confirmation-summary {
  background: #FFFFFF;
  border: 1.5px dashed var(--color-antique-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-ink-body);
}

.confirmation-summary p {
  margin-bottom: 0.4rem;
}

.btn-reset-rsvp {
  font-size: 0.85rem;
  color: var(--color-antique-gold);
  text-decoration: underline;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   18. SECTION 10: FOOTER SECTION (LIGHT THEME & WARM ROYAL AESTHETIC)
   -------------------------------------------------------------------------- */
.footer-section {
  position: relative;
  text-align: center;
  padding-top: 3.25rem;
  padding-bottom: 2.75rem;
  background: radial-gradient(circle at 50% 0%, rgba(240, 201, 137, 0.45) 0%, transparent 68%),
              linear-gradient(175deg, #FFFDF8 0%, #FAF4E8 45%, #F4EBDA 100%);
  border-top: 2.5px solid var(--color-antique-gold);
  box-shadow: inset 0 2px 10px rgba(201, 150, 46, 0.15);
  color: var(--color-ink-body);
}

.footer-section .container-narrow {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 1.25rem;
  box-shadow: none;
  color: var(--color-ink-body);
}

.footer-monogram {
  font-family: var(--font-couple);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.4rem, 7.5vw, 4.8rem);
  color: var(--color-coral-red);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 10px rgba(224, 96, 61, 0.2);
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-heading-primary);
  max-width: 580px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
  text-shadow: none;
}

.footer-date {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-antique-gold-deep);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: none;
}

/* Warm Guest Invitation Line */
.footer-invite-note {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-ink-body);
  max-width: 520px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
  opacity: 0.95;
  text-shadow: none;
}

.footer-credits {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  border-top: 1px dashed rgba(201, 150, 46, 0.45);
  padding-top: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.footer-credits a {
  color: var(--color-coral-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-credits a:hover {
  color: var(--color-heading-primary);
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   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;
  }
  .ambient-petals-container {
    display: none !important;
  }
  .music-toggle-btn.is-playing {
    animation: none !important;
  }
}
