/* ==========================================================================
   ROYAL INDIAN WEDDING INVITATION - ROYAL DOORS & SCROLLABLE MASTER CSS
   Theme: Velvet Crimson & 24K Royal Gold Palace Aesthetics
   Format: Royal Palace Entrance Doors -> Continuous Scrollable Single View
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Great+Vibes&family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700;800&family=Kalam:wght@400;700&family=Marcellus&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Noto+Serif+Devanagari:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Rozha+One&family=Tiro+Devanagari+Hindi:ital@0;1&family=Yatra+One&display=swap');

:root {
  /* Royal Color Palette */
  --royal-crimson: #6E0D25;
  --royal-crimson-dark: #450514;
  --royal-crimson-deep: #1A0106;
  --royal-maroon: #34030D;

  --gold-100: #FFF6D6;
  --gold-200: #F9E496;
  --gold-300: #E6C564;
  --gold-400: #D4AF37;
  --gold-500: #B88E28;
  --gold-600: #8C6716;
  --gold-700: #5C4108;

  --silk-ivory: #FCF8F2;
  --silk-cream: #F5EDE0;
  --silk-parchment: #EFE4D2;
  --silk-dark: #D4C3A3;

  /* Text Colors */
  --text-gold: #F7E39E;
  --text-gold-bright: #FFF2B2;
  --text-cream: #FDF9F2;
  --text-muted: #D8BF9D;
  --text-dark: #2B0B13;

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #F9E496 0%, #D4AF37 35%, #FFF6D6 55%, #B88E28 75%, #E6C564 100%);
  --gold-foil: linear-gradient(90deg, #b38728 0%, #fbf5b7 25%, #daac3a 50%, #fbf5b7 75%, #aa771c 100%);
  --card-bg-glass: rgba(38, 3, 9, 0.92);
  --card-border-gold: rgba(212, 175, 55, 0.45);

  /* Shadows */
  --shadow-gold-sm: 0 4px 15px rgba(212, 175, 55, 0.2);
  --shadow-gold-md: 0 8px 30px rgba(212, 175, 55, 0.35);
  --shadow-royal-box: 0 25px 70px rgba(5, 0, 2, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.4);

  /* Typography */
  --font-serif-royal: 'Cinzel Decorative', 'Cinzel', serif;
  --font-serif-classic: 'Marcellus', 'Cinzel', serif;
  --font-script: 'Alex Brush', cursive;
  --font-display: 'Playfair Display', serif;
  --font-sanskrit: 'Rozha One', serif;
  --font-sans: 'Montserrat', -apple-system, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 18px;
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* App container itself scrolls internally with gold scrollbar */
}

body.scrollable-single-screen,
body.launch-body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-cream);
  background-color: #1a0105;
  background-image: radial-gradient(circle at center, #3d0511 0%, #1a0105 70%, #080002 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.home-body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-cream);
  background-color: #0b0103;
  background-image: url('assets/images/home_background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HIDE SCROLLBARS GLOBALLY (PRESERVE FULL SMOOTH SCROLLING)
   ========================================================================== */
*,
*::before,
*::after,
html,
body,
.royal-scroll-card,
.main-scroll-app,
div,
section {
  scrollbar-width: none !important;
  /* Firefox */
  -ms-overflow-style: none !important;
  /* IE and Edge */
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.royal-scroll-card::-webkit-scrollbar,
div::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* ==========================================================================
   PARTICLES CANVAS & FLOATING MANDALAS
   ========================================================================== */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.bg-mandala {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.01) 60%, transparent 70%);
  border: 1px dashed rgba(212, 175, 55, 0.12);
  pointer-events: none;
  z-index: 2;
  animation: spinMandala 140s linear infinite;
}

.bg-mandala-left {
  top: -160px;
  left: -160px;
}

.bg-mandala-right {
  bottom: -160px;
  right: -160px;
  animation-direction: reverse;
}

@keyframes spinMandala {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   2. GRAND ROYAL PALACE DOORS (LAUNCH SCREEN EXPERIENCE)
   ========================================================================== */
.royal-doors-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #1a0105;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(138, 15, 41, 0.45) 0%, rgba(26, 1, 5, 0.95) 75%, #080002 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1400px;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}

.royal-doors-screen.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.palace-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(10, 0, 2, 0.75) 80%, rgba(5, 0, 1, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Side Pillars & Ambient Lighting */
.palace-decor-side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 35px;
}

.decor-left {
  left: 0;
}

.decor-right {
  right: 0;
}

.hanging-brass-lamp {
  position: relative;
  width: 30px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lamp-chain {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.7));
}

.lamp-body {
  width: 14px;
  height: 18px;
  background: radial-gradient(circle at center, rgba(255, 230, 130, 0.9) 0%, rgba(212, 175, 55, 0.6) 60%, transparent 85%);
  border-radius: 50%;
  box-shadow: 0 0 16px 6px rgba(255, 215, 0, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lamp-flame {
  width: 6px;
  height: 9px;
  background: radial-gradient(circle at bottom, #fff 0%, #ffcc00 60%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: flameFlicker 1.8s infinite alternate ease-in-out;
  box-shadow: 0 0 8px #ffb300;
}

@keyframes flameFlicker {
  0% {
    transform: scale(0.9) translateY(1px);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.15) translateY(-1px);
    opacity: 1;
  }
}

.floral-garland-drape {
  width: 4px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.3) 20%, rgba(232, 49, 81, 0.3) 60%, transparent 100%);
  opacity: 0.5;
}

.floor-diya-glow {
  position: relative;
  width: 40px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255, 180, 0, 0.5) 0%, transparent 75%);
}

.diya-flame-light {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background: radial-gradient(circle at bottom, #fff 10%, #ff8800 70%);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 12px #ffaa00;
  animation: flameFlicker 1.5s infinite alternate;
}

/* ==========================================================================
   DESKTOP PALACE DHOL PLAYERS (FLANKING CHARACTERS)
   ========================================================================== */
.palace-dhol-character {
  display: none;
  position: absolute;
  bottom: clamp(10px, 3.5vh, 45px);
  z-index: 12;
  pointer-events: none;
  width: clamp(180px, 18vw, 300px);
  max-width: 320px;
  flex-direction: column;
  align-items: center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

@media (min-width: 920px) and (min-height: 520px) {
  .palace-dhol-character {
    display: flex;
  }
}

.dhol-character-left {
  right: calc(50% + min(225px, 22.5vw) + 10px);
}

.dhol-character-right {
  left: calc(50% + min(225px, 22.5vw) + 10px);
}

.dhol-character-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dhol-player-img {
  width: 100%;
  height: auto;
  max-height: clamp(270px, 50vh, 480px);
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 22px rgba(212, 175, 55, 0.25));
}

.dhol-character-left .dhol-player-img {
  animation: dholBeatLeft 2.4s ease-in-out infinite alternate;
}

.dhol-character-right .dhol-player-img {
  animation: dholBeatRight 2.4s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}

@keyframes dholBeatLeft {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes dholBeatRight {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.dhol-floor-shadow {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(212, 175, 55, 0.25) 45%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}

/* ==========================================================================
   CENTRAL PALACE STAGE
   ========================================================================== */
.royal-palace-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: clamp(340px, 94vw, 480px);
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(10px, 2vh, 18px) clamp(8px, 2vw, 14px) clamp(8px, 1.4vh, 14px);
  box-sizing: border-box;
  gap: clamp(8px, 1.5vh, 15px);
}

/* Palace Header */
.royal-palace-header {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 clamp(4px, 0.8vh, 8px) 0;
  flex-shrink: 0;
}

.palace-om-crest {
  margin-bottom: clamp(2px, 0.4vh, 5px);
}

.crest-mandala-ring {
  width: clamp(34px, 4.4vh, 42px);
  height: clamp(34px, 4.4vh, 42px);
  border-radius: 50%;
  border: 1.5px solid rgba(249, 228, 150, 0.7);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(30, 2, 8, 0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.crest-om-icon {
  font-family: var(--font-sanskrit);
  font-size: clamp(1.15rem, 2.2vh, 1.45rem);
  color: var(--text-gold-bright);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 230, 150, 0.85);
}

.palace-ganesh-shloka {
  font-family: var(--font-sanskrit);
  font-size: clamp(1.05rem, 2vh, 1.3rem);
  color: var(--gold-200);
  letter-spacing: clamp(1.5px, 0.4vw, 2.5px);
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.75);
}

.palace-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 65%;
  margin: clamp(2px, 0.4vh, 5px) 0;
}

.palace-header-divider .h-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.palace-header-divider .h-heart {
  color: var(--gold-300);
  font-size: 0.72rem;
}

.palace-invitation-subtitle {
  font-family: var(--font-serif-classic);
  font-size: clamp(0.7rem, 1.3vh, 0.85rem);
  letter-spacing: clamp(2.5px, 0.6vw, 4.2px);
  color: var(--silk-parchment);
  text-transform: uppercase;
  margin: 0 0 clamp(2px, 0.4vh, 5px);
  opacity: 0.95;
  font-weight: 600;
}

.palace-couple-names {
  font-family: var(--font-serif-royal);
  font-size: clamp(1.45rem, 3vh, 1.95rem);
  color: var(--text-gold-bright);
  letter-spacing: clamp(1.5px, 0.4vw, 2.5px);
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 10px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.55);
}

.palace-couple-names .name-part {
  font-weight: 700;
}

.palace-couple-names .name-amp {
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 3.4vh, 2.3rem);
  color: var(--gold-200);
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  transform: translateY(-2px);
}

.palace-journey-tagline {
  font-family: var(--font-serif-classic);
  font-size: clamp(0.6rem, 1.1vh, 0.74rem);
  letter-spacing: clamp(1.8px, 0.45vw, 3px);
  color: var(--gold-300);
  text-transform: uppercase;
  margin: clamp(2px, 0.4vh, 4px) 0 0;
  opacity: 0.92;
  font-weight: 600;
}

/* ==========================================================================
   3D DOUBLE PALACE DOORS VIEWPORT & AUTHENTIC ROYAL ARCHITECTURE
   ========================================================================== */
.royal-doors-viewport.royal-grand-doors {
  position: relative;
  width: 100%;
  max-width: clamp(310px, 90vw, 420px);
  aspect-ratio: 1 / 1.76;
  max-height: 68vh;
  display: flex;
  perspective: 1600px;
  cursor: pointer;
  border-radius: 18px;
  margin: clamp(4px, 1vh, 8px) 0 0;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.98));
  touch-action: manipulation;
  box-sizing: border-box;
}

/* Grand Palace Outer Rounded Frame with Gold Studs (Perimeter Frame) */
.palace-portal-outer-frame {
  position: absolute;
  inset: -4px;
  border: 2px solid #D4AF37;
  border-radius: 20px;
  pointer-events: none;
  z-index: 25;
  box-shadow:
    0 0 16px rgba(212, 175, 55, 0.4),
    inset 0 0 12px rgba(212, 175, 55, 0.25);
}

.portal-stud {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFD700 45%, #B88E28 75%, #4D3405 100%);
  box-shadow: 0 0 8px rgba(255, 230, 150, 0.95), 0 2px 4px rgba(0, 0, 0, 0.9);
  border: 0.8px solid #FFF6D6;
  z-index: 26;
}

/* Corner Studs */
.portal-stud.stud-tl {
  top: 6px;
  left: 6px;
}

.portal-stud.stud-tr {
  top: 6px;
  right: 6px;
}

.portal-stud.stud-bl {
  bottom: 6px;
  left: 6px;
}

.portal-stud.stud-br {
  bottom: 6px;
  right: 6px;
}

/* Left Side Studs */
.portal-stud.stud-l1 {
  top: 20%;
  left: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-l2 {
  top: 35%;
  left: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-l3 {
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-l4 {
  top: 65%;
  left: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-l5 {
  top: 80%;
  left: 4px;
  transform: translateY(-50%);
}

/* Right Side Studs */
.portal-stud.stud-r1 {
  top: 20%;
  right: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-r2 {
  top: 35%;
  right: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-r3 {
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-r4 {
  top: 65%;
  right: 4px;
  transform: translateY(-50%);
}

.portal-stud.stud-r5 {
  top: 80%;
  right: 4px;
  transform: translateY(-50%);
}

/* Center Glowing Vertical Seam (Radiant Golden Light Shining from Within) */
.doors-center-glow-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF4B8 20%, #FFD700 50%, #FFAA00 80%, #FFFFFF 100%);
  box-shadow:
    0 0 12px #FFD700,
    0 0 25px #FFAA00,
    0 0 45px rgba(255, 215, 0, 0.95);
  z-index: 20;
  pointer-events: none;
  border-radius: 2px;
  animation: centerBeamPulse 2s ease-in-out infinite alternate;
}

@keyframes centerBeamPulse {
  0% {
    box-shadow: 0 0 10px #FFD700, 0 0 20px #FFAA00, 0 0 35px rgba(255, 215, 0, 0.85);
    opacity: 0.9;
  }

  100% {
    box-shadow: 0 0 16px #FFD700, 0 0 32px #FFAA00, 0 0 55px rgba(255, 215, 0, 1);
    opacity: 1;
  }
}

/* Left & Right Door Leaves (3D Swing Transition) */
.palace-door-leaf {
  flex: 1;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, box-shadow, filter;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.5s ease, filter 1.5s ease;
}

.leaf-left {
  transform-origin: left center;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}

.leaf-right {
  transform-origin: right center;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
}

/* Door Panel Wood Background Container */
.door-panel-wood {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2b040c 0%, #150105 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 5px;
  box-sizing: border-box;
}

.leaf-left .door-panel-wood {
  border-right: 1.5px solid rgba(212, 175, 55, 0.7);
  border-radius: 16px 0 0 16px;
}

.leaf-right .door-panel-wood {
  border-left: 1.5px solid rgba(212, 175, 55, 0.7);
  border-radius: 0 16px 16px 0;
}

/* Carved Elephant & Lotus Arch Card Container */
.door-carved-card {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1.8px solid rgba(212, 175, 55, 0.65);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.7);
  background: #180206;
}

.door-carved-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.door-carved-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: brightness(0.92) contrast(1.15) saturate(1.1);
  transition: transform 0.5s ease;
}

.door-carved-img-wrap.mirrored img {
  transform: scaleX(-1);
}

/* When Doors Open - Majestic 3D Cinematic Swing & Smooth Unveiling */
.royal-doors-screen.opening .leaf-left {
  transform: rotateY(-132deg) translateZ(12px);
  box-shadow: 40px 0 90px rgba(0, 0, 0, 0.99);
  filter: brightness(1.2) contrast(1.05);
}

.royal-doors-screen.opening .leaf-right {
  transform: rotateY(132deg) translateZ(12px);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.99);
  filter: brightness(1.2) contrast(1.05);
}

.royal-doors-screen.opening .doors-center-glow-beam {
  transform: translateX(-50%) scaleX(30);
  opacity: 1;
  box-shadow: 0 0 120px 60px rgba(255, 235, 140, 1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, box-shadow 1.2s ease;
}

.royal-doors-screen.opening .royal-palace-header {
  transform: translateY(-24px) scale(0.96);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.royal-doors-screen.opening .decor-left {
  transform: translateX(-35px);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease;
}

.royal-doors-screen.opening .decor-right {
  transform: translateX(35px);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease;
}

.royal-doors-screen.opening .dhol-character-left {
  transform: translateX(-60px) scale(0.92);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.royal-doors-screen.opening .dhol-character-right {
  transform: translateX(60px) scale(0.92);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.royal-doors-screen.opening .door-light-burst {
  opacity: 1;
  transform: translate(-50%, -50%) scale(4);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.royal-doors-screen.opening {
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s, visibility 1.1s 0.65s;
  opacity: 0;
  pointer-events: none;
}

.royal-doors-screen.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

/* Main Home Screen Unveil Bloom Animation */
.main-screen-app {
  will-change: transform, opacity, filter;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-screen-app.unveiling {
  animation: homeUnveilBloom 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes homeUnveilBloom {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(8px) brightness(1.25);
  }

  40% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px) brightness(1);
  }
}


/* Floating Circular Top Left Media Control */
.floating-media-wrapper,
.floating-media-bar {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(68, 5, 20, 0.95), rgba(22, 1, 6, 0.98));
  border: 1.2px solid var(--gold-400);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  user-select: none;
}

.media-circle-btn i {
  color: var(--gold-300);
  transition: transform 0.25s ease, color 0.25s ease;
  font-size: 0.82rem;
}

.media-circle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--gold-200);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 18px rgba(212, 175, 55, 0.5);
}

.media-circle-btn:hover i {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(249, 228, 150, 0.9);
}

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

/* Floating Circular Top Right Controls (Language & Music) - Sleek & Refined Size */
.floating-music-wrapper,
.floating-music-bar {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lang-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(68, 5, 20, 0.95), rgba(22, 1, 6, 0.98));
  border: 1.2px solid var(--gold-400);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', 'Noto Sans Devanagari', 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  user-select: none;
}

.lang-btn-label {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFDE8A;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(249, 228, 150, 0.6);
  transition: transform 0.25s ease, color 0.25s ease;
  line-height: 1;
}

.lang-circle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--gold-200);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 18px rgba(212, 175, 55, 0.5);
}

.lang-circle-btn:hover .lang-btn-label {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(249, 228, 150, 0.95);
}

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

.music-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(68, 5, 20, 0.95), rgba(22, 1, 6, 0.98));
  border: 1.2px solid var(--gold-400);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.music-circle-btn #music-play-pause-icon {
  font-size: 0.82rem;
  color: var(--gold-300);
  transition: transform 0.25s ease, color 0.25s ease;
  margin-left: 1px;
}

.music-circle-btn.playing #music-play-pause-icon {
  margin-left: 0;
  color: var(--gold-100);
}

.music-circle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--gold-200);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 18px rgba(212, 175, 55, 0.5);
}

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

.music-circle-btn.playing {
  background: radial-gradient(circle at 35% 35%, rgba(90, 8, 26, 0.96), rgba(28, 2, 8, 0.98));
  border-color: var(--gold-200);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 4px 16px rgba(0, 0, 0, 0.7);
  animation: pulseGoldRing 2.2s infinite ease-in-out;
}

@keyframes pulseGoldRing {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6), 0 4px 16px rgba(0, 0, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0), 0 4px 16px rgba(0, 0, 0, 0.7);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 4px 16px rgba(0, 0, 0, 0.7);
  }
}

/* ==========================================================================
   ROYAL MEDIA / PHOTO GALLERY MODAL
   ========================================================================== */
.royal-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.royal-media-modal.active {
  display: flex;
  opacity: 1;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(30, 2, 8, 0.94) 0%, rgba(10, 0, 3, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.media-modal-card {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 960px;
  max-height: 86vh;
  background: linear-gradient(145deg, rgba(38, 4, 12, 0.97) 0%, rgba(18, 1, 5, 0.99) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  border-radius: 16px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 230, 150, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  0% {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.media-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
}

.media-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-modal-title-wrap i {
  color: var(--gold-300);
  font-size: 1.25rem;
}

.media-modal-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 0 10px rgba(249, 228, 150, 0.6);
  letter-spacing: 1px;
}

.media-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFDE8A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.media-modal-close-btn:hover {
  background: var(--gold-gradient);
  color: #200208;
  transform: rotate(90deg) scale(1.1);
}

.media-modal-body {
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) transparent;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.media-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: #110105;
}

.media-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 1, 5, 0.95) 0%, rgba(14, 1, 5, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-gallery-item-caption {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.3;
}

.media-gallery-item-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: #FFDE8A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.media-gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 16px rgba(212, 175, 55, 0.35);
}

.media-gallery-item:hover img {
  transform: scale(1.08);
}

.media-gallery-item:hover .media-gallery-item-overlay {
  opacity: 1;
}

@media (max-width: 768px) {

  .floating-media-wrapper,
  .floating-media-bar {
    top: 12px;
    left: 12px;
  }

  .floating-music-wrapper,
  .floating-music-bar {
    top: 12px;
    right: 12px;
    gap: 7px;
  }

  .media-circle-btn,
  .lang-circle-btn,
  .music-circle-btn {
    width: 34px;
    height: 34px;
  }

  .media-circle-btn i,
  .music-circle-btn #music-play-pause-icon {
    font-size: 0.78rem;
  }

  .lang-btn-label {
    font-size: 0.82rem;
  }

  .media-modal-card {
    width: 94%;
    max-height: 88vh;
  }

  .media-modal-header {
    padding: 12px 16px;
  }

  .media-modal-title {
    font-size: 1.1rem;
  }

  .media-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .media-gallery-item-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(14, 1, 5, 0.85) 0%, transparent 70%);
    padding: 8px;
  }

  .media-gallery-item-caption {
    font-size: 0.68rem;
  }
}

/* Royal Master Scroll Viewport - Seamless over Royal Palace Background */
.royal-scroll-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 1, 4, 0.55) 0%, rgba(14, 1, 4, 0.72) 40%, rgba(8, 0, 2, 0.88) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 72px 20px 30px;
  scroll-behavior: smooth;
}

/* Common Section Layout */
.scroll-section {
  padding: 30px 16px 40px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.scroll-section:last-of-type {
  border-bottom: none;
}

/* Section Title & Gold Dividers */
.section-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.section-gold-divider .divider-line {
  width: clamp(35px, 8vw, 75px);
  height: 1px;
  background: var(--gold-gradient);
}

.section-gold-divider .divider-shloka {
  font-family: var(--font-sanskrit);
  font-size: 1.15rem;
  color: var(--gold-300);
}

.section-title {
  font-family: var(--font-serif-royal);
  font-size: 2.15rem;
  color: var(--text-gold-bright);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.section-subtitle {
  font-family: var(--font-serif-classic);
  font-size: 1.05rem;
  color: var(--silk-parchment);
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ==========================================================================
   SECTION 1: HERO & PURE TEXTUAL ROYAL INVITATION
   ========================================================================== */
.section-hero {
  padding-top: clamp(10px, 2vh, 25px);
  max-width: 900px;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-om {
  font-size: 1.6rem;
  color: var(--gold-300);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.hero-shloka {
  font-family: var(--font-sanskrit);
  font-size: 1.45rem;
  color: var(--gold-200);
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Auspicious Sanskrit Mangalam Shloka */
.hero-shloka-quote {
  max-width: 680px;
  margin: 0 auto 20px;
  padding: 6px 14px;
  background: transparent;
}

.sanskrit-blessing {
  font-family: var(--font-sanskrit);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--gold-100);
  letter-spacing: 0.8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* Family Host Line */
.hero-family-invite {
  max-width: 740px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.family-host-line {
  font-family: var(--font-serif-classic);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  color: var(--silk-parchment);
  opacity: 0.95;
}

.family-parents-names {
  font-family: var(--font-serif-royal);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-gold-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.parents-sep {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold-300);
  display: inline-block;
  margin: 0 6px;
}

.family-honor-line {
  font-family: var(--font-serif-classic);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--silk-cream);
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.5;
}

/* Pure Textual Couple Presentation (Organized & Regal) */
.textual-couple-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  width: 100%;
  max-width: 860px;
  margin: 8px auto 26px;
  flex-wrap: wrap;
}

.couple-text-card {
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px;
  background: rgba(22, 1, 5, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.royal-role-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 4px 14px;
  margin-bottom: 12px;
  font-weight: 600;
}

.couple-royal-name {
  font-family: var(--font-serif-royal);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--text-gold-bright);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 24px rgba(212, 175, 55, 0.45);
  text-align: center;
}

.couple-family-info {
  font-family: var(--font-serif-classic);
  font-size: 0.95rem;
  color: var(--silk-cream);
  line-height: 1.45;
  margin-bottom: 5px;
  text-align: center;
}

.couple-grand-info {
  font-family: var(--font-serif-classic);
  font-size: 0.84rem;
  color: var(--silk-dark);
  line-height: 1.4;
  opacity: 0.88;
  text-align: center;
}

/* Center Knot Divider */
.textual-knot-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 4px;
}

.knot-swastik-glow {
  font-size: 1.45rem;
  color: var(--gold-300);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

.knot-weds-text {
  font-family: var(--font-serif-royal);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: var(--gold-200);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.knot-hash-pill {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px dashed rgba(212, 175, 55, 0.45);
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 4px;
}

.hero-tagline {
  font-family: var(--font-serif-classic);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--silk-cream);
  opacity: 0.95;
  margin-top: 4px;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-event-ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(24, 2, 6, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 10px 22px;
  border-radius: 28px;
  font-family: var(--font-serif-classic);
  font-size: 0.98rem;
  color: var(--text-gold);
  margin-bottom: 20px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}

.ribbon-box i {
  color: var(--gold-300);
  margin-right: 5px;
}

.ribbon-sep {
  color: var(--gold-500);
}

/* Live Countdown Box */
.hero-countdown-box {
  background: rgba(28, 2, 6, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 14px 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}

.countdown-title-bar {
  font-family: var(--font-serif-classic);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-300);
  margin-bottom: 10px;
}

.countdown-digits-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.digit-box .num {
  font-family: var(--font-serif-royal);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-gold-bright);
}

.digit-box .lbl {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--silk-parchment);
  opacity: 0.85;
}

.digit-sep {
  font-size: 1.7rem;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 12px;
}

.scroll-down-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--gold-300);
  margin-top: 10px;
  opacity: 0.9;
}

.bounce-icon {
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ==========================================================================
   SECTION 2: SACRED CEREMONIES FLOW & DYNAMIC THEMATIC ANIMATIONS
   ========================================================================== */
.ceremonies-grid-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
  perspective: 1200px;
}

/* /* Base Ceremony Card with Luxury Glassmorphism & Animated Border Glow */
.ceremony-card {
  background: rgba(26, 2, 7, 0.82);
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Animated Ambient Glow Aura Behind Each Card */
.card-glow-aura {
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  opacity: 0.35;
  filter: blur(25px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
  animation: cardAuraBreathing 4s ease-in-out infinite alternate;
}

@keyframes cardAuraBreathing {
  0% {
    transform: scale(0.92);
    opacity: 0.25;
  }

  100% {
    transform: scale(1.08);
    opacity: 0.55;
  }
}

/* Diagonal Light Gleam Sweep on Hover */
.ceremony-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, 0.15), transparent);
  transform: skewX(-25deg);
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.ceremony-card:hover::before {
  left: 200%;
}

.ceremony-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.ceremony-card:hover .card-glow-aura {
  opacity: 0.85;
}

/* Left Animated Accent Bar */
.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  box-shadow: 0 0 12px currentColor;
  animation: accentPulse 3s ease-in-out infinite alternate;
}

@keyframes accentPulse {
  0% {
    opacity: 0.7;
    transform: scaleY(0.95);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Ceremony Header & Thematic Icon Boxes */
.ceremony-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.ceremony-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.ceremony-card:hover .ceremony-icon-box {
  transform: scale(1.15) rotate(8deg);
}

.ceremony-name {
  font-family: var(--font-serif-royal);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-gold-bright);
  letter-spacing: 0.5px;
}

.ceremony-tagline {
  font-family: var(--font-serif-classic);
  font-size: 0.92rem;
  color: var(--silk-parchment);
  opacity: 0.85;
  margin-top: 2px;
}

/* Meta Table with Glass Badges */
.ceremony-meta-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(12, 1, 4, 0.6);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.88rem;
  color: var(--text-cream);
  position: relative;
  z-index: 1;
}

.ceremony-meta-table div {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ceremony-meta-table div:hover {
  color: #FFF6D6;
  transform: translateX(2px);
}

.ceremony-meta-table i {
  color: var(--gold-300);
  font-size: 0.98rem;
  transition: transform 0.3s ease;
}

.ceremony-card:hover .ceremony-meta-table i {
  transform: scale(1.15);
}

.ceremony-desc {
  font-size: 0.92rem;
  color: var(--silk-parchment);
  line-height: 1.5;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   INDIVIDUAL EVENT THEMES & CUSTOM ANIMATIONS
   ========================================================================== */

/* 1. HALDI CEREMONY (Marigold Sun & Turmeric Gold Aura) */
.ceremony-haldi {
  border-color: rgba(229, 169, 59, 0.4);
}

.ceremony-haldi:hover {
  border-color: #F59E0B;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(245, 158, 11, 0.45);
}

.ceremony-haldi .card-glow-aura {
  background: radial-gradient(circle at top left, #F59E0B, #D97706, transparent 70%);
}

.ceremony-haldi .card-accent-bar {
  background: linear-gradient(to bottom, #FDE047, #F59E0B, #B45309);
  color: #F59E0B;
}

.ceremony-haldi .haldi-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.15));
  border: 1px solid #F59E0B;
  color: #FDE047;
  animation: sunGlow 3s ease-in-out infinite alternate;
}

.ceremony-haldi .haldi-icon i {
  animation: sunRotate 16s linear infinite;
}

@keyframes sunRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes sunGlow {
  0% {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
  }

  100% {
    box-shadow: 0 0 22px rgba(253, 224, 71, 0.7);
  }
}

/* 2. MEHENDI CEREMONY (Emerald Henna Floral Aura) */
.ceremony-mehendi {
  border-color: rgba(45, 127, 94, 0.45);
}

.ceremony-mehendi:hover {
  border-color: #10B981;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(16, 185, 129, 0.45);
}

.ceremony-mehendi .card-glow-aura {
  background: radial-gradient(circle at top left, #10B981, #047857, transparent 70%);
}

.ceremony-mehendi .card-accent-bar {
  background: linear-gradient(to bottom, #6EE7B7, #10B981, #064E3B);
  color: #10B981;
}

.ceremony-mehendi .mehendi-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(4, 120, 87, 0.15));
  border: 1px solid #10B981;
  color: #6EE7B7;
  animation: hennaSway 3.5s ease-in-out infinite alternate;
}

@keyframes hennaSway {
  0% {
    transform: translateY(0) rotate(-4deg);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  }

  100% {
    transform: translateY(-3px) rotate(4deg);
    box-shadow: 0 0 22px rgba(110, 231, 183, 0.65);
  }
}

/* 3. SANGEET NIGHT (Electric Violet & Sparkling Magenta Beats Aura) */
.ceremony-sangeet {
  border-color: rgba(217, 70, 239, 0.45);
}

.ceremony-sangeet:hover {
  border-color: #E879F9;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 32px rgba(217, 70, 239, 0.5);
}

.ceremony-sangeet .card-glow-aura {
  background: radial-gradient(circle at top left, #C026D3, #7E22CE, transparent 70%);
}

.ceremony-sangeet .card-accent-bar {
  background: linear-gradient(to bottom, #F472B6, #D946EF, #7E22CE);
  color: #D946EF;
}

.ceremony-sangeet .sangeet-icon {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.3), rgba(126, 34, 206, 0.15));
  border: 1px solid #D946EF;
  color: #F5D0FE;
  animation: sangeetBeat 1.8s ease-in-out infinite;
}

@keyframes sangeetBeat {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
  }

  50% {
    transform: scale(1.14);
    box-shadow: 0 0 26px rgba(244, 114, 182, 0.8);
  }
}

/* 4. BARAAT & SACRED PHERAS (Grand 24K Gold & Vermilion Vivah Aura) */
.ceremony-pheras.grand-card {
  border: 2px solid var(--gold-400);
  background: linear-gradient(135deg, rgba(58, 6, 16, 0.92) 0%, rgba(26, 2, 6, 0.95) 100%);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35);
  position: relative;
}

.ceremony-pheras.grand-card:hover {
  border-color: #FFF6D6;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9), 0 0 38px rgba(212, 175, 55, 0.65);
}

.ceremony-pheras .card-glow-aura {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.5), rgba(185, 28, 28, 0.35), transparent 75%);
}

.ceremony-pheras .card-accent-bar {
  background: linear-gradient(to bottom, #FFF6D6, #D4AF37, #B45309, #E11D48);
  width: 5px;
  color: #D4AF37;
}

.ceremony-pheras .pheras-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(185, 28, 28, 0.25));
  border: 1.5px solid var(--gold-300);
  color: #FFF6D6;
  animation: holyRingSparkle 2.6s ease-in-out infinite;
}

@keyframes holyRingSparkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  }

  50% {
    transform: scale(1.15) rotate(12deg);
    box-shadow: 0 0 28px rgba(255, 246, 214, 0.9);
  }
}

/* 5. GRAND DINNER & GALA FEAST (Imperial Champagne & Amber Gold Aura) */
.ceremony-DINNER {
  border-color: rgba(212, 175, 55, 0.35);
}

.ceremony-DINNER:hover {
  border-color: var(--gold-300);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.45);
}

.ceremony-DINNER .card-glow-aura {
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.4), rgba(180, 83, 9, 0.2), transparent 70%);
}

.ceremony-DINNER .card-accent-bar {
  background: linear-gradient(to bottom, #FEF08A, #CA8A04, #78350F);
  color: #CA8A04;
}

.ceremony-DINNER .DINNER-icon {
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.3), rgba(120, 53, 15, 0.15));
  border: 1px solid #CA8A04;
  color: #FEF08A;
  animation: banquetGlow 3s ease-in-out infinite alternate;
}

@keyframes banquetGlow {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(202, 138, 4, 0.3);
  }

  100% {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(254, 240, 138, 0.7);
  }
}

/* ==========================================================================
   SECTION 3: VENUE & HOSPITALITY GUIDE
   ========================================================================== */
.venue-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
}

.venue-card-details,
.venue-visual-map {
  background: rgba(28, 2, 6, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.resort-headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.resort-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.resort-name {
  font-family: var(--font-serif-royal);
  font-size: 1.55rem;
  color: var(--text-gold-bright);
}

.resort-addr {
  font-size: 0.98rem;
  color: var(--silk-parchment);
  margin-top: 3px;
}

.travel-hints-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.travel-hint-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(12, 1, 3, 0.55);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--gold-500);
}

.travel-hint-row i {
  font-size: 1.35rem;
  color: var(--gold-300);
  margin-top: 2px;
  flex-shrink: 0;
}

.travel-hint-row strong {
  font-family: var(--font-serif-classic);
  font-size: 1.02rem;
  color: var(--text-gold);
  display: block;
}

.travel-hint-row p {
  font-size: 0.92rem;
  color: var(--silk-parchment);
  opacity: 0.88;
  margin-top: 3px;
}

/* Visual Route Stage */
.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.map-label {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  color: var(--text-gold-bright);
}

.map-gps {
  font-family: monospace;
  font-size: 0.85rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
  padding: 4px 10px;
  border-radius: 4px;
}

.map-stage-display {
  position: relative;
  flex: 1;
  min-height: 200px;
  background:
    linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px),
    radial-gradient(circle at center, #2e050f 0%, #120104 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-crossroad-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-50%);
}

.map-crossroad-v {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 100%;
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(-50%);
}

.map-center-pin {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-ico {
  font-size: 1.9rem;
  color: #ef4444;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
}

.pin-halo {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-300);
  animation: pulsePin 2s infinite;
}

.pin-popup {
  background: var(--gold-gradient);
  color: #200208;
  font-family: var(--font-serif-classic);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 12px;
  margin-top: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.map-point {
  position: absolute;
  background: rgba(20, 1, 5, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--silk-parchment);
}

.point-1 {
  top: 16px;
  left: 16px;
}

.point-2 {
  bottom: 16px;
  right: 16px;
}

.map-foot-tip {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--silk-parchment);
  opacity: 0.88;
}

/* ==========================================================================
   SECTION 4: RSVP & BLESSINGS WALL
   ========================================================================== */
.rsvp-wall-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
}

.rsvp-form-card,
.wishes-wall-card {
  background: rgba(28, 2, 6, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-inner-title {
  font-family: var(--font-serif-royal);
  font-size: 1.3rem;
  color: var(--text-gold-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wrap label {
  font-family: var(--font-serif-classic);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-gold);
}

.field-control {
  background: rgba(14, 1, 4, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-cream);
  outline: none;
  transition: var(--transition-smooth);
}

.field-control:focus {
  border-color: var(--gold-300);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  background: rgba(22, 2, 6, 0.9);
}

.fields-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.attending-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-pill {
  background: rgba(14, 1, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: var(--silk-parchment);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.option-pill input {
  display: none;
}

.option-pill.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-300);
  color: var(--text-gold-bright);
}

.submit-rsvp-btn {
  background: var(--gold-gradient);
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font-serif-classic);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--royal-crimson-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  transition: var(--transition-smooth);
}

.submit-rsvp-btn:hover {
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.rsvp-alert-msg {
  display: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Wishes Wall */
.wall-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wall-count-pill {
  font-size: 0.85rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
  padding: 4px 12px;
  border-radius: 12px;
}

.wishes-stream-box {
  flex: 1;
  max-height: 310px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.wish-item {
  background: rgba(14, 1, 4, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
}

.wish-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.wish-author {
  font-family: var(--font-serif-classic);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-gold);
}

.wish-time {
  font-size: 0.8rem;
  color: var(--silk-parchment);
  opacity: 0.65;
}

.wish-text {
  font-size: 0.92rem;
  color: var(--silk-cream);
  line-height: 1.45;
  font-style: italic;
}

/* ==========================================================================
   SECTION 5: OUR LOVE STORY - ROYAL VERTICAL ROADMAP TIMELINE
   ========================================================================== */
.love-story-main-title {
  font-family: var(--font-serif-royal);
  font-size: 2.35rem;
  letter-spacing: 2.5px;
  background: linear-gradient(110deg, #F9E496 0%, #FFF6D6 25%, #D4AF37 50%, #FFF6D6 75%, #F9E496 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 7s ease-in-out infinite;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  margin-bottom: 4px;
}

.love-story-script-subtitle {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--gold-200);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.story-divider-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  width: 100%;
}

.story-divider-motif .motif-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.story-divider-motif .motif-gem {
  width: 9px;
  height: 9px;
  background: var(--gold-300);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
}

/* Vertical Timeline Layout */
.royal-vertical-timeline {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* Center Continuous Vertical Spine Line */
.timeline-center-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
      rgba(212, 175, 55, 0.2) 0%,
      rgba(212, 175, 55, 0.85) 10%,
      rgba(212, 175, 55, 0.95) 90%,
      rgba(212, 175, 55, 0.2) 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Alternating Timeline Items */
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  display: flex;
}

.timeline-item:last-child {
  margin-bottom: 10px;
}

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

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

/* Central Gold Milestone Orb / Node */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF6D6 0%, #D4AF37 55%, #8C6716 100%);
  border: 2px solid #FFF6D6;
  box-shadow: 0 0 14px rgba(255, 230, 120, 0.9), 0 0 24px rgba(212, 175, 55, 0.6);
  z-index: 5;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-node {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 22px rgba(255, 235, 130, 1), 0 0 35px rgba(212, 175, 55, 0.9);
}

/* Story Card */
.timeline-story-card {
  width: 44%;
  background: rgba(34, 3, 8, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.timeline-story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.3);
}

/* Date Pill Badge */
.story-badge-pill {
  display: inline-block;
  padding: 4px 18px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(20, 1, 5, 0.8);
  color: var(--gold-200);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Card Title */
.story-card-title {
  font-family: var(--font-serif-royal);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-100);
  letter-spacing: 1px;
  line-height: 1.35;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Location */
.story-card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--silk-cream);
  margin-bottom: 12px;
}

.story-card-location i {
  color: var(--gold-400);
  font-size: 0.95rem;
}

/* Description */
.story-card-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--silk-parchment);
  margin: 0;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .timeline-center-spine {
    left: 20px;
  }

  .timeline-node {
    left: 20px;
  }

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

  .timeline-story-card {
    width: calc(100% - 48px);
    margin-left: 48px;
    padding: 18px 20px;
  }
}

/* ==========================================================================
   SECTION 5.5: FAMILY BLESSINGS & PILLAR CARDS (MATCHING SCREENSHOTS)
   ========================================================================== */
.family-blessings-main-title {
  font-family: var(--font-serif-royal);
  font-size: 2.35rem;
  letter-spacing: 2.5px;
  background: linear-gradient(110deg, #F9E496 0%, #FFF6D6 25%, #D4AF37 50%, #FFF6D6 75%, #F9E496 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 7s ease-in-out infinite;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  margin-bottom: 4px;
}

.family-blessings-script-subtitle {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--gold-200);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.family-divider-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  width: 100%;
}

.family-divider-motif .motif-line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.family-divider-motif .motif-namaste {
  font-size: 1.35rem;
  color: var(--gold-300);
  display: inline-block;
  animation: namastePulse 2.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 230, 120, 0.7));
}

@keyframes namastePulse {
  0% {
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
  }

  50% {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 16px rgba(255, 235, 140, 0.95));
  }

  100% {
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
  }
}

/* Grand Family Invitation Quote Card */
.family-invitation-quote-banner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 34px;
  background: rgba(30, 2, 7, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 24px 34px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: quoteBannerGlow 5s ease-in-out infinite alternate;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.family-invitation-quote-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 14px 45px rgba(212, 175, 55, 0.25), inset 0 0 30px rgba(212, 175, 55, 0.1);
}

@keyframes quoteBannerGlow {
  0% {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  100% {
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
  }
}

.family-quote-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--silk-cream);
  line-height: 1.75;
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Two Columns Family Blessings Grid */
.family-blessings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* Family Pillar Card */
.family-pillar-card {
  background: rgba(34, 3, 8, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 34px 28px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.family-pillar-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(212, 175, 55, 0.85);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 28px rgba(212, 175, 55, 0.3);
}

.card-shimmer-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, 0.08), transparent);
  transform: skewX(-25deg);
  transition: left 0.9s ease;
  pointer-events: none;
}

.family-pillar-card:hover .card-shimmer-sweep {
  left: 200%;
}

.family-pillar-title {
  font-family: var(--font-serif-royal);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFF2B2;
  letter-spacing: 1.8px;
  line-height: 1.3;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.family-pillar-role {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Pious Blessings Pill Inner Box */
.pious-blessings-pill-box {
  background: rgba(18, 1, 4, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.family-pillar-card:hover .pious-blessings-pill-box {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.pious-lbl {
  display: block;
  font-family: var(--font-serif-classic);
  font-size: 0.86rem;
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: 5px;
}

.pious-names {
  font-family: var(--font-serif-classic);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF6D6;
  line-height: 1.4;
  margin: 0;
}

/* Family Member Group */
.family-member-group {
  margin-bottom: 20px;
}

.family-member-group:last-child {
  margin-bottom: 0;
}

.member-role-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.member-names-val {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--silk-cream);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 820px) {
  .family-blessings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .family-invitation-quote-banner {
    padding: 18px 20px;
  }

  .family-quote-text {
    font-size: 1.02rem;
  }

  .family-pillar-card {
    padding: 26px 20px 22px;
  }
}

/* Gallery Box */
.gallery-section-box {
  width: 100%;
  max-width: 1140px;
  text-align: center;
}

.gallery-heading {
  font-family: var(--font-serif-royal);
  font-size: 1.35rem;
  color: var(--text-gold-bright);
  margin-bottom: 16px;
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 1, 5, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--gold-200);
  font-size: 0.88rem;
  text-align: center;
  padding: 8px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

/* ==========================================================================
   SECTION 6: ROYAL FOOTER
   ========================================================================== */
.scroll-footer {
  padding: 48px 0 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.footer-shloka-banner {
  font-family: var(--font-sanskrit);
  font-size: 1.18rem;
  color: var(--gold-300);
  letter-spacing: 2px;
  margin-bottom: 2px;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.footer-couple-title {
  font-family: var(--font-serif-royal);
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  background: linear-gradient(110deg, #F9E496 0%, #FFF6D6 25%, #D4AF37 50%, #FFF6D6 75%, #F9E496 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 7s ease-in-out infinite;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.footer-hashtag {
  font-family: var(--font-serif-classic);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 2.8px;
  margin-top: -4px;
  margin-bottom: 6px;
}

.footer-love-note {
  font-family: var(--font-display), var(--font-serif-classic);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--silk-parchment);
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.footer-copyright {
  font-size: 0.74rem;
  color: var(--gold-500);
  opacity: 0.75;
  margin-top: 4px;
  letter-spacing: 0.6px;
}

/* ==========================================================================
   IN-SCREEN LIGHTBOX MODAL & TOAST ALERT
   ========================================================================== */
.inscreen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.inscreen-lightbox.active {
  display: flex;
}

.lightbox-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 2, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox-card {
  position: relative;
  z-index: 2;
  max-width: 80%;
  max-height: 80%;
  background: #200208;
  border: 1.5px solid var(--gold-400);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-card img {
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  font-size: 1.2rem;
  color: #200208;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-cap {
  font-family: var(--font-serif-classic);
  font-size: 0.95rem;
  color: var(--gold-200);
  margin-top: 8px;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold-gradient);
  color: #200208;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  z-index: 999999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ENHANCED LUXURY ANIMATIONS & POLISHED INTERACTION SUITE
   ========================================================================== */

/* Shimmering 24K Gold Foil Sweep */
@keyframes goldShimmerSweep {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.grand-couple-names,
.section-title,
.hero-shloka,
.seal-monogram {
  background: linear-gradient(110deg, #F9E496 0%, #FFF6D6 25%, #D4AF37 50%, #FFF6D6 75%, #F9E496 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 7s ease-in-out infinite;
}

/* Door Light Rays & Center Burst */
.door-light-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 246, 214, 0.95) 0%, rgba(212, 175, 55, 0.6) 35%, rgba(110, 13, 37, 0.3) 60%, transparent 80%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
  box-shadow: 0 0 80px rgba(255, 230, 120, 0.9);
}

.royal-doors-screen.opening .door-light-burst {
  transform: translate(-50%, -50%) scale(12);
  opacity: 0.9;
}

/* Couple Avatar Glowing Breathing Halo */
.avatar-gold-frame {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.avatar-gold-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
  animation: avatarHaloPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes avatarHaloPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
    box-shadow: 0 0 25px rgba(255, 235, 150, 0.6);
  }
}

.avatar-unit:hover .avatar-gold-frame {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

/* Scroll-Triggered Reveal Animations */
.reveal-init {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Ceremony Cards Polished Glassmorphism & Hover Glow */
.ceremony-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ceremony-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, 0.12), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
  pointer-events: none;
}

.ceremony-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.35);
  border-color: var(--gold-300);
}

.ceremony-card:hover::before {
  left: 200%;
}

.ceremony-card:hover .ceremony-icon-box {
  transform: scale(1.1) rotate(6deg);
  transition: transform 0.35s ease;
}

.ceremony-icon-box {
  transition: transform 0.35s ease;
}

/* Story Cards & Family Cards Hover Polish */
.story-event-card,
.family-lineage-box,
.venue-card-details,
.venue-visual-map,
.rsvp-form-card,
.wishes-wall-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.story-event-card:hover,
.family-lineage-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.6);
}

/* Gallery Zoom & Shimmer Effect */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 22px rgba(212, 175, 55, 0.4);
  border-color: var(--gold-300);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

/* Interactive Click Sparkle Particle */
.sparkle-burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  font-size: 16px;
  user-select: none;
  animation: sparkleDisperse 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkleDisperse {
  0% {
    transform: translate(0, 0) scale(0.4) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 235, 120, 0.9));
  }

  100% {
    transform: translate(var(--dx), var(--dy)) scale(1.2) rotate(var(--rot));
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0));
  }
}

/* Countdown Number Tick Animation */
.num.digit-pulse {
  animation: numPulse 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes numPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
    color: #FFF6D6;
    text-shadow: 0 0 15px rgba(255, 235, 150, 0.9);
  }

  100% {
    transform: scale(1);
  }
}

/* Floating Music Bar Equalizer Halo */
.music-pill-btn.playing {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 4px 15px rgba(0, 0, 0, 0.7);
  animation: musicGlowPulse 2.5s ease-in-out infinite;
}

@keyframes musicGlowPulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 235, 150, 0.75);
  }
}

/* Button Shimmer Sweep on Hover */
.submit-rsvp-btn,
.btn-open-doors {
  position: relative;
  overflow: hidden;
}

.submit-rsvp-btn::after,
.btn-open-doors::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.submit-rsvp-btn:hover::after,
.btn-open-doors:hover::after {
  left: 150%;
}

/* ==========================================================================
   SACRED SEVEN VOWS (SAAT PHERAS / SAPTHAPADI)
   ========================================================================== */
.vows-grid-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1140px;
  text-align: center;
}

.vow-card {
  background: rgba(30, 3, 9, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 24px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.vow-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold-300);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(212, 175, 55, 0.4);
}

.vow-card-grand {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(65, 8, 20, 0.9) 0%, rgba(26, 2, 7, 0.95) 100%);
  border: 2px solid var(--gold-400);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.vow-number-badge {
  position: absolute;
  top: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #200208;
  font-family: var(--font-serif-royal);
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.8);
  border: 1.5px solid #FFF6D6;
}

.vow-icon {
  font-size: 1.6rem;
  color: var(--gold-300);
  margin-top: 4px;
  animation: vowIconPulse 3s ease-in-out infinite alternate;
}

@keyframes vowIconPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
  }

  100% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 14px rgba(255, 235, 120, 0.8));
  }
}

.vow-sanskrit {
  font-family: var(--font-sanskrit);
  font-size: 1.1rem;
  color: var(--gold-200);
  margin-top: 2px;
}

.vow-title {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  color: var(--text-gold-bright);
}

.vow-text {
  font-size: 0.92rem;
  color: var(--silk-parchment);
  line-height: 1.5;
  opacity: 0.92;
}

/* ==========================================================================
   CELEBRATION HIGHLIGHTS & ROYAL HOSPITALITY
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
}

.highlight-card {
  background: rgba(28, 2, 7, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-300);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.3);
}

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.highlight-title {
  font-family: var(--font-serif-royal);
  font-size: 1.2rem;
  color: var(--text-gold-bright);
}

.highlight-desc {
  font-size: 0.92rem;
  color: var(--silk-parchment);
  line-height: 1.5;
  opacity: 0.9;
}

/* ==========================================================================
   GUEST GUIDELINES & FAQS
   ========================================================================== */
.faqs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
}

.faq-card {
  background: rgba(28, 2, 7, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 18px rgba(212, 175, 55, 0.25);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-bottom: 2px;
}

.faq-q {
  font-family: var(--font-serif-royal);
  font-size: 1.18rem;
  color: var(--text-gold-bright);
}

.faq-a {
  font-size: 0.92rem;
  color: var(--silk-parchment);
  line-height: 1.5;
  opacity: 0.92;
}

/* ==========================================================================
   QUICK EMOJI BLESSING BAR & BEATING HEART ANIMATIONS
   ========================================================================== */
.beating-heart {
  animation: heartBeat 1.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartBeat {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 235, 120, 0.4));
  }

  25% {
    transform: scale(1.22);
    filter: drop-shadow(0 0 12px rgba(255, 235, 150, 0.9));
  }

  50% {
    transform: scale(1.05);
  }

  75% {
    transform: scale(1.28);
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 1));
  }
}

.quick-emoji-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(12, 1, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.emoji-bar-label {
  font-family: var(--font-serif-classic);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-300);
}

.emoji-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-blessing-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-gold);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-blessing-btn:hover {
  background: var(--gold-gradient);
  color: #200208;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.6);
  border-color: #FFF6D6;
}

/* Flying Floating Reaction Emoji */
.floating-flying-emoji {
  position: fixed;
  pointer-events: none;
  font-size: 26px;
  z-index: 999999;
  user-select: none;
  animation: flyUpAndFade 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flyUpAndFade {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 235, 120, 0.9));
  }

  60% {
    opacity: 0.9;
    transform: translate(var(--rx), -120px) scale(1.4) rotate(var(--rot));
  }

  100% {
    transform: translate(var(--rx), -220px) scale(1.8) rotate(var(--rot));
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0));
  }
}

/* Radar Ping on Venue Map Pin */
.pin-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold-300);
  animation: radarPing 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

@keyframes radarPing {
  0% {
    width: 24px;
    height: 24px;
    opacity: 1;
  }

  100% {
    width: 90px;
    height: 90px;
    opacity: 0;
  }
}

/* Animated Diya Lamps in Footer */
.footer-diyas-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-diya {
  display: inline-block;
  animation: diyaFlicker 2.5s ease-in-out infinite alternate;
}

.diya-left {
  animation-delay: 0.3s;
}

.diya-right {
  animation-delay: 0.7s;
}

@keyframes diyaFlicker {

  0%,
  100% {
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
  }

  50% {
    transform: scale(1.18) translateY(-3px);
    filter: drop-shadow(0 0 18px rgba(255, 235, 120, 1));
  }
}

/* Radio Pill Selector Animations */
.attending-options .option-pill {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.attending-options .option-pill.active {
  background: var(--gold-gradient);
  color: #200208;
  font-weight: 700;
  border-color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.attending-options .option-pill.active i {
  animation: checkBounce 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes checkBounce {
  0% {
    transform: scale(0.6);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Form Input Focus Glow */
.field-control:focus {
  outline: none;
  border-color: var(--gold-300);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5), inset 0 0 8px rgba(212, 175, 55, 0.2);
  background: rgba(20, 1, 5, 0.9);
}

/* ==========================================================================
   SACRED WEDDING HOME SCREEN - BOTTOM ALIGNED FULL-WIDTH LAYOUT
   (GROOM -> FULL-WIDTH home_center.png -> BRIDE AT BOTTOM)
   ========================================================================== */
/* ==========================================================================
   SACRED WEDDING HOME SCREEN - 2-SECTION SPLIT LAYOUT FOR WEB VIEW
   (LEFT: AUSPICIOUS BAL GANPATI | RIGHT: GROOM -> BIGGER home_center.png -> BRIDE)
   ========================================================================== */
.main-screen-app,
#main-scroll-app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background-color: #0c0104;
}

/* /* Atmospheric Aesthetic Blurred Background Layer (Initial unblurred, blurs with scroll) */
.home-bg-backdrop {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-image: url('assets/images/royal_palace_entrance_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(0px) brightness(0.94) saturate(1.08);
  transform: scale(1.04);
  z-index: 1;
  pointer-events: none;
  will-change: filter;
}

/* Atmospheric Royal Gold & Velvet Crimson Vignette Overlay */
.home-bg-glow-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(130, 10, 38, 0.38) 0%, rgba(20, 2, 6, 0.76) 62%, rgba(6, 0, 2, 0.96) 100%),
    radial-gradient(circle at 25% 48%, rgba(255, 215, 80, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 75% 48%, rgba(255, 180, 50, 0.08) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  will-change: opacity;
}

/* Base Sacred Home Container (Desktop Web View: 2 Section Split Layout) */
.sacred-home-container {
  width: 100%;
  max-width: 1600px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: clamp(16px, 2.5vh, 32px) clamp(24px, 4vw, 64px);
  gap: clamp(24px, 3.5vw, 60px);
  box-sizing: border-box;
  overflow: hidden !important;
  position: relative;
  z-index: 12;
}

/* ==========================================================================
   LEFT SECTION: AUSPICIOUS LORD GANPATI IMAGE (WEB VIEW - SCROLL REVEAL)
   ========================================================================== */
.sacred-home-left {
  flex: 1 1 45%;
  max-width: 620px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 12;
  opacity: 0;
  transform: translateX(-35px) scale(0.92);
  will-change: opacity, transform;
}

.ganpati-home-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 86vh;
  position: relative;
}

.ganpati-home-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(249, 228, 150, 0.28));
  display: block;
  animation: gentleFloatGanpati 4s ease-in-out infinite alternate;
  transition: transform 0.4s ease;
}

.ganpati-home-img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   RIGHT SECTION: SACRED KNOT UNION (GROOM -> BIGGER home_center.png -> BRIDE)
   ========================================================================== */
.sacred-home-right {
  flex: 1 1 55%;
  max-width: 780px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 15;
  position: relative;
}

.sacred-knot-stage {
  width: 100%;
  height: 100%;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 0;
}

/* Center Image Wrapper: Bigger & Grand (Scroll Bloom) */
.home-center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 60vh;
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.85);
  will-change: opacity, transform;
}

.home-center-img {
  max-width: 100%;
  max-height: 60vh;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 16px rgba(249, 228, 150, 0.25));
  display: block;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.home-center-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 16px 45px rgba(0, 0, 0, 1)) drop-shadow(0 0 24px rgba(249, 228, 150, 0.4));
}

/* Person Details Sections (Groom at Top & Bride at Bottom - Scroll Revealed) */
.person-details-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  max-width: 580px;
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}

.groom-details-top {
  margin-bottom: -15px;
  transform: translateY(-25px);
}

.bride-details-bottom {
  margin-top: -15px;
  transform: translateY(25px);
}

/* Floating Scroll Unveil Hint */
.scroll-unveil-hint {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.scroll-unveil-hint:hover {
  background: rgba(50, 4, 15, 0.88);
  border-color: #F9E496;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 0 22px rgba(212, 175, 55, 0.45);
  transform: translateX(-50%) translateY(-2px);
}

.hint-text {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFDE8A;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hint-mouse-indicator {
  width: 18px;
  height: 28px;
  border: 1.5px solid #D4AF37;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
  box-sizing: border-box;
}

.hint-wheel-dot {
  width: 3px;
  height: 6px;
  background-color: #FFF6D6;
  border-radius: 2px;
  animation: scrollWheelBounce 1.5s infinite;
}

@keyframes scrollWheelBounce {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.calligraphy-royal-name {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 4.8vh, 3.6rem);
  font-weight: 400;
  color: #FFFFFF;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 3px 12px rgba(0, 0, 0, 0.98),
    0 0 22px rgba(0, 0, 0, 0.95),
    0 0 15px rgba(249, 228, 150, 0.9);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.6px;
}

.kinship-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.88rem, 1.6vh, 1.1rem);
  color: #FFDE8A;
  font-weight: 600;
  margin: 3px 0 2px 0;
  letter-spacing: 0.8px;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.95);
}

.parents-names {
  font-family: 'Marcellus', 'Cinzel', serif;
  font-size: clamp(0.9rem, 1.7vh, 1.16rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin: 1px 0 0;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 1),
    0 3px 14px rgba(0, 0, 0, 0.98),
    0 0 18px rgba(0, 0, 0, 0.95);
}

/* Animations */
@keyframes gentleFloatGanpati {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(-12px) scale(1.015);
  }
}

@keyframes fadeInGanpati {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInUpRoyal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   MOBILE SCREEN RESPONSIVE LAYOUT (<= 768px)
   (Top Ganpati -> Groom -> home_center.png -> Bride with full mobile width)
   ========================================================================== */
@media (max-width: 768px) {

  .main-screen-app,
  #main-scroll-app {
    background: transparent;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    justify-content: flex-end;
  }

  .home-bg-backdrop {
    background-image: url('assets/images/home_background.png');
    background-position: center bottom;
    filter: blur(2.5px) brightness(0.68) saturate(1.18);
  }

  .sacred-home-container {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 0 clamp(16px, 3vh, 32px) 0;
    gap: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
  }

  /* Show Ganpati prominently on top of Groom in mobile view (starts hidden, reveals with scroll) */
  .sacred-home-left {
    display: flex !important;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: clamp(230px, 34vh, 320px);
    margin-bottom: clamp(2px, 0.8vh, 8px);
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    transform: translateY(-15px) scale(1.0);
    transform-origin: center center;
    will-change: opacity, transform, filter;
  }

  .ganpati-home-wrapper {
    max-height: clamp(230px, 34vh, 320px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .ganpati-home-img {
    max-height: clamp(230px, 34vh, 320px);
    max-width: 270px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(249, 228, 150, 0.5));
    transition: filter 0.3s ease;
  }

  /* Right Section takes 100% of mobile screen */
  .sacred-home-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    justify-content: flex-end;
    will-change: opacity, transform, filter;
  }

  .sacred-knot-stage {
    width: 100%;
    height: auto;
    max-height: none;
    justify-content: flex-end;
  }

  .home-center-wrapper {
    width: 100vw;
    max-width: 100%;
    max-height: clamp(180px, 30vh, 280px);
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: opacity, transform;
  }

  .home-center-img {
    width: 100vw;
    max-width: 100%;
    height: auto;
    max-height: clamp(180px, 30vh, 280px);
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 16px rgba(249, 228, 150, 0.35));
  }

  .person-details-section {
    will-change: opacity, transform, filter;
  }

  .groom-details-top {
    margin-bottom: -4px;
  }

  .bride-details-bottom {
    margin-top: -4px;
  }

  /* Mobile Countdown Banner Styling (Bigger & Clearer) */
  .home-countdown-banner {
    bottom: 24px;
    padding: 10px 18px 9px;
    width: auto;
    max-width: 94%;
    border-radius: 14px;
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    background: linear-gradient(135deg, rgba(42, 5, 14, 0.96) 0%, rgba(20, 2, 7, 0.98) 100%);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.95),
      0 0 22px rgba(212, 175, 55, 0.35),
      inset 0 1px 0 rgba(255, 230, 150, 0.35);
  }

  .cd-banner-timer-row {
    gap: 10px;
  }

  .cd-unit-box {
    min-width: 60px;
    padding: 7px 10px 5px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  .cd-unit-num {
    font-size: 1.75rem;
    line-height: 1.05;
    color: #FFFFFF;
    text-shadow:
      0 1px 4px rgba(0, 0, 0, 1),
      0 0 12px rgba(255, 230, 150, 0.85);
  }

  .cd-unit-label {
    font-size: 0.72rem;
    letter-spacing: 0.9px;
    margin-top: 3px;
    color: #FFDE8A;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
  }

  .cd-unit-sep {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #F9E496;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
  }

  body.lang-hindi .cd-unit-label {
    font-size: 0.75rem;
    color: #FFDE8A;
  }
}

/* ==========================================================================
   FLOATING BOTTOM-CENTER AUSPICIOUS WEDDING COUNTDOWN TIMER (WEB VIEW)
   ========================================================================== */
.home-countdown-banner {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  background: linear-gradient(135deg, rgba(38, 4, 12, 0.96) 0%, rgba(18, 1, 6, 0.98) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 12px;
  padding: 8px 18px 7px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 230, 150, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-countdown-banner:hover {
  border-color: #F9E496;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.92),
    0 0 24px rgba(212, 175, 55, 0.45);
}

.cd-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cd-banner-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cd-unit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 8px 3px;
  border-radius: 7px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

.cd-unit-num {
  font-family: 'Marcellus', 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 1),
    0 0 10px rgba(249, 228, 150, 0.7);
  line-height: 1.05;
}

.cd-unit-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #FFDE8A;
  font-weight: 700;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.cd-unit-sep {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #F9E496;
  margin-bottom: 5px;
  animation: cdSepPulse 1.5s ease-in-out infinite alternate;
}

@keyframes cdSepPulse {
  0% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(249, 228, 150, 0.95);
  }
}

/* ==========================================================================
   HINDI LANGUAGE TYPOGRAPHY STYLES (ELEGANT DEVANAGARI WEDDING CALLIGRAPHY)
   ========================================================================== */
body.lang-hindi .calligraphy-royal-name {
  font-family: 'Kalam', 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', cursive, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vh, 3.6rem);
  letter-spacing: 0.8px;
  line-height: 1.15;
  color: #FFFFFF;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 3px 12px rgba(0, 0, 0, 0.98),
    0 0 22px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(249, 228, 150, 0.9);
}

body.lang-hindi .kinship-label {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  font-size: clamp(1rem, 1.8vh, 1.25rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FFDE8A;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.95);
}

body.lang-hindi .parents-names {
  font-family: 'Noto Serif Devanagari', 'Tiro Devanagari Hindi', serif;
  font-size: clamp(0.92rem, 1.7vh, 1.18rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.6px;
  line-height: 1.35;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 1),
    0 3px 14px rgba(0, 0, 0, 0.98),
    0 0 18px rgba(0, 0, 0, 0.95);
}

body.lang-hindi .hint-text {
  font-family: 'Noto Serif Devanagari', 'Tiro Devanagari Hindi', serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FFDE8A;
}

body.lang-hindi .cd-unit-label {
  font-family: 'Noto Serif Devanagari', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #E5C378;
}

/* ==========================================================================
   ROYAL WEDDING CELEBRATION CARDS SECTION (HALDI, MEHNDI, SANGEET, BARAT, DINNER)
   ========================================================================== */
.royal-events-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(14px, 2.5vh, 28px) clamp(16px, 3vw, 48px) 100px clamp(16px, 3vw, 48px);
  box-sizing: border-box;
  z-index: 100;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  visibility: hidden;
  will-change: opacity, transform, visibility;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 50% 10%, rgba(145, 26, 52, 0.95) 0%, rgba(95, 14, 38, 0.96) 38%, rgba(52, 7, 22, 0.98) 75%, rgba(26, 3, 10, 1) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.royal-events-section::-webkit-scrollbar {
  width: 6px;
}

.royal-events-section::-webkit-scrollbar-track {
  background: rgba(25, 3, 8, 0.5);
}

.royal-events-section::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 80, 0.6);
  border-radius: 4px;
}

.royal-events-section::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 235, 140, 0.95);
}

.royal-events-section.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Events Header */
.events-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: clamp(6px, 1.2vh, 14px);
  z-index: 2;
  flex-shrink: 0;
}

.events-crest-om {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 80, 0.7);
  background: radial-gradient(circle, rgba(255, 215, 80, 0.35) 0%, rgba(60, 6, 18, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 0 18px rgba(255, 215, 80, 0.5);
  animation: gentlePulseCrest 3s ease-in-out infinite alternate;
}

.events-crest-symbol {
  font-size: 1.15rem;
  color: #FFF2B2;
  line-height: 1;
}

@keyframes gentlePulseCrest {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 12px rgba(255, 215, 80, 0.35);
  }

  100% {
    transform: scale(1.05);
    box-shadow: 0 0 22px rgba(255, 230, 120, 0.7);
  }
}

.events-section-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.72rem, 1.25vh, 0.88rem);
  font-weight: 800;
  color: #FFE69A;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(255, 215, 80, 0.4);
}

.events-section-title {
  font-family: 'Cinzel Decorative', 'Marcellus', 'Cinzel', serif;
  font-size: clamp(1.45rem, 3.4vh, 2.4rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  margin: 2px 0 3px 0;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(255, 220, 110, 0.75);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8DC 35%, #FFD700 70%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 190px;
}

.events-header-divider .e-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
}

.events-header-divider .e-motif {
  font-size: 0.95rem;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 80, 0.8);
}

/* Quick Ceremony Navigation Pill Tabs (Hidden) */
.events-nav-tabs {
  display: none !important;
}

/* Carousel / Vertical Cards Stage */
.events-carousel-stage {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
  margin: 0 auto;
}

/* Arrow Buttons (hidden in vertical layout) */
.events-arrow-btn {
  display: none !important;
}

/* Vertical Up-to-Down Cards Track */
.events-cards-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 12px 30px 12px;
  box-sizing: border-box;
  overflow: visible;
}

/* Event Card Base (Vertical Stack - Luminous Bright Royale) */
.event-card {
  width: 100%;
  max-width: 720px;
  flex: 0 0 auto;
  position: relative;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(92, 16, 36, 0.93) 0%, rgba(62, 9, 24, 0.96) 50%, rgba(38, 4, 15, 0.98) 100%);
  border: 1.8px solid rgba(255, 222, 138, 0.75);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(255, 215, 90, 0.28),
    inset 0 1px 2px rgba(255, 245, 200, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 24px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.38s ease;
  overflow: hidden;
  outline: none;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 245, 195, 0.22) 50%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
  transition: transform 0.8s ease;
}

.event-card:hover::before {
  transform: rotate(25deg) translate(80%, -80%);
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #FFFFFF;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(255, 222, 138, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.event-card.active {
  border-color: #FFFFFF;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 36px rgba(255, 230, 140, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Card Inner */
.event-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

/* Corner Ornaments */
.event-card-decor-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #FFD700;
  border-style: solid;
  pointer-events: none;
  opacity: 0.9;
}

.corner-tl {
  top: -6px;
  left: -6px;
  border-width: 2.5px 0 0 2.5px;
  border-top-left-radius: 4px;
}

.corner-tr {
  top: -6px;
  right: -6px;
  border-width: 2.5px 2.5px 0 0;
  border-top-right-radius: 4px;
}

.corner-bl {
  bottom: -6px;
  left: -6px;
  border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 4px;
}

.corner-br {
  bottom: -6px;
  right: -6px;
  border-width: 0 2.5px 2.5px 0;
  border-bottom-right-radius: 4px;
}

/* Animated Card Media Banner Frame */
.event-card-media-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: clamp(14px, 1.8vh, 20px);
  border: 2px solid rgba(255, 222, 138, 0.85);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 215, 80, 0.35),
    inset 0 0 15px rgba(0, 0, 0, 0.2);
  background: #25050C;
  flex-shrink: 0;
}

/* Shimmer Sweep Layer */
.event-card-media-banner::after {
  content: "";
  position: absolute;
  inset: -150%;
  background: linear-gradient(115deg,
      transparent 42%,
      rgba(255, 245, 200, 0.35) 48%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 245, 200, 0.35) 52%,
      transparent 58%);
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 3;
  animation: bannerShimmerSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bannerShimmerSweep {
  0% {
    transform: rotate(25deg) translateY(-80%);
  }

  35%,
  100% {
    transform: rotate(25deg) translateY(80%);
  }
}

/* Media Banner Image with Smooth Ken Burns Animation */
.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
  will-change: transform;
  animation: kenBurnsFloating 8s ease-in-out infinite alternate;
}

@keyframes kenBurnsFloating {
  0% {
    transform: scale(1.02) translate(0, 0);
  }

  50% {
    transform: scale(1.05) translate(-1%, -0.5%);
  }

  100% {
    transform: scale(1.03) translate(1%, 0.5%);
  }
}

.event-card:hover .event-card-img,
.event-card.active .event-card-img {
  filter: brightness(1.08) contrast(1.04);
}

/* Media Glow Aura Overlay */
.media-glow-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(15, 1, 4, 0.65) 100%);
  transition: opacity 0.4s ease;
}

/* Floating Sparkle / Petal Dots */
.media-floating-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.sparkle-dot {
  position: absolute;
  font-size: 0.95rem;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(255, 220, 100, 0.8));
  pointer-events: none;
}

.sp-1 {
  top: 15%;
  left: 20%;
  animation: sparkleFloat1 4s ease-in-out infinite alternate;
}

.sp-2 {
  bottom: 25%;
  left: 55%;
  font-size: 1.15rem;
  animation: sparkleFloat2 5s ease-in-out infinite alternate 0.6s;
}

.sp-3 {
  top: 30%;
  right: 18%;
  animation: sparkleFloat3 4.4s ease-in-out infinite alternate 1.2s;
}

@keyframes sparkleFloat1 {
  0% {
    transform: translateY(0) scale(0.85) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-8px) scale(1.15) rotate(15deg);
    opacity: 0.95;
  }

  100% {
    transform: translateY(-16px) scale(0.9) rotate(-10deg);
    opacity: 0.5;
  }
}

@keyframes sparkleFloat2 {
  0% {
    transform: translateY(0) scale(0.9) rotate(0deg);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-12px) scale(1.2) rotate(-20deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-22px) scale(1) rotate(15deg);
    opacity: 0.6;
  }
}

@keyframes sparkleFloat3 {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-10px) scale(1.25) rotate(25deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-18px) scale(0.85) rotate(-15deg);
    opacity: 0.45;
  }
}

/* Badge & Floating Circle on Banner */
.event-card-media-banner .event-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(18, 1, 5, 0.72);
  border: 1px solid rgba(249, 228, 150, 0.6);
  color: #FFDE8A;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.event-card-media-banner .event-icon-circle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  width: clamp(34px, 4.2vh, 40px);
  height: clamp(34px, 4.2vh, 40px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(212, 175, 55, 0.8);
  font-size: clamp(0.95rem, 1.8vh, 1.15rem);
  color: #FFF6D6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover .event-icon-circle,
.event-card.active .event-icon-circle {
  transform: scale(1.12) rotate(6deg);
}

/* Theme Accents & Glows - Custom Card Proportions */
/* Haldi Carnival: 16:9 Widescreen with Smiling Couple & Carnival Sign */
.theme-haldi.event-card {
  background: linear-gradient(155deg, rgba(102, 24, 28, 0.95) 0%, rgba(72, 14, 22, 0.96) 50%, rgba(45, 6, 15, 0.98) 100%);
  border-color: rgba(255, 215, 80, 0.85);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(255, 195, 45, 0.35);
}

.theme-haldi .event-card-media-banner {
  aspect-ratio: 16 / 9;
  max-height: 380px;
  min-height: 200px;
  border-color: rgba(255, 215, 80, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 205, 50, 0.45);
  animation: haldiAuraBreathing 4.5s ease-in-out infinite alternate;
}

.theme-haldi .event-card-img {
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.08) contrast(1.06) saturate(1.12);
}

@keyframes haldiAuraBreathing {
  0% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 205, 50, 0.3);
    border-color: rgba(255, 205, 50, 0.7);
  }

  100% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 32px rgba(255, 225, 80, 0.65);
    border-color: rgba(255, 235, 120, 1);
  }
}

.theme-haldi .event-icon-circle {
  background: radial-gradient(circle, rgba(255, 195, 50, 0.85) 0%, rgba(65, 8, 18, 0.92) 100%);
  color: #FFF8DC;
  border-color: #FFD700;
  box-shadow: 0 0 18px rgba(255, 215, 80, 0.65);
}

/* Mehendi */
.theme-mehendi.event-card {
  background: linear-gradient(155deg, rgba(22, 75, 50, 0.94) 0%, rgba(16, 52, 35, 0.96) 50%, rgba(32, 5, 15, 0.98) 100%);
  border-color: rgba(90, 230, 155, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(45, 195, 130, 0.35);
}

.theme-mehendi .event-card-media-banner {
  aspect-ratio: 16 / 10;
  max-height: 400px;
  border-color: rgba(65, 210, 145, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(50, 200, 135, 0.4);
}

.theme-mehendi .event-card-img {
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.06) contrast(1.05) saturate(1.1);
}

.theme-mehendi .event-icon-circle {
  background: radial-gradient(circle, rgba(45, 175, 115, 0.85) 0%, rgba(18, 48, 32, 0.95) 100%);
  color: #C2FFDF;
  border-color: #45D895;
  box-shadow: 0 0 18px rgba(45, 195, 130, 0.65);
}

/* Sangeet Night 16:9 Landscape */
.theme-sangeet.event-card {
  background: linear-gradient(155deg, rgba(88, 20, 75, 0.94) 0%, rgba(58, 12, 50, 0.96) 50%, rgba(32, 4, 20, 0.98) 100%);
  border-color: rgba(245, 135, 220, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(215, 75, 195, 0.35);
}

.theme-sangeet .event-card-media-banner {
  aspect-ratio: 16 / 9;
  max-height: 400px;
  border-color: rgba(225, 100, 200, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(220, 80, 195, 0.4);
}

.theme-sangeet .event-card-img {
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.06) contrast(1.05) saturate(1.1);
}

.theme-sangeet .event-icon-circle {
  background: radial-gradient(circle, rgba(185, 45, 155, 0.85) 0%, rgba(45, 5, 25, 0.95) 100%);
  color: #FFE6F8;
  border-color: #E855C8;
  box-shadow: 0 0 18px rgba(200, 55, 175, 0.65);
}

/* Barat & Shubh Vivah */
.theme-barat.event-card {
  background: linear-gradient(155deg, rgba(105, 18, 38, 0.95) 0%, rgba(70, 10, 25, 0.96) 50%, rgba(38, 4, 15, 0.98) 100%);
  border-color: rgba(255, 135, 155, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(240, 60, 90, 0.35);
}

.theme-barat .event-card-media-banner {
  aspect-ratio: 16 / 10;
  max-height: 400px;
  border-color: rgba(245, 80, 110, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(240, 65, 95, 0.4);
}

.theme-barat .event-card-img {
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(1.06) contrast(1.05) saturate(1.1);
}

.theme-barat .event-icon-circle {
  background: radial-gradient(circle, rgba(205, 35, 65, 0.85) 0%, rgba(55, 6, 18, 0.95) 100%);
  color: #FFE5EB;
  border-color: #F84568;
  box-shadow: 0 0 18px rgba(215, 45, 75, 0.65);
}

/* Grand DINNER */
.theme-DINNER.event-card {
  background: linear-gradient(155deg, rgba(92, 45, 16, 0.95) 0%, rgba(65, 28, 10, 0.96) 50%, rgba(35, 6, 14, 0.98) 100%);
  border-color: rgba(255, 222, 115, 0.85);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(245, 190, 55, 0.35);
}

.theme-DINNER .event-card-media-banner {
  aspect-ratio: 16 / 10;
  max-height: 400px;
  border-color: rgba(255, 205, 70, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 200, 60, 0.4);
}

.theme-DINNER .event-card-img {
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.06) contrast(1.05) saturate(1.1);
}

.theme-DINNER .event-icon-circle {
  background: radial-gradient(circle, rgba(225, 175, 45, 0.85) 0%, rgba(55, 12, 18, 0.95) 100%);
  color: #FFF8E0;
  border-color: #FFD54F;
  box-shadow: 0 0 18px rgba(240, 180, 45, 0.65);
}

/* Card Headings */
.event-card-title {
  font-family: 'Cinzel Decorative', 'Marcellus', 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.2vh, 1.55rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.6px;
  line-height: 1.2;
  margin: 0 0 3px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 18px rgba(255, 225, 120, 0.75);
}

.event-card-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.78rem, 1.3vh, 0.92rem);
  color: #FFE69A;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.event-card-divider {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 222, 138, 0.85) 50%, transparent 100%);
  margin: 6px 0 14px 0;
}

/* Event Details Grid */
.event-details-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
  margin-bottom: clamp(12px, 1.6vh, 16px);
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 222, 138, 0.22);
  border: 1px solid rgba(255, 235, 160, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF8DC;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 0 12px rgba(255, 215, 80, 0.35);
}

.detail-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.detail-label {
  font-family: 'Cinzel', serif;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFDE8A;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.detail-val {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.82rem, 1.35vh, 0.94rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.attire-val {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1.5px solid #FFFFFF;
}

.dot-yellow {
  background-color: #FFD23F;
  box-shadow: 0 0 8px #FFD23F;
}

.dot-green {
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.dot-magenta {
  background-color: #F472B6;
  box-shadow: 0 0 8px #F472B6;
}

.dot-crimson {
  background-color: #FB7185;
  box-shadow: 0 0 8px #FB7185;
}

.dot-gold {
  background-color: #FBBF24;
  box-shadow: 0 0 8px #FBBF24;
}

/* Description */
.event-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.78rem, 1.25vh, 0.9rem);
  line-height: 1.48;
  color: #FFF5EA;
  margin: 0 0 clamp(14px, 1.8vh, 18px) 0;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* Card Action Buttons */
.event-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}

.card-action-btn {
  flex: 1 1 140px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-family: 'Cinzel', serif;
  font-size: clamp(0.74rem, 1.2vh, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.card-action-btn.btn-map {
  background: rgba(255, 222, 138, 0.16);
  border: 1.5px solid rgba(255, 222, 138, 0.75);
  color: #FFF6D6;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.card-action-btn.btn-map:hover {
  background: rgba(255, 222, 138, 0.35);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 80, 0.5);
}

.card-action-btn.btn-calendar {
  background: linear-gradient(135deg, #FFF0B3 0%, #FFD700 50%, #D4AF37 100%);
  border: 1.5px solid #FFF8DC;
  color: #1A0105;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 215, 80, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-action-btn.btn-calendar:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE07D 50%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 222, 138, 0.85), inset 0 1px 0 #FFFFFF;
}

/* Dots Indicator (Hidden in vertical layout) */
.events-dots-indicator {
  display: none !important;
}

/* ==========================================================================
   HINDI TYPOGRAPHY FOR ROYAL EVENTS SECTION
   ========================================================================== */
body.lang-hindi .events-section-subtitle {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  letter-spacing: 1.5px;
  font-size: clamp(0.74rem, 1.3vh, 0.9rem);
}

body.lang-hindi .events-section-title {
  font-family: 'Kalam', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.45rem, 3.4vh, 2.3rem);
}

body.lang-hindi .event-nav-pill {
  font-family: 'Noto Serif Devanagari', sans-serif;
  font-size: clamp(0.75rem, 1.3vh, 0.88rem);
}

body.lang-hindi .event-card-badge {
  font-family: 'Noto Serif Devanagari', sans-serif;
  letter-spacing: 0.8px;
}

body.lang-hindi .event-card-title {
  font-family: 'Kalam', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.15rem, 2.2vh, 1.45rem);
}

body.lang-hindi .event-card-tagline {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  font-style: normal;
  font-size: clamp(0.78rem, 1.3vh, 0.9rem);
}

body.lang-hindi .detail-label {
  font-family: 'Noto Serif Devanagari', sans-serif;
  letter-spacing: 0.5px;
}

body.lang-hindi .detail-val {
  font-family: 'Noto Serif Devanagari', sans-serif;
  font-size: clamp(0.76rem, 1.25vh, 0.88rem);
}

body.lang-hindi .event-card-desc {
  font-family: 'Noto Serif Devanagari', sans-serif;
  font-size: clamp(0.74rem, 1.2vh, 0.84rem);
}

body.lang-hindi .card-action-btn {
  font-family: 'Noto Serif Devanagari', sans-serif;
  font-size: clamp(0.7rem, 1.15vh, 0.8rem);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE TWEAKS FOR EVENTS CARDS SECTION
   ========================================================================== */
@media (max-width: 768px) {
  .royal-events-section {
    padding: clamp(10px, 1.8vh, 18px) clamp(8px, 2vw, 14px) 90px;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .events-section-header {
    margin-bottom: 8px;
  }

  .events-crest-om {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
  }

  .events-crest-symbol {
    font-size: 1rem;
  }

  .events-section-subtitle {
    font-size: 0.68rem;
    letter-spacing: 2.2px;
  }

  .events-section-title {
    font-size: 1.5rem;
    margin: 2px 0 4px 0;
  }

  .events-nav-tabs {
    margin-bottom: 8px;
    padding: 4px 8px;
    gap: 5px;
    max-width: 98%;
  }

  .event-nav-pill {
    padding: 5px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .events-cards-track {
    gap: 24px;
    padding: 6px 8px 24px 8px;
    width: 100%;
  }

  .event-card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 18px 16px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.2);
  }

  .event-card-media-banner {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 280px;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
  }

  .theme-haldi .event-card-media-banner {
    aspect-ratio: 16 / 9;
    max-height: 260px;
  }

  .theme-sangeet .event-card-media-banner {
    aspect-ratio: 16 / 9;
    max-height: 260px;
  }

  .event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .theme-haldi .event-card-img {
    object-position: center center;
  }

  .theme-mehendi .event-card-img {
    object-position: center 30%;
  }

  .theme-sangeet .event-card-img {
    object-position: center center;
  }

  .theme-barat .event-card-img {
    object-position: center 35%;
  }

  .theme-DINNER .event-card-img {
    object-position: center 30%;
  }

  .event-card-media-banner .event-card-badge {
    top: 8px;
    left: 8px;
    font-size: 0.62rem;
    padding: 3px 9px;
  }

  .event-card-media-banner .event-icon-circle {
    bottom: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .events-arrow-btn {
    display: none;
    /* Smooth swipe snap is primary on mobile */
  }

  .event-card-title {
    font-size: 1.25rem;
    margin-bottom: 2px;
  }

  .event-card-tagline {
    font-size: 0.76rem;
    margin-bottom: 6px;
  }

  .event-card-divider {
    margin: 4px 0 8px 0;
  }

  .event-details-grid {
    gap: 7px;
    margin-bottom: 8px;
  }

  .detail-icon {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }

  .detail-label {
    font-size: 0.55rem;
  }

  .detail-val {
    font-size: 0.78rem;
  }

  .event-card-desc {
    margin-bottom: 10px;
    font-size: 0.74rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-action-btn {
    padding: 7px 8px;
    font-size: 0.68rem;
    gap: 5px;
  }

  .events-dots-indicator {
    margin-top: 6px;
  }

  .event-dot {
    width: 7px;
    height: 7px;
  }

  .event-dot.active {
    width: 22px;
  }
}

/* ==========================================================================
   FAMILY BLESSINGS DEDICATED SECTION (॥ पारिवारिक शुभाशीर्वाद ॥)
   ========================================================================== */
.family-blessings-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 30px auto;
  padding: 40px 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(120, 22, 48, 0.92) 0%, rgba(72, 12, 30, 0.95) 55%, rgba(35, 4, 14, 0.98) 100%);
  border: 1.8px solid rgba(255, 215, 80, 0.75);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 215, 80, 0.35), inset 0 0 30px rgba(255, 215, 80, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
  flex-shrink: 0;
}

.family-blessings-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 215, 80, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.family-blessings-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

/* Section Header */
.fb-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.fb-header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.fb-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 169, 59, 0.8), transparent);
}

.fb-sanskrit-tag {
  font-family: 'Tiro Devanagari Hindi', 'Cinzel', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #FFDE8A;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(229, 169, 59, 0.6);
}

.fb-title {
  font-family: 'Cinzel Decorative', 'Cinzel', 'Marcellus', serif;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
  margin: 4px 0 0 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 215, 60, 0.65);
  background: linear-gradient(135deg, #FFF6D0 0%, #FFD700 50%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fb-subtitle {
  font-family: 'Alex Brush', 'Playfair Display', cursive;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: #FFE6A3;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.fb-namaste-icon-wrap {
  margin-top: 4px;
}

.fb-namaste-icon {
  display: inline-block;
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 60, 0.7));
  animation: fbPulseNamaste 3s ease-in-out infinite alternate;
}

@keyframes fbPulseNamaste {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 60, 0.5));
  }

  100% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 16px rgba(255, 215, 60, 0.9));
  }
}

/* Invitation Quote Card */
.fb-quote-card {
  position: relative;
  width: 100%;
  max-width: 950px;
  padding: 24px 34px;
  background: rgba(72, 12, 28, 0.78);
  border: 1.5px solid rgba(255, 222, 138, 0.7);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 0 22px rgba(255, 215, 80, 0.12);
  box-sizing: border-box;
}

.fb-quote-text {
  font-family: 'Playfair Display', 'Marcellus', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  color: #FFF6E0;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Corner Ornaments */
.fb-quote-decor,
.fb-card-decor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #E5A93B;
  pointer-events: none;
}

.corner-tl {
  top: 6px;
  left: 6px;
  border-top: 2px solid #E5A93B;
  border-left: 2px solid #E5A93B;
}

.corner-tr {
  top: 6px;
  right: 6px;
  border-top: 2px solid #E5A93B;
  border-right: 2px solid #E5A93B;
}

.corner-bl {
  bottom: 6px;
  left: 6px;
  border-bottom: 2px solid #E5A93B;
  border-left: 2px solid #E5A93B;
}

.corner-br {
  bottom: 6px;
  right: 6px;
  border-bottom: 2px solid #E5A93B;
  border-right: 2px solid #E5A93B;
}

/* Two Royal Families Grid & Single Centered Family */
.fb-families-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1050px;
}

.fb-families-grid.fb-single-family {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.fb-family-card {
  position: relative;
  background: rgba(18, 2, 6, 0.85);
  border: 1px solid rgba(229, 169, 59, 0.4);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 18px rgba(229, 169, 59, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  box-sizing: border-box;
}

.fb-family-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 60, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 25px rgba(229, 169, 59, 0.45);
}

/* Centered & Animated Prasad Family Card */
.fb-family-card.animated-prasad-card {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(155deg, rgba(92, 16, 36, 0.94) 0%, rgba(62, 9, 24, 0.96) 50%, rgba(35, 4, 14, 0.98) 100%);
  border: 1.8px solid rgba(255, 215, 80, 0.75);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 215, 80, 0.4), inset 0 0 25px rgba(255, 215, 80, 0.12);
  animation: prasadCardBreathe 4.5s ease-in-out infinite alternate;
}

@keyframes prasadCardBreathe {
  0% {
    border-color: rgba(229, 169, 59, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 169, 59, 0.25), inset 0 0 20px rgba(229, 169, 59, 0.05);
  }

  100% {
    border-color: rgba(255, 215, 80, 0.95);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 215, 80, 0.5), inset 0 0 32px rgba(255, 215, 80, 0.15);
  }
}

.animated-prasad-card .fb-card-glow-aura {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(229, 169, 59, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: prasadAuraFloat 6s ease-in-out infinite alternate;
}

@keyframes prasadAuraFloat {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.animated-prasad-card .fb-card-decor {
  border-color: #FFD700;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 80, 0.8));
  animation: cornerGlint 3s ease-in-out infinite alternate;
}

@keyframes cornerGlint {
  0% {
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(255, 215, 80, 0.5));
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 230, 100, 1));
  }
}

.animated-prasad-card .fb-ancestor-box {
  background: radial-gradient(circle at 50% 50%, rgba(45, 5, 14, 0.6) 0%, rgba(10, 1, 3, 0.7) 100%);
  border: 1px solid rgba(229, 169, 59, 0.5);
  box-shadow: inset 0 0 15px rgba(229, 169, 59, 0.12), 0 4px 16px rgba(0, 0, 0, 0.6);
  animation: ancestorFrameGlow 4.5s ease-in-out infinite alternate;
}

@keyframes ancestorFrameGlow {
  0% {
    border-color: rgba(229, 169, 59, 0.4);
    box-shadow: inset 0 0 10px rgba(229, 169, 59, 0.08);
  }

  100% {
    border-color: rgba(255, 215, 80, 0.8);
    box-shadow: inset 0 0 22px rgba(255, 215, 80, 0.2), 0 0 16px rgba(229, 169, 59, 0.3);
  }
}

.animated-prasad-card .fb-family-heading {
  background: linear-gradient(135deg, #FFF8DB 0%, #FFD700 50%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(229, 169, 59, 0.6);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.fb-family-heading {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #FFDF88;
  letter-spacing: 1.5px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(229, 169, 59, 0.5);
}

.fb-family-subheading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #D4AF37;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -8px;
}

/* Ancestor & Grandparents Box */
.fb-ancestor-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(229, 169, 59, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
}

.fb-ancestor-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #FFDF88;
}

.fb-ancestor-names {
  font-family: 'Cinzel', 'Marcellus', serif;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 2px 0 0 0;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Parents Box */
.fb-parents-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.fb-parents-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E5A93B;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fb-parents-names {
  font-family: 'Cinzel', 'Marcellus', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(229, 169, 59, 0.3);
}

/* Gratitude / दर्शनाभिलाषी Strip */
.fb-gratitude-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 950px;
  padding: 12px 20px;
  background: rgba(18, 2, 6, 0.65);
  border: 1px solid rgba(229, 169, 59, 0.3);
  border-radius: 30px;
  box-sizing: border-box;
}

.fb-gratitude-icon {
  font-size: 1.1rem;
  color: #E5A93B;
  text-shadow: 0 0 8px rgba(229, 169, 59, 0.6);
}

.fb-gratitude-text {
  font-family: 'Cinzel', 'Marcellus', serif;
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  color: #FFE6A3;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fb-gratitude-label {
  color: #FFDF88;
  font-weight: 700;
}

.fb-gratitude-val {
  color: #FFFFFF;
  font-weight: 600;
}

/* Hindi Mode Typography */
body.lang-hindi .fb-sanskrit-tag,
body.lang-hindi .fb-title,
body.lang-hindi .fb-subtitle,
body.lang-hindi .fb-quote-text,
body.lang-hindi .fb-family-heading,
body.lang-hindi .fb-family-subheading,
body.lang-hindi .fb-ancestor-label,
body.lang-hindi .fb-ancestor-names,
body.lang-hindi .fb-parents-label,
body.lang-hindi .fb-parents-names,
body.lang-hindi .fb-gratitude-text {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', 'Rozha One', serif;
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .family-blessings-section {
    margin: 20px 12px 30px 12px;
    padding: 28px 16px;
    border-radius: 16px;
  }

  .fb-families-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fb-family-card {
    padding: 22px 16px;
  }

  .fb-quote-card {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .family-blessings-section {
    margin: 15px 8px 25px 8px;
    padding: 20px 12px;
    border-radius: 14px;
  }

  .fb-sanskrit-tag {
    font-size: 0.92rem;
  }

  .fb-title {
    font-size: 1.5rem;
  }

  .fb-subtitle {
    font-size: 1.15rem;
  }

  .fb-quote-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .fb-family-heading {
    font-size: 1.15rem;
  }

  .fb-ancestor-names,
  .fb-parents-names {
    font-size: 0.95rem;
  }

  .fb-gratitude-text {
    font-size: 0.8rem;
  }
}