/* ==========================================================================
   ANHAD & KANISHKA — CINEMATIC WEDDING INVITATION
   Royal Indian Luxury Wedding Experience | Surajkund (20–21 Nov 2026)
   ========================================================================== */

/* ==========================================================================
   1. ROOT / VARIABLES & THEME
   ========================================================================== */
:root {
  /* Royal Palette - Lighter Warm Maroon Theme */
  --burgundy: #8C1F2B;
  --crimson: #9E2232;
  --wine: #5E1622;
  --wine-dark: #380C14;
  --wine-darker: #28080E;
  --maroon-rich: #4A101A;
  --gold: #C79A4A;
  --gold-light: #E1BF76;
  --gold-pale: #F3E5C8;
  --ivory: #F8F0E3;
  --ivory-warm: #FAF4EB;
  --sandstone: #D8B98C;
  --dark-brown: #38251F;
  --ink: #1F1410;
  --muted-gold: rgba(199, 154, 74, 0.4);

  /* Glassmorphism & Translucencies */
  --glass-wine: rgba(94, 22, 34, 0.78);
  --glass-burgundy: rgba(140, 31, 43, 0.82);
  --glass-ivory: rgba(248, 240, 227, 0.88);
  --glass-border: rgba(199, 154, 74, 0.35);
  --glass-border-light: rgba(225, 191, 118, 0.45);
  --shadow-royal: 0 16px 48px rgba(56, 12, 20, 0.4);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.2);

  /* Typography */
  /*--font-heading: "Cormorant Garamond", Georgia, serif;*/
  --font-heading: Georgia, serif;
  /*--font-royal: "Cinzel", "Playfair Display", serif;*/
  --font-royal: "Times";
  /* --font-script: "Alex Brush", cursive; */
  --font-script: "Times";
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Noto Serif Devanagari", "Rozha One", "Cormorant Garamond", serif;

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
  font-family: Lucida;
  src: url(../fonts/LucidaUnicodeCalligraphy.ttf);
}
@font-face {
  font-family: Times;
  src: url(../fonts/times.ttf);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--wine-dark);
  color: var(--ivory);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ivory);
  background-color: var(--wine-dark);
  overflow-x: hidden;
  position: relative;
}

body.intro-locked {
  overflow: hidden !important;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--gold);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--wine-dark);
}

/* Typography Base Classes */
.font-script { font-family: var(--font-script); }
.font-heading { font-family: var(--font-heading); }
.font-royal { font-family: var(--font-royal); }
.font-body { font-family: var(--font-body); }

.text-gold { color: var(--gold) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.text-ivory { color: var(--ivory) !important; }
.text-sandstone { color: var(--sandstone) !important; }

/* Section Base */
section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 1.5rem;
}

.section-label {
  font-family: var(--font-royal);
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  font-weight: bold;
  display: inline-block;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--gold-pale);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--sandstone);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.royal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 320px;
}
.royal-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.royal-divider .symbol {
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* ==========================================================================
   3. SCENE 1 — INTRO / SURAJKUND GATE (ZERO LOADER OPENING)
   ========================================================================== */
#intro {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
  background-color: #2E0A10;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.intro-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#introVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.001);
  will-change: transform;
}

/* Soft cinematic gradient overlays over video */
.intro-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(62, 16, 25, 0.25) 0%, rgba(50, 11, 18, 0.75) 85%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 1.2s ease;
}

.intro-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(54, 12, 20, 0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-dark-overlay.active {
  opacity: 1;
}



/* Center AK Wax Seal Button */

.ak-top-namaste {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.8s ease, transform 0.8s ease;
  
}

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

.ak-top-namaste .namaste-img {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.namaste-img img {
    width: 100%;
  } 

.ak-seal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ak-seal-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ak-seal-img {
  width: clamp(130px, 22vw, 190px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 20px rgba(199, 154, 74, 0.45));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  animation: sealGentleGlow 3.5s ease-in-out infinite alternate;
}

.ak-seal-wrapper:hover .ak-seal-img {
  transform: scale(1.05);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 32px rgba(225, 191, 118, 0.7));
}

.ak-seal-text {
  font-family: var(--font-royal);
  font-size: clamp(0.98rem, 1.5vw, 1.25rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-top: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: textShimmer 2.8s ease-in-out infinite;
  font-weight: bold;
}

.ak-seal-text::before,
.ak-seal-text::after {
  content: "❖";
  font-size: 0.65rem;
  color: var(--gold);
}

@keyframes sealGentleGlow {
  0% { filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 16px rgba(199, 154, 74, 0.35)); }
  100% { filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(225, 191, 118, 0.65)); }
}

@keyframes textShimmer {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); color: #FFF3D6; }
}

/* AK Badge Physical Press Reaction */
.ak-seal-wrapper.is-pressed .ak-seal-img {
  transform: scale(0.91);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(225, 191, 118, 0.9));
}

.ak-seal-wrapper.is-hidden, .ak-top-namaste.is-hidden {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(1.18);
  pointer-events: none !important;
}

/* ==========================================================================
   HERO REVEAL OVER FROZEN VIDEO FRAME
   ========================================================================== */
.hero-reveal-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-reveal-content.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hero-together {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.2em;
  text-transform: capitalize;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  font-weight: bold;
}

.hero-couple-names {
  margin: 0.5rem 0;
  position: relative;
  text-align: center;
}

.hero-names-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-name-row,
.hero-name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: #FFF6E5;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 40px rgba(199, 154, 74, 0.3);
  opacity: 0;
  transform: translateY(30px);
}

.hero-name-part {
  display: inline-flex;
  align-items: center;
}

.char-unit {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: baseline;
  will-change: transform, opacity, width;
}

.hero-ampersand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  opacity: 0;
  transform: scale(0.6);
}

.hero-ampersand {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  color: var(--gold-light);
  margin: -0.2rem 0;
  line-height: 1;
}

/* Morph State: ANISH (Permanent Couple Monogram / Union) */
.hero-couple-names.is-anish .hero-names-display {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.hero-couple-names.is-anish .hero-ampersand-row {
  display: none !important;
}

.hero-couple-names.is-anish .hero-name-row,
.hero-couple-names.is-anish .hero-name {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  opacity: 1 !important;
  transform: none !important;
}

.hero-couple-names.is-anish .hero-name-part {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.hero-couple-names.is-anish .char-rem {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-couple-names.is-anish .char-keep {
  display: inline-block;
  opacity: 1 !important;
  transform: none !important;
}

.hero-divider {
  width: min(260px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  opacity: 0;
  transform: scaleX(0);
}

.hero-dates {
  font-family: var(--font-royal);
  font-size: clamp(0.95rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-location {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sandstone);
  opacity: 0;
  transform: translateY(20px);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  color: rgba(248, 240, 227, 0.85);
  margin-top: 1rem;
  opacity: 0;
}

.hero-scroll-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: clamp(0.68rem, 1.2vw, 0.8rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
  font-weight: bold;
}

.hero-scroll-prompt i {
  font-size: 1.1rem;
  animation: scrollArrowBounce 2s ease-in-out infinite;
}

@keyframes scrollArrowBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ==========================================================================
   4. ROYAL FLOATING PILL NAVIGATION (MATCHING SCREENSHOT)
   ========================================================================== */
.floating-nav-container {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 1000;
  width: min(1140px, 94vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.floating-nav-container.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.royal-pill-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #581928 0%, #380D16 100%);
  border: 1px solid rgba(199, 154, 74, 0.45);
  border-radius: 9999px;
  padding: 0.35rem 1.6rem 0.35rem 0.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(199, 154, 74, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}

/* Left Clean AK Wax Badge Logo */
.nav-logo-badge {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0 0.2rem;
}

.nav-clean-badge-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(199, 154, 74, 0.3));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-logo-badge:hover .nav-clean-badge-img {
  transform: scale(1.12) rotate(4deg);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(225, 191, 118, 0.65));
}

/* Nav Links Pill */
.nav-links-pill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.6rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0 0.6rem;
  flex-grow: 1;
}

.nav-pill-link {
  font-family: var(--font-royal);
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sandstone);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}

.nav-pill-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transition: transform 0.3s ease;
}

.nav-pill-link:hover,
.nav-pill-link.is-active {
  color: #FFF6E5;
  text-shadow: 0 0 12px rgba(225, 191, 118, 0.7);
}

.nav-pill-link:hover::after,
.nav-pill-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mobile Toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  outline: none;
}

/* Mobile Drawer */
.nav-mobile-drawer {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  background: rgba(64, 16, 26, 0.97);
  border: 1px solid rgba(199, 154, 74, 0.4);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.nav-mobile-item {
  display: block;
  font-family: var(--font-royal);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sandstone);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-mobile-item:hover,
.nav-mobile-item.is-active {
  color: #FFF;
  background: rgba(199, 154, 74, 0.2);
  border: 1px solid rgba(199, 154, 74, 0.35);
}

/* ==========================================================================
   FLOATING ROYAL MUSIC CONTROLLER
   ========================================================================== */
.floating-music-widget {
  position: fixed;
  bottom: 1.6rem;
  left: 1.6rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(70, 18, 29, 0.92);
  border: 1px solid rgba(199, 154, 74, 0.5);
  border-radius: 40px;
  padding: 0.4rem 1.1rem 0.4rem 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(199, 154, 74, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-music-widget.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-music-widget:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(225, 191, 118, 0.4);
}

.music-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--wine-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(199, 154, 74, 0.4);
  flex-shrink: 0;
}

.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.eq-bar {
  width: 3px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.floating-music-widget.playing .eq-bar:nth-child(1) { animation: eqAnimation 1.1s ease-in-out infinite alternate; }
.floating-music-widget.playing .eq-bar:nth-child(2) { animation: eqAnimation 0.8s ease-in-out infinite 0.2s alternate; }
.floating-music-widget.playing .eq-bar:nth-child(3) { animation: eqAnimation 1.3s ease-in-out infinite 0.4s alternate; }
.floating-music-widget.playing .eq-bar:nth-child(4) { animation: eqAnimation 0.9s ease-in-out infinite 0.1s alternate; }

@keyframes eqAnimation {
  0% { height: 3px; }
  100% { height: 16px; }
}

.music-label {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sandstone);
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .floating-music-widget {
    bottom: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem 0.35rem 0.45rem;
  }
  .music-label {
    display: none;
  }
}

/* ==========================================================================
   5. SCENE 2 — PARENTS WELCOME
   ========================================================================== */
#parents {
  background: radial-gradient(circle at 50% 30%, #681E2F 0%, #45131E 100%);
  color: var(--ivory);
  text-align: center;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.parents-card-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(82, 22, 34, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-royal);
  backdrop-filter: blur(6px);
  position: relative;
}

.parents-portraits-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2rem;
}

.parent-portrait-frame {
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(199, 154, 74, 0.6) 0%, rgba(75, 17, 24, 0.3) 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.parent-portrait-frame img {
  width: 100%;
  /* aspect-ratio: 4/5; */
  object-fit: cover;
  border-radius: 14px;
  filter: brightness(0.96) contrast(1.04);
}

.parent-frame-caption {
  font-family: var(--font-royal);
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: capitalize;
  color: var(--gold-light);
  margin-top: 0.8rem;
  font-weight: bold;
}

.parents-welcome-copy {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  line-height: 1.7;
  color: var(--ivory-warm);
  font-style: italic;
}

/* ==========================================================================
   6. SCENE 3 — COUPLE INTRODUCTION (TWO FAMILIES, ONE BEAUTIFUL BEGINNING)
   ========================================================================== */
#couple {
  background: linear-gradient(180deg, #45131E 0%, #5B1B2B 50%, #45131E 100%);
  text-align: center;
}

.couple-editorial-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  max-width: 1200px;
  margin: 3rem auto 0;
}

.couple-side-card {
  background: rgba(82, 22, 34, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.2rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-royal);
  text-align: center;
  transition: transform var(--transition-smooth);
}

.couple-side-card:last-child {
    order: 3;
    transform: translate(0,0) !important;
}

.couple-portrait-wrapper {
  width: min(240px, 80%);
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(116, 24, 32, 0.5) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.couple-portrait-wrapper img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.person-role {
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.person-fullname {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.8vw, 2rem);
  font-weight: 600;
  color: #FFF5E1;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.lineage-block {
  border-top: 1px dashed var(--muted-gold);
  padding-top: 1.2rem;
  margin-top: 1rem;
}

.lineage-title {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.lineage-names {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ivory);
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

/* Center Weds Emblem */
.couple-center-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.couple-seal-img {
  width: clamp(90px, 14vw, 130px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(199, 154, 74, 0.4));
  animation: sealGentleGlow 4s ease-in-out infinite alternate;
}

.weds-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--gold-light);
  line-height: 1;
  margin: 0.5rem 0;
}

/* ==========================================================================
   7. SCENE 4 — SAVE THE DATE & CANVAS SCRATCH CARD & COUNTDOWN
   ========================================================================== */
#save-the-date {
  background: radial-gradient(circle at 50% 40%, #681E2F 0%, #3A0E18 100%);
  text-align: center;
}

.scratch-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2.5rem auto 3.5rem;
}

.scratch-card-container {
  position: relative;
  width: min(540px, 92vw);
  height: clamp(360px, 52vw, 430px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(225, 191, 118, 0.45);
  background: #3E101A;
  user-select: none;
  -webkit-user-select: none;
  cursor: crosshair;
}

/* Hidden revealed layer underneath (Luxury Velvet & Gold) */
.scratch-revealed-content {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, #752336 0%, #44121D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--ivory);
  text-align: center;
  border-radius: 28px;
}

.revealed-inner-frame {
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(225, 191, 118, 0.45);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: radial-gradient(circle at center, rgba(142, 32, 44, 0.4) 0%, rgba(58, 14, 23, 0.6) 100%);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.6);
}

.revealed-badge-icon {
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.revealed-tagline {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.revealed-date-num {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  color: #FFF8E7;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(225, 191, 118, 0.35);
}

.revealed-month {
  font-family: var(--font-royal);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.3rem 0;
}

.revealed-divider-line {
  width: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0.6rem auto;
}

.revealed-names {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: #FFF;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.revealed-location {
  font-family: var(--font-royal);
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sandstone);
}

/* Canvas Metallic Foil Scratch Layer */
#scratchCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 2;
  border-radius: 28px;
  transition: opacity 0.7s ease;
}

/* Flying Gold Flakes Container */
.scratch-flakes-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: hidden;
}

.scratch-flake {
  position: absolute;
  background: linear-gradient(135deg, #FFF1B8 0%, #D4AF37 60%, #8C6219 100%);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(255, 230, 130, 0.8);
  pointer-events: none;
}

/* 3D Realistic Coin Scratch Cursor Follower */
.scratch-coin-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(16deg);
  transition: opacity 0.25s ease, transform 0.1s ease;
}

.scratch-card-container:hover .scratch-coin-cursor {
  opacity: 1;
}

.scratch-coin-cursor.is-scratching {
  transform: translate(-50%, -50%) rotate(34deg) scale(0.92);
}

.coin-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF5D0 0%, #E6C265 40%, #B88B2A 75%, #6B490E 100%);
  border: 2px solid #FFF8DC;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 0 2px 5px rgba(255, 255, 255, 0.9), inset 0 -3px 6px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-emblem {
  font-size: 1.1rem;
  color: #5C3D08;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
  line-height: 1;
}

/* Instruction Pill Below Card */
.scratch-instruction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0.45rem 1.2rem;
  background: rgba(70, 18, 29, 0.85);
  border: 1px solid rgba(199, 154, 74, 0.4);
  border-radius: 30px;
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sandstone);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  animation: pulsePill 3s ease-in-out infinite;
  transition: all 0.5s ease;
}

.scratch-instruction-pill.is-hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.9);
}

@keyframes pulsePill {
  0%, 100% { transform: translateY(0); border-color: rgba(199, 154, 74, 0.4); }
  50% { transform: translateY(-2px); border-color: rgba(225, 191, 118, 0.75); color: #FFF; }
}

/* Sparkle Canvas Burst Container */
.sparkle-burst-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

/* ==========================================================================
   COUNTDOWN TIMER (Initially Hidden, Revealed After Scratch)
   ========================================================================== */
.countdown-section-wrapper {
  max-width: 820px;
  margin: 0 auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.8s ease,
              margin-top 0.8s ease;
}

.countdown-section-wrapper.is-revealed {
  opacity: 1;
  max-height: 600px;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  margin-top: 2.8rem;
}

.countdown-heading {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  color: var(--gold-pale);
  margin-bottom: 2rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 1.8rem);
}

.countdown-box {
  background: rgba(82, 22, 34, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: clamp(1.2rem, 2.5vw, 2rem) clamp(0.5rem, 1vw, 1rem);
  box-shadow: var(--shadow-soft);
  text-align: center;
  backdrop-filter: blur(6px);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  color: #FFF6E5;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-family: var(--font-royal);
  font-size: clamp(0.68rem, 1.2vw, 0.84rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ==========================================================================
   8. SCENE 5 — OUR STORY (EDITORIAL COUPLE GALLERY)
   ========================================================================== */
#story {
  background: linear-gradient(180deg, #3A0E18 0%, #4E1624 50%, #3A0E18 100%);
  text-align: center;
}

.story-editorial-stream {
  max-width: 1140px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 6rem);
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  text-align: left;
}

.story-row.reversed {
  direction: rtl;
}
.story-row.reversed .story-text-col {
  direction: ltr;
}

.story-media-col {
  position: relative;
}

.story-main-frame {
  position: relative;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(199, 154, 74, 0.5) 0%, rgba(116, 24, 32, 0.2) 100%);
  box-shadow: var(--shadow-royal);
  overflow: hidden;
}

.story-main-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  transition: transform var(--transition-slow);
}

.story-main-frame:hover img {
  transform: scale(1.04);
}

.story-overlap-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  width: clamp(70px, 12vw, 100px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

.story-text-col {
  padding: 1rem;
}

.story-chapter-tag {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  /*letter-spacing: 0.2em;*/
  text-transform: capitalize;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.story-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.6vw, 2.2rem);
  font-weight: 600;
  color: #FFF5E1;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.story-paragraph {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--sandstone);
  font-style: italic;
}

/* ==========================================================================
   SAVE THE DATE REVEAL POPOVER MODAL
   ========================================================================== */
.date-popover-backdrop {
  z-index: 10000;
}

.date-popover-box {
  max-width: 520px;
  width: min(520px, 94vw);
  background: radial-gradient(circle at 50% 30%, #6B2032 0%, #3A0E18 100%);
  border: 1.5px solid rgba(225, 191, 118, 0.6);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(199, 154, 74, 0.25);
  padding: clamp(2rem, 4.5vw, 3rem) clamp(1.4rem, 3vw, 2.5rem);
  position: relative;
  text-align: center;
}

.date-popover-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(116, 24, 32, 0.4);
  border: 1px solid rgba(199, 154, 74, 0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.date-popover-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-popover-close-btn:hover {
  background: rgba(199, 154, 74, 0.3);
  color: #FFF;
  transform: rotate(90deg);
}

.popover-ak-seal {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
}

.popover-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  color: #FFF6E5;
  margin-bottom: 1rem;
}

.popover-date-banner {
  background: rgba(64, 16, 26, 0.85);
  border: 1px solid rgba(199, 154, 74, 0.4);
  border-radius: 20px;
  padding: 1.2rem 1rem;
  margin: 1.2rem 0;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.5);
}

.popover-big-date {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 700;
  color: #FFF8EB;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 20px rgba(225, 191, 118, 0.4);
}

.popover-big-month {
  font-family: var(--font-royal);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.3rem;
}

.popover-venue {
  font-family: var(--font-royal);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--sandstone);
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.popover-countdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(199, 154, 74, 0.15);
  border: 1px dashed rgba(225, 191, 118, 0.5);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  margin: 0.8rem auto 0.6rem;
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.popover-names {
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: #FFF;
  margin-bottom: 0.5rem;
}

.popover-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sandstone);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-cal-action {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-royal-outline {
  background: transparent;
  border: 1px solid rgba(199, 154, 74, 0.5);
  border-radius: 30px;
  color: var(--sandstone);
  font-family: var(--font-royal);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-royal-outline:hover {
  border-color: var(--gold-light);
  color: #FFF;
  background: rgba(199, 154, 74, 0.2);
}

/* ==========================================================================
   SCENE 5.5 — DUAL 3D CARD STACK GALLERY (GROOM & BRIDE)
   ========================================================================== */
#gallery {
  background: linear-gradient(180deg, #3A0E18 0%, #551826 50%, #3A0E18 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dual-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  max-width: 1240px;
  margin: 3.5rem auto 0;
}

.gallery-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gallery-person-header {
  margin-bottom: 1.8rem;
  text-align: center;
}

.gallery-role-tag {
  display: inline-block;
  font-family: var(--font-royal);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.gallery-person-name {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: #FFF5E1;
  font-weight: 600;
  margin: 0;
}

/* Center Emblem Vertical Divider */
.gallery-center-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.gallery-vertical-line {
  width: 1.5px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(199, 154, 74, 0.5), transparent);
}

.gallery-seal-icon {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.gallery-center-amp {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* 3D Stack Carousel Container */
.stack-carousel-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  perspective: 1200px;
}

.stack-cards-viewport {
  position: relative;
  width: 100%;
  height: clamp(380px, 48vw, 470px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Individual 3D Stack Photo Card */
.stack-photo-card {
  position: absolute;
  width: min(310px, 78vw);
  aspect-ratio: 3/4;
  border-radius: 24px;
  cursor: pointer;
  transform-origin: center bottom;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              filter 0.6s ease,
              box-shadow 0.6s ease;
}

.stack-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(225, 191, 118, 0.75) 0%, rgba(116, 24, 32, 0.4) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.stack-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
  display: block;
}

/* 3D Stack States */
.stack-photo-card.card-active {
  transform: translateX(0) scale(1) rotate(0deg);
  z-index: 10;
  opacity: 1;
  filter: none;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(225, 191, 118, 0.7);
}

.stack-photo-card.card-prev {
  transform: translateX(-36%) scale(0.86) rotate(-7deg);
  z-index: 5;
  opacity: 0.62;
  filter: blur(0.5px) brightness(0.8);
}

.stack-photo-card.card-next {
  transform: translateX(36%) scale(0.86) rotate(7deg);
  z-index: 5;
  opacity: 0.62;
  filter: blur(0.5px) brightness(0.8);
}

.stack-photo-card.card-hidden {
  transform: translateX(0) scale(0.7) rotate(0deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Controls (Prev/Next buttons & dots) */
.stack-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.btn-stack-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(82, 22, 34, 0.85);
  border: 1px solid rgba(199, 154, 74, 0.5);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.btn-stack-nav:hover {
  background: rgba(199, 154, 74, 0.35);
  color: #FFF;
  border-color: var(--gold-light);
  transform: scale(1.08);
}

.stack-indicators {
  display: flex;
  gap: 6px;
}

.stack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(199, 154, 74, 0.3);
  border: 1px solid rgba(199, 154, 74, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.stack-dot.is-active {
  width: 22px;
  border-radius: 10px;
  background: var(--gold-light);
  box-shadow: 0 0 8px rgba(225, 191, 118, 0.6);
}

/* Responsive Dual Gallery */
@media (max-width: 991.98px) {
  .dual-gallery-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .gallery-center-emblem {
    display: none;
  }
}

/* ==========================================================================
   9. SCENE 6 — CELEBRATIONS INTRO & 5 CINEMATIC EVENT SECTIONS
   ========================================================================== */
#celebrations-intro {
  background: radial-gradient(circle at 50% 50%, #681E2F 0%, #360D15 100%);
  text-align: center;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
}

.celebrations-timeline-motif {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  border-radius: 40px;
  background: rgba(82, 22, 34, 0.6);
  border: 1px solid var(--glass-border);
}

.timeline-date {
  font-family: var(--font-royal);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.timeline-arrow {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ==========================================================================
   SCENE 6 — APFOREVER.COM LUXURY FUNCTION CARDS
   ========================================================================== */
.ap-function-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 1rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #4E1624 0%, #320B12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-function-section:nth-of-type(even) {
  background: radial-gradient(circle at 50% 30%, #561828 0%, #340C14 100%);
}

.ap-function-card {
  max-width: 490px;
  /* width: min(490px, 94vw); */
  margin: 0 auto;
  background: radial-gradient(circle at 50% 15%, rgba(94, 26, 39, 0.95) 0%, rgba(56, 13, 21, 0.98) 100%);
  border: 1.5px solid rgba(225, 191, 118, 0.45);
  border-radius: 28px;
  padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.2rem, 3.8vw, 2.4rem);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 30px rgba(199, 154, 74, 0.15);
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.ap-function-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.85), 0 0 45px rgba(225, 191, 118, 0.25);
  border-color: rgba(225, 191, 118, 0.75);
}

.ap-card-script-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 7.5vw, 3.7rem);
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.ap-card-date {
  font-family: var(--font-royal);
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  color: #FFF8EB;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.ap-card-time {
  font-family: var(--font-royal);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.ap-card-img-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 1.8rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(225, 191, 118, 0.4);
  background: rgba(0, 0, 0, 0.35);
}

.ap-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-function-card:hover .ap-card-img {
  transform: scale(1.03);
}

.ap-card-venue-block {
  text-align: center;
}

.ap-card-venue-tag {
  font-family: var(--font-royal);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  color: var(--sandstone);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.ap-card-venue-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--gold-pale);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.ap-card-venue-address {
  font-family: var(--font-royal);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--sandstone);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ap-card-venue-country {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.ap-card-dress-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-radius: 20px;
  background: rgba(199, 154, 74, 0.12);
  border: 1px dashed rgba(225, 191, 118, 0.45);
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.ap-card-attire-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.ap-card-theme-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.42rem 1.3rem;
  border-radius: 20px;
  background: rgba(199, 154, 74, 0.15);
  border: 1px solid rgba(225, 191, 118, 0.55);
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ap-card-couple-attire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  padding: 0.35rem 1rem;
  background: rgba(30, 8, 12, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(225, 191, 118, 0.2);
}

/*.attire-pill {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 0.4rem;*/
/*}*/

.attire-label {
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.attire-val {
  color: #FFF;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.attire-dot {
  color: var(--gold);
  opacity: 0.65;
  font-size: 0.8rem;
}

.ap-card-maps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.8rem;
  border-radius: 30px;
  background: rgba(225, 191, 118, 0.1);
  border: 1.2px solid rgba(225, 191, 118, 0.6);
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ap-card-maps-btn:hover {
  background: var(--gold-gradient);
  color: #2A090E;
  font-weight: 600;
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(199, 154, 74, 0.45);
}

/* ==========================================================================
   BESPOKE BEIGE / BADGE THEME FOR LAGUN SAGAI SECTION
   ========================================================================== */
/* #lagun-sagai {
  background: radial-gradient(circle at 50% 30%, #F6EFE3 0%, #EADBCA 55%, #DEC8AC 100%);
  box-shadow: inset 0 40px 60px -20px rgba(46, 10, 16, 0.6), inset 0 -40px 60px -20px rgba(46, 10, 16, 0.6);
  position: relative;
}

#lagun-sagai::before {
  content: "";
  position: absolute; 
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 252, 245, 0.65) 0%, transparent 70%);
  pointer-events: none;
} */

#lagun-sagai .ap-function-card {
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.96) 0%, rgba(247, 239, 228, 0.94) 100%);
  border: 1.5px solid rgba(199, 154, 74, 0.65);
  box-shadow: 0 25px 65px rgba(100, 75, 45, 0.22), 0 0 35px rgba(225, 191, 118, 0.35);
}

#lagun-sagai .ap-function-card:hover {
  border-color: rgba(199, 154, 74, 0.85);
  box-shadow: 0 32px 75px rgba(100, 75, 45, 0.28), 0 0 45px rgba(199, 154, 74, 0.45);
}

#lagun-sagai .ap-card-script-title {
  color: #5E1622;
  text-shadow: 0 2px 10px rgba(94, 22, 34, 0.15);
}

html.lang-hi #lagun-sagai .ap-card-script-title {
  color: #5E1622;
}

#lagun-sagai .ap-card-date {
  color: #4A3222;
  font-weight: 600;
}

#lagun-sagai .ap-card-time {
  color: #8C5E1A;
  font-weight: 600;
}

#lagun-sagai .ap-card-img-wrapper {
  box-shadow: 0 16px 36px rgba(110, 80, 50, 0.25), inset 0 0 0 1.5px rgba(199, 154, 74, 0.55);
  background: rgba(225, 191, 118, 0.2);
}

#lagun-sagai .ap-card-venue-tag {
  color: #8C6A48;
  font-weight: 600;
}

#lagun-sagai .ap-card-venue-title {
  color: #380C14;
  font-weight: 700;
}

#lagun-sagai .ap-card-venue-address {
  color: #5C402B;
}

#lagun-sagai .ap-card-venue-country {
  color: #6E1A27;
  font-weight: 600;
}

#lagun-sagai .ap-card-theme-badge {
  background: rgba(199, 154, 74, 0.18);
  border: 1.2px solid rgba(180, 135, 60, 0.65);
  color: #6B4314;
  box-shadow: 0 4px 12px rgba(160, 120, 60, 0.15);
}

#lagun-sagai .ap-card-couple-attire {
  background: rgba(240, 230, 215, 0.88);
  border: 1px solid rgba(199, 154, 74, 0.45);
}

#lagun-sagai .attire-label {
  color: #7A4E1B;
}

#lagun-sagai .attire-val {
  color: #2D1A0E;
  font-weight: 600;
}

#lagun-sagai .attire-dot {
  color: #A67C38;
}

#lagun-sagai .ap-card-maps-btn {
  background: rgba(199, 154, 74, 0.15);
  border: 1.2px solid rgba(180, 135, 60, 0.75);
  color: #5E1622;
  font-weight: 600;
}

#lagun-sagai .ap-card-maps-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #2E0A10;
  border-color: var(--gold-light);
  box-shadow: 0 8px 22px rgba(199, 154, 74, 0.4);
}

/* ==========================================================================
   GLITTER & GLAM THEME FOR ENGAGEMENT & SANGEET CARD
   (Section background untouched; only ap-function-card updated)
   ========================================================================== */
#engagement-sangeet .ap-function-card {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(68, 16, 32, 0.95) 0%, rgba(32, 8, 16, 0.98) 65%, rgba(18, 4, 9, 0.99) 100%);
  border: 1.5px solid rgba(255, 220, 130, 0.7);
  box-shadow: 0 0 30px rgba(255, 215, 120, 0.28), 0 25px 75px rgba(0, 0, 0, 0.85), inset 0 0 25px rgba(255, 215, 120, 0.08);
  overflow: hidden;
  animation: sangeetGlitterPulse 4s ease-in-out infinite alternate;
}

/* Shimmering Star Sparkles & Diamond Glitter Overlay */
#engagement-sangeet .ap-function-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image: 
    radial-gradient(1.5px 1.5px at 25px 35px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 70px 90px, #FFE58F, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 45px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 210px 120px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 280px 55px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 350px 100px, #FFF0B3, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 420px 40px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 460px 130px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 30px 240px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 280px, #FFE58F, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 320px 230px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 440px 270px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 60px 400px, #FFE58F, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 190px 440px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 370px 410px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 110px 560px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 260px 600px, #FFE58F, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 430px 560px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 720px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 240px 760px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 390px 710px, #FFE58F, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 150px 880px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 330px 920px, #FFD666, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 450px 860px, #FFFFFF, rgba(0,0,0,0));
  opacity: 0.75;
  pointer-events: none;
  animation: sangeetStarTwinkle 3s ease-in-out infinite alternate;
}

@keyframes sangeetGlitterPulse {
  0% {
    box-shadow: 0 0 28px rgba(255, 215, 120, 0.28), 0 25px 75px rgba(0, 0, 0, 0.85), inset 0 0 20px rgba(255, 215, 120, 0.08);
    border-color: rgba(255, 220, 130, 0.65);
  }
  100% {
    box-shadow: 0 0 45px rgba(255, 225, 140, 0.45), 0 30px 85px rgba(0, 0, 0, 0.95), inset 0 0 35px rgba(255, 220, 130, 0.15);
    border-color: rgba(255, 235, 160, 0.9);
  }
}

@keyframes sangeetStarTwinkle {
  0% { opacity: 0.55; transform: scale(0.99); }
  100% { opacity: 0.9; transform: scale(1.01); }
}

#engagement-sangeet .ap-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 55px rgba(255, 225, 140, 0.55), 0 35px 90px rgba(0, 0, 0, 0.95), inset 0 0 40px rgba(255, 225, 140, 0.2);
  border-color: #FFF2B2;
}

/* Dazzling Metallic Diamond Gold Title */
#engagement-sangeet .ap-card-script-title {
  background: linear-gradient(135deg, #FFFDEB 0%, #FFDF88 28%, #FFFFFF 48%, #E5BE5E 72%, #FFF8D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 225, 130, 0.75)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.8));
  font-weight: 500;
}

html.lang-hi #engagement-sangeet .ap-card-script-title {
  background: linear-gradient(135deg, #FFFDEB 0%, #FFDF88 28%, #FFFFFF 48%, #E5BE5E 72%, #FFF8D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 225, 130, 0.75)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.8));
}

/* Date and Time with Crystal Glamour */
#engagement-sangeet .ap-card-date {
  color: #FFF8EB;
  text-shadow: 0 0 10px rgba(255, 225, 130, 0.5);
}

#engagement-sangeet .ap-card-time {
  color: #FFDE7B;
  text-shadow: 0 0 12px rgba(255, 215, 120, 0.55);
}

/* Image Wrapper with Golden Halo Frame */
#engagement-sangeet .ap-card-img-wrapper {
  box-shadow: 0 0 30px rgba(255, 215, 120, 0.35), 0 20px 48px rgba(0, 0, 0, 0.8), inset 0 0 0 1.5px rgba(255, 230, 150, 0.65);
  border: 1px solid rgba(255, 225, 140, 0.4);
}

/* Theme Badge — GLITTER & GLAM Feature */
#engagement-sangeet .ap-card-theme-badge {
  background: linear-gradient(135deg, rgba(255, 215, 120, 0.28) 0%, rgba(212, 175, 55, 0.18) 100%);
  border: 1.5px solid rgba(255, 225, 140, 0.85);
  color: #FFF4D0;
  box-shadow: 0 0 18px rgba(255, 215, 120, 0.45), inset 0 0 10px rgba(255, 215, 120, 0.2);
  text-shadow: 0 0 8px rgba(255, 225, 140, 0.7);
  letter-spacing: 0.18em;
}

#engagement-sangeet .ap-card-theme-badge i {
  color: #FFF3BD;
  filter: drop-shadow(0 0 6px #FFE58F);
  display: inline-block;
  animation: starSpin 3s ease-in-out infinite alternate;
}

@keyframes starSpin {
  0% { transform: scale(0.9) rotate(-10deg); }
  100% { transform: scale(1.2) rotate(15deg); }
}

/* Couple Attire with Glam Touch */
#engagement-sangeet .ap-card-couple-attire {
  background: rgba(45, 12, 22, 0.65);
  border: 1px solid rgba(255, 225, 140, 0.35);
  box-shadow: 0 0 14px rgba(255, 215, 120, 0.15);
}

#engagement-sangeet .attire-label {
  color: #FFDE7B;
}

#engagement-sangeet .attire-val {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Venue Title */
#engagement-sangeet .ap-card-venue-title {
  color: #FFF8EB;
  text-shadow: 0 0 12px rgba(255, 220, 130, 0.35);
}

/* Maps Button with Shimmer */
#engagement-sangeet .ap-card-maps-btn {
  background: linear-gradient(135deg, rgba(255, 215, 120, 0.16) 0%, rgba(212, 175, 55, 0.22) 100%);
  border: 1.5px solid rgba(255, 225, 140, 0.8);
  color: #FFF4D0;
  box-shadow: 0 0 16px rgba(255, 215, 120, 0.35);
  text-shadow: 0 0 8px rgba(255, 220, 120, 0.5);
}

#engagement-sangeet .ap-card-maps-btn:hover {
  background: linear-gradient(135deg, #FFF6D6 0%, #FFDF88 40%, #D4AF37 75%, #8C6219 100%);
  color: #1A0508;
  border-color: #FFFFFF;
  box-shadow: 0 0 28px rgba(255, 225, 140, 0.75), 0 8px 24px rgba(0, 0, 0, 0.6);
  text-shadow: none;
}

/* ==========================================================================
   CLUB CHIC & GLAM THEME FOR DJ NIGHT & AFTER PARTY CARD
   (Section background untouched; only ap-function-card updated)
   ========================================================================== */
#dj-night .ap-function-card {
  position: relative;
  background: radial-gradient(circle at 50% 12%, rgba(52, 12, 45, 0.96) 0%, rgba(26, 7, 24, 0.98) 55%, rgba(12, 3, 14, 0.99) 100%);
  border: 1.5px solid rgba(255, 120, 210, 0.7);
  box-shadow: 0 0 32px rgba(220, 50, 160, 0.32), 0 0 16px rgba(180, 80, 255, 0.22), 0 25px 75px rgba(0, 0, 0, 0.9), inset 0 0 28px rgba(220, 50, 160, 0.1);
  overflow: hidden;
  animation: djClubPulse 4s ease-in-out infinite alternate;
}

/* Shimmering Disco Ball & Strobe Sparkle Overlay */
#dj-night .ap-function-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image: 
    radial-gradient(1.5px 1.5px at 30px 40px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 80px 80px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 150px 35px, #D4A5FF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 220px 110px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 290px 45px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 360px 95px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 430px 50px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 470px 120px, #C084FC, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 45px 250px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 170px 290px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 310px 240px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 450px 280px, #D4A5FF, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 50px 420px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 200px 450px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 380px 430px, #D4A5FF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 100px 580px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 250px 620px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 440px 580px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 80px 740px, #D4A5FF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 230px 770px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 400px 730px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 140px 890px, #FF77D9, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 320px 930px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 460px 870px, #D4A5FF, rgba(0,0,0,0));
  opacity: 0.8;
  pointer-events: none;
  animation: djDiscoTwinkle 3s ease-in-out infinite alternate;
}

@keyframes djClubPulse {
  0% {
    box-shadow: 0 0 30px rgba(220, 50, 160, 0.3), 0 0 15px rgba(180, 80, 255, 0.2), 0 25px 75px rgba(0, 0, 0, 0.9), inset 0 0 22px rgba(220, 50, 160, 0.08);
    border-color: rgba(255, 120, 210, 0.65);
  }
  100% {
    box-shadow: 0 0 48px rgba(235, 60, 175, 0.48), 0 0 25px rgba(190, 110, 255, 0.35), 0 30px 85px rgba(0, 0, 0, 0.95), inset 0 0 38px rgba(255, 120, 210, 0.16);
    border-color: rgba(255, 160, 230, 0.95);
  }
}

@keyframes djDiscoTwinkle {
  0% { opacity: 0.6; transform: scale(0.99); }
  100% { opacity: 0.95; transform: scale(1.01); }
}

#dj-night .ap-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 55px rgba(235, 60, 175, 0.55), 0 0 30px rgba(190, 110, 255, 0.4), 0 35px 90px rgba(0, 0, 0, 0.95), inset 0 0 40px rgba(255, 120, 210, 0.22);
  border-color: #FFC2F0;
}

/* Electric Platinum-Gold & Rose Glam Title */
#dj-night .ap-card-script-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFD6F2 26%, #FFFFFF 48%, #FF85D0 74%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(235, 60, 175, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.8));
  font-weight: 500;
}

html.lang-hi #dj-night .ap-card-script-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFD6F2 26%, #FFFFFF 48%, #FF85D0 74%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(235, 60, 175, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.8));
}

/* Date and Time with Neon Club Glow */
#dj-night .ap-card-date {
  color: #FFF2FA;
  text-shadow: 0 0 10px rgba(235, 60, 175, 0.55);
}

#dj-night .ap-card-time {
  color: #FFD278;
  text-shadow: 0 0 12px rgba(255, 210, 120, 0.55);
}

/* Artwork Wrapper with Neon Strobe & Gold Glow Frame */
#dj-night .ap-card-img-wrapper {
  box-shadow: 0 0 32px rgba(220, 50, 160, 0.38), 0 0 18px rgba(180, 80, 255, 0.25), 0 20px 48px rgba(0, 0, 0, 0.85), inset 0 0 0 1.5px rgba(255, 170, 230, 0.7);
  border: 1px solid rgba(255, 130, 210, 0.45);
}

/* Theme Badge — CLUB CHIC & GLAM Feature */
#dj-night .ap-card-theme-badge {
  background: linear-gradient(135deg, rgba(235, 60, 175, 0.26) 0%, rgba(147, 51, 234, 0.22) 50%, rgba(212, 175, 55, 0.18) 100%);
  border: 1.5px solid rgba(255, 140, 220, 0.85);
  color: #FFEAF7;
  box-shadow: 0 0 20px rgba(235, 60, 175, 0.45), inset 0 0 10px rgba(235, 60, 175, 0.2);
  text-shadow: 0 0 8px rgba(255, 140, 220, 0.75);
  letter-spacing: 0.18em;
}

#dj-night .ap-card-theme-badge i {
  color: #FFB3E6;
  filter: drop-shadow(0 0 8px #FF66CC);
  display: inline-block;
  animation: djBeatBounce 1.8s ease-in-out infinite alternate;
}

@keyframes djBeatBounce {
  0% { transform: scale(0.92) rotate(-6deg); }
  50% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1.0) rotate(0deg); }
}

/* Couple Attire with Sleek Club Chic Velvet Style */
#dj-night .ap-card-couple-attire {
  background: rgba(22, 5, 26, 0.75);
  border: 1px solid rgba(255, 140, 220, 0.35);
  box-shadow: 0 0 15px rgba(220, 50, 160, 0.18);
}

#dj-night .attire-label {
  color: #FFB3E6;
}

#dj-night .attire-val {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

/* Venue Title */
#dj-night .ap-card-venue-title {
  color: #FFF2FA;
  text-shadow: 0 0 12px rgba(235, 60, 175, 0.35);
}

/* Maps Button with Neon Chic Glow */
#dj-night .ap-card-maps-btn {
  background: linear-gradient(135deg, rgba(235, 60, 175, 0.18) 0%, rgba(147, 51, 234, 0.22) 100%);
  border: 1.5px solid rgba(255, 140, 220, 0.85);
  color: #FFEAF7;
  box-shadow: 0 0 18px rgba(235, 60, 175, 0.35);
  text-shadow: 0 0 8px rgba(255, 140, 220, 0.5);
}

#dj-night .ap-card-maps-btn:hover {
  background: linear-gradient(135deg, #FF94E0 0%, #D83BD2 40%, #FFD700 80%, #FFF2B2 100%);
  color: #120216;
  border-color: #FFFFFF;
  box-shadow: 0 0 32px rgba(255, 120, 220, 0.85), 0 8px 24px rgba(0, 0, 0, 0.7);
  text-shadow: none;
}

/* ==========================================================================
   ROYAL FORMALS THEME FOR BAND, BAJA & BARAT (WAR MALA) CARD
   (Section background untouched; only ap-function-card updated)
   ========================================================================== */
#baraat .ap-function-card {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(92, 20, 34, 0.96) 0%, rgba(46, 9, 16, 0.98) 60%, rgba(22, 4, 8, 0.99) 100%);
  border: 1.8px solid rgba(255, 215, 120, 0.8);
  box-shadow: 0 0 38px rgba(255, 205, 95, 0.35), 0 0 16px rgba(212, 175, 55, 0.25), 0 25px 80px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 215, 120, 0.12);
  overflow: hidden;
  animation: royalFormalsPulse 4.5s ease-in-out infinite alternate;
}

/* Shimmering Imperial Zari & Golden Dust Overlay */
#baraat .ap-function-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image: 
    radial-gradient(1.5px 1.5px at 25px 35px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 75px 85px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 145px 40px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 215px 115px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 285px 50px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 355px 95px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 425px 45px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 465px 125px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 35px 245px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 165px 285px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 315px 235px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 445px 275px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 55px 410px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 195px 445px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 375px 420px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 105px 570px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 255px 610px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 435px 570px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 85px 730px, #FFDF80, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 235px 765px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 395px 720px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 145px 885px, #FFE8A3, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 325px 925px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 455px 865px, #FFDF80, rgba(0,0,0,0));
  opacity: 0.8;
  pointer-events: none;
  animation: royalZariTwinkle 3.2s ease-in-out infinite alternate;
}

@keyframes royalFormalsPulse {
  0% {
    box-shadow: 0 0 35px rgba(255, 205, 95, 0.32), 0 0 15px rgba(212, 175, 55, 0.22), 0 25px 80px rgba(0, 0, 0, 0.9), inset 0 0 25px rgba(255, 215, 120, 0.1);
    border-color: rgba(255, 215, 120, 0.75);
  }
  100% {
    box-shadow: 0 0 52px rgba(255, 215, 110, 0.52), 0 0 25px rgba(225, 185, 70, 0.38), 0 30px 90px rgba(0, 0, 0, 0.95), inset 0 0 40px rgba(255, 215, 120, 0.2);
    border-color: rgba(255, 235, 160, 0.98);
  }
}

@keyframes royalZariTwinkle {
  0% { opacity: 0.6; transform: scale(0.99); }
  100% { opacity: 0.95; transform: scale(1.01); }
}

#baraat .ap-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 60px rgba(255, 215, 110, 0.6), 0 0 30px rgba(225, 185, 70, 0.45), 0 35px 95px rgba(0, 0, 0, 0.95), inset 0 0 45px rgba(255, 215, 120, 0.25);
  border-color: #FFF2B2;
}

/* 24K Pure Imperial Gold Script Title */
#baraat .ap-card-script-title {
  background: linear-gradient(135deg, #FFFDEB 0%, #FFE082 25%, #FFFFFF 48%, #FFD700 70%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 215, 100, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.85));
  font-weight: 500;
}

html.lang-hi #baraat .ap-card-script-title {
  background: linear-gradient(135deg, #FFFDEB 0%, #FFE082 25%, #FFFFFF 48%, #FFD700 70%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 215, 100, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.85));
}

/* Date and Time with Regal Warmth */
#baraat .ap-card-date {
  color: #FFF8EC;
  text-shadow: 0 0 10px rgba(255, 215, 120, 0.55);
}

#baraat .ap-card-time {
  color: #FFDF88;
  text-shadow: 0 0 12px rgba(255, 215, 120, 0.6);
}

/* Artwork Wrapper with Opulent 24K Gold Halo Frame */
#baraat .ap-card-img-wrapper {
  box-shadow: 0 0 36px rgba(255, 210, 100, 0.42), 0 20px 50px rgba(0, 0, 0, 0.85), inset 0 0 0 2px rgba(255, 225, 130, 0.75);
  border: 1px solid rgba(255, 215, 100, 0.5);
}

/* Theme Badge — ROYAL FORMALS Feature */
#baraat .ap-card-theme-badge {
  background: linear-gradient(135deg, rgba(255, 215, 120, 0.32) 0%, rgba(212, 175, 55, 0.24) 50%, rgba(139, 90, 43, 0.25) 100%);
  border: 1.6px solid rgba(255, 220, 130, 0.9);
  color: #FFF6DC;
  box-shadow: 0 0 22px rgba(255, 215, 120, 0.5), inset 0 0 12px rgba(255, 215, 120, 0.25);
  text-shadow: 0 0 8px rgba(255, 220, 120, 0.8);
  letter-spacing: 0.18em;
}

#baraat .ap-card-theme-badge i {
  color: #FFE58F;
  filter: drop-shadow(0 0 8px #FFD700);
  display: inline-block;
  animation: gemShine 2.5s ease-in-out infinite alternate;
}

@keyframes gemShine {
  0% { transform: scale(0.92) rotate(-5deg); filter: drop-shadow(0 0 4px #FFD700); }
  50% { transform: scale(1.18) rotate(10deg); filter: drop-shadow(0 0 12px #FFF2A3); }
  100% { transform: scale(1.0) rotate(0deg); filter: drop-shadow(0 0 6px #FFD700); }
}

/* Couple Attire with Imperial Velvet & Gold Trim */
#baraat .ap-card-couple-attire {
  background: rgba(50, 10, 20, 0.75);
  border: 1.2px solid rgba(255, 215, 120, 0.4);
  box-shadow: 0 0 16px rgba(255, 205, 95, 0.2);
}

#baraat .attire-label {
  color: #FFDF88;
}

#baraat .attire-val {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

/* Venue Title */
#baraat .ap-card-venue-title {
  color: #FFF8EC;
  text-shadow: 0 0 12px rgba(255, 215, 120, 0.35);
}

/* Maps Button with Royal Gold Luster */
#baraat .ap-card-maps-btn {
  background: linear-gradient(135deg, rgba(255, 215, 120, 0.2) 0%, rgba(212, 175, 55, 0.28) 100%);
  border: 1.5px solid rgba(255, 220, 130, 0.85);
  color: #FFF6DC;
  box-shadow: 0 0 18px rgba(255, 215, 120, 0.38);
  text-shadow: 0 0 8px rgba(255, 215, 120, 0.5);
}

#baraat .ap-card-maps-btn:hover {
  background: linear-gradient(135deg, #FFF6D6 0%, #FFDF88 38%, #D4AF37 75%, #8C6219 100%);
  color: #1A0508;
  border-color: #FFFFFF;
  box-shadow: 0 0 32px rgba(255, 225, 140, 0.85), 0 8px 25px rgba(0, 0, 0, 0.7);
  text-shadow: none;
}

/* ==========================================================================
   MARIGOLD & SUNSHINE THEME FOR HALDI CEREMONY CARD
   (Section background untouched; only ap-function-card updated)
   ========================================================================== */
#haldi .ap-function-card {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(98, 38, 18, 0.96) 0%, rgba(52, 14, 16, 0.98) 60%, rgba(24, 6, 8, 0.99) 100%);
  border: 1.8px solid rgba(255, 185, 45, 0.85);
  box-shadow: 0 0 38px rgba(255, 165, 25, 0.38), 0 0 16px rgba(255, 215, 60, 0.25), 0 25px 80px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 175, 30, 0.12);
  overflow: hidden;
  animation: haldiSunshinePulse 4.5s ease-in-out infinite alternate;
}

/* Shimmering Marigold Petals & Sunshine Sparkle Overlay */
#haldi .ap-function-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image: 
    radial-gradient(1.5px 1.5px at 28px 38px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 78px 88px, #FFE066, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 148px 42px, #FFB703, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 218px 118px, #FFAA00, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 288px 48px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 358px 98px, #FFD166, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 428px 42px, #FFAA00, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 468px 128px, #FF9E00, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 38px 248px, #FFD166, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 168px 288px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 318px 238px, #FFAA00, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 448px 278px, #FFB703, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 58px 412px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 198px 448px, #FFD166, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 378px 422px, #FFAA00, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 108px 572px, #FF9E00, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 258px 612px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 438px 572px, #FFD166, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 88px 732px, #FFAA00, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 238px 768px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 398px 722px, #FF9E00, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 148px 888px, #FFD166, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 328px 928px, #FFFFFF, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 458px 868px, #FFAA00, rgba(0,0,0,0));
  opacity: 0.8;
  pointer-events: none;
  animation: marigoldSparkleTwinkle 3.2s ease-in-out infinite alternate;
}

@keyframes haldiSunshinePulse {
  0% {
    box-shadow: 0 0 35px rgba(255, 165, 25, 0.35), 0 0 16px rgba(255, 215, 60, 0.22), 0 25px 80px rgba(0, 0, 0, 0.9), inset 0 0 25px rgba(255, 175, 30, 0.1);
    border-color: rgba(255, 185, 45, 0.8);
  }
  100% {
    box-shadow: 0 0 55px rgba(255, 180, 35, 0.55), 0 0 28px rgba(255, 225, 75, 0.4), 0 30px 90px rgba(0, 0, 0, 0.95), inset 0 0 42px rgba(255, 185, 45, 0.22);
    border-color: rgba(255, 215, 80, 0.98);
  }
}

@keyframes marigoldSparkleTwinkle {
  0% { opacity: 0.6; transform: scale(0.99); }
  100% { opacity: 0.95; transform: scale(1.01); }
}

#haldi .ap-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 62px rgba(255, 185, 40, 0.62), 0 0 32px rgba(255, 225, 80, 0.48), 0 35px 95px rgba(0, 0, 0, 0.95), inset 0 0 45px rgba(255, 185, 45, 0.28);
  border-color: #FFF0A6;
}

/* Radiant Sunshine & Marigold Script Title */
#haldi .ap-card-script-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF490 24%, #FFDF00 50%, #FFAA00 76%, #FF7700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 175, 30, 0.85)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.85));
  font-weight: 500;
}

html.lang-hi #haldi .ap-card-script-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF490 24%, #FFDF00 50%, #FFAA00 76%, #FF7700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 175, 30, 0.85)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.85));
}

/* Date and Time with Sunlit Warmth */
#haldi .ap-card-date {
  color: #FFF9EB;
  text-shadow: 0 0 10px rgba(255, 185, 45, 0.55);
}

#haldi .ap-card-time {
  color: #FFD54F;
  text-shadow: 0 0 12px rgba(255, 175, 30, 0.6);
}

/* Artwork Wrapper with Marigold Sunburst Frame */
#haldi .ap-card-img-wrapper {
  box-shadow: 0 0 36px rgba(255, 175, 30, 0.45), 0 20px 50px rgba(0, 0, 0, 0.85), inset 0 0 0 2px rgba(255, 205, 70, 0.8);
  border: 1px solid rgba(255, 185, 50, 0.55);
}

/* Theme Badge — MARIGOLD & SUNSHINE Feature */
#haldi .ap-card-theme-badge {
  background: linear-gradient(135deg, rgba(255, 175, 30, 0.32) 0%, rgba(255, 120, 0, 0.24) 50%, rgba(255, 215, 60, 0.25) 100%);
  border: 1.6px solid rgba(255, 195, 50, 0.9);
  color: #FFF8E7;
  box-shadow: 0 0 22px rgba(255, 175, 30, 0.5), inset 0 0 12px rgba(255, 175, 30, 0.25);
  text-shadow: 0 0 8px rgba(255, 185, 50, 0.8);
  letter-spacing: 0.18em;
}

#haldi .ap-card-theme-badge i {
  color: #FFE066;
  filter: drop-shadow(0 0 8px #FFAA00);
  display: inline-block;
  animation: sunRotatePulse 3s ease-in-out infinite alternate;
}

@keyframes sunRotatePulse {
  0% { transform: scale(0.92) rotate(-8deg); filter: drop-shadow(0 0 4px #FFAA00); }
  50% { transform: scale(1.18) rotate(12deg); filter: drop-shadow(0 0 12px #FFD166); }
  100% { transform: scale(1.0) rotate(0deg); filter: drop-shadow(0 0 6px #FFAA00); }
}

/* Venue Title */
#haldi .ap-card-venue-title {
  color: #FFF9EB;
  text-shadow: 0 0 12px rgba(255, 185, 45, 0.35);
}

/* Maps Button with Sunshine Gold Luster */
#haldi .ap-card-maps-btn {
  background: linear-gradient(135deg, rgba(255, 175, 30, 0.2) 0%, rgba(255, 120, 0, 0.26) 100%);
  border: 1.5px solid rgba(255, 195, 50, 0.85);
  color: #FFF8E7;
  box-shadow: 0 0 18px rgba(255, 175, 30, 0.38);
  text-shadow: 0 0 8px rgba(255, 185, 50, 0.5);
}

#haldi .ap-card-maps-btn:hover {
  background: linear-gradient(135deg, #FFF9D2 0%, #FFD54F 35%, #FF9900 75%, #CC5500 100%);
  color: #210803;
  border-color: #FFFFFF;
  box-shadow: 0 0 32px rgba(255, 185, 45, 0.85), 0 8px 25px rgba(0, 0, 0, 0.7);
  text-shadow: none;
}

/* ==========================================================================
   10. SCENE 7 — OUR FAMILIES
   ========================================================================== */
#families {
  background: radial-gradient(circle at 50% 30%, #5B1B2B 0%, #360D15 100%);
  text-align: center;
}

/*.families-container-grid {*/
/*  display: grid;*/
/*  grid-template-columns: 1fr 1fr;*/
/*  gap: clamp(2rem, 4vw, 4rem);*/
/*  max-width: 1100px;*/
/*  margin: 3rem auto 0;*/
/*}*/

/*.family-pillar-card {*/
/*  background: rgba(82, 22, 34, 0.65);*/
/*  border: 1px solid var(--glass-border);*/
/*  border-radius: 24px;*/
/*  padding: clamp(2.5rem, 4vw, 3.8rem) clamp(1.5rem, 3vw, 2.5rem);*/
/*  box-shadow: var(--shadow-royal);*/
/*  backdrop-filter: blur(8px);*/
/*}*/

/*.family-pillar-title {*/
/*  font-family: var(--font-royal);*/
/*  font-size: clamp(1.1rem, 2vw, 1.45rem);*/
/*  letter-spacing: 0.14em;*/
/*  text-transform: uppercase;*/
/*  color: var(--gold-light);*/
/*  margin-bottom: 0.75rem;*/
/*  line-height: 1.4;*/
/*}*/

/*.family-members-list {*/
/*  list-style: none;*/
/*  padding: 0;*/
/*  margin: 0;*/
/*}*/

/*.family-member-item {*/
/*  font-family: var(--font-heading);*/
/*  font-size: clamp(1.05rem, 1.8vw, 1.35rem);*/
/*  color: var(--ivory);*/
/*  line-height: 1.35;*/
/*  letter-spacing: 0.02em;*/
/*}*/

/* =========================================
   ANIMATED BORDER PROPERTY
========================================= */

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}


/* =========================================
   FAMILY GRID
========================================= */

.families-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);

  max-width: 1100px;

  margin: 3rem auto 0;

  position: relative;
}


/* =========================================
   FAMILY CARD
========================================= */

.family-pillar-card {
  --border-angle: 0deg;

  position: relative;

  isolation: isolate;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  min-height: 360px;

  padding:
    clamp(2.5rem, 4vw, 3.6rem)
    clamp(1.5rem, 3vw, 2.5rem);

  border-radius: 28px;

  border: 1px solid transparent;

  /*
     Layer 1 = card background
     Layer 2 = animated golden border
  */

  background:

    linear-gradient(
      145deg,
      rgba(102, 31, 45, 0.97),
      rgba(72, 16, 29, 0.96)
    ) padding-box,

    conic-gradient(
      from var(--border-angle),

      rgba(176, 121, 53, 0.25) 0deg,

      rgba(176, 121, 53, 0.25) 200deg,

      rgba(224, 177, 87, 0.55) 235deg,

      rgba(255, 238, 183, 0.95) 265deg,

      rgba(255, 248, 220, 1) 280deg,

      rgba(232, 185, 92, 0.7) 305deg,

      rgba(176, 121, 53, 0.25) 340deg,

      rgba(176, 121, 53, 0.25) 360deg

    ) border-box;

  animation:
    familyBorderLight 7s linear infinite;

  box-shadow:
    0 25px 65px rgba(18, 2, 8, 0.28),
    0 0 30px rgba(208, 151, 67, 0.035),
    inset 0 0 45px rgba(255, 211, 135, 0.035);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   MOVING BORDER ANIMATION
========================================= */

@keyframes familyBorderLight {

  from {
    --border-angle: 0deg;
  }

  to {
    --border-angle: 360deg;
  }

}


/* =========================================
   INNER BORDER
========================================= */

.family-pillar-card::before {
  content: "";

  position: absolute;

  inset: 11px;

  border-radius: 20px;

  border: 1px solid rgba(226, 179, 91, 0.11);

  pointer-events: none;

  z-index: 0;
}


/* =========================================
   BOTTOM DECORATIVE ORNAMENT
========================================= */

.family-pillar-card::after {
  content: "✦";

  position: absolute;

  left: 50%;
  bottom: 20px;

  transform: translateX(-50%);

  color: rgba(226, 178, 87, 0.42);

  font-size: 0.8rem;

  letter-spacing: 0;

  text-shadow:
    -28px 0 0 rgba(226, 178, 87, 0.16),
    28px 0 0 rgba(226, 178, 87, 0.16);

  pointer-events: none;

  z-index: 1;
}


/* =========================================
   TITLE
========================================= */

.family-pillar-title {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  gap: 14px;

  font-family: var(--font-royal);

  font-size: clamp(1.1rem, 2vw, 1.45rem);

  letter-spacing: 0.12em;

  text-transform: uppercase;

  text-align: center;

  color: var(--gold-light);

  margin: 0 0 1.25rem;

  line-height: 1.4;

  text-shadow:
    0 0 16px rgba(225, 176, 85, 0.08);
}


/* TITLE SIDE LINES */

.family-pillar-title::before,
.family-pillar-title::after {
  content: "";

  display: block;

  width: 38px;

  height: 1px;

  flex-shrink: 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(228, 181, 91, 0.8)
  );
}


.family-pillar-title::after {
  transform: rotate(180deg);
}


/* =========================================
   MEMBER LIST
========================================= */

.family-members-list {
  position: relative;

  z-index: 2;

  list-style: none;

  padding: 0;

  margin: 0 0 1.4rem;

  text-align: center;
}


/* =========================================
   MEMBER ITEM
========================================= */

.family-member-item {
  font-family: var(--font-heading);

  font-size: clamp(1.05rem, 1.8vw, 1.35rem);

  color: var(--ivory);

  line-height: 1.42;

  letter-spacing: 0.01em;

  text-align: center;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15);
}


.family-member-item + .family-member-item {
  margin-top: 0.06rem;
}


/* =========================================
   VERY SUBTLE CARD GLOW
========================================= */

.family-pillar-card:nth-child(1) {
  box-shadow:
    0 25px 65px rgba(20, 2, 8, 0.27),
    0 0 50px rgba(214, 158, 73, 0.045),
    inset 0 0 50px rgba(236, 193, 111, 0.035);
}


.family-pillar-card:nth-child(2) {
  box-shadow:
    0 25px 65px rgba(20, 2, 8, 0.27),
    0 0 50px rgba(218, 141, 89, 0.04),
    inset 0 0 50px rgba(236, 186, 119, 0.03);
}


/* =========================================
   HOVER - DESKTOP
========================================= */

@media (hover: hover) {

  .family-pillar-card {
    transition:
      transform 0.4s ease,
      box-shadow 0.4s ease;
  }


  .family-pillar-card:hover {
    transform: translateY(-4px);

    box-shadow:
      0 30px 75px rgba(18, 2, 8, 0.32),
      0 0 55px rgba(220, 165, 78, 0.07),
      inset 0 0 50px rgba(240, 196, 111, 0.045);
  }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .families-container-grid {
    gap: 2.5rem;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .families-container-grid {
    grid-template-columns: 1fr;

    gap: 2.8rem;

    margin-top: 2.5rem;

    padding: 0 1.25rem;
  }


  .family-pillar-card {
    min-height: auto;

    padding:
      3rem
      1.5rem
      3.2rem;

    border-radius: 26px;

    animation-duration: 7s;
  }


  .family-pillar-card::before {
    inset: 9px;

    border-radius: 18px;
  }


  .family-pillar-title {
    font-size: 1.35rem;

    margin-bottom: 1.2rem;

    gap: 10px;
  }


  .family-pillar-title::before,
  .family-pillar-title::after {
    width: 24px;
  }


  .family-member-item {
    font-size: 1.15rem;

    line-height: 1.42;
  }


  .family-pillar-card::after {
    bottom: 18px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

  .families-container-grid {
    padding: 0 1rem;

    gap: 2.4rem;
  }


  .family-pillar-card {
    padding:
      2.7rem
      1.2rem
      3rem;

    border-radius: 24px;
  }


  .family-pillar-title {
    font-size: 1.2rem;

    letter-spacing: 0.08em;
  }


  .family-member-item {
    font-size: 1.08rem;
  }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

  .family-pillar-card {
    animation: none;
  }

}

/* ==========================================================================
   11. SCENE 8 & 9 — RSVP INTRO & BESPOKE CONFIRMATION FORM
   ========================================================================== */
#rsvp-intro {
  background: linear-gradient(180deg, #360D15 0%, #5B1B2B 100%);
  text-align: center;
  padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem;
}

.btn-royal-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--wine-dark);
  font-family: var(--font-royal);
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border-radius: 40px;
  box-shadow: 0 10px 28px rgba(199, 154, 74, 0.4);
  transition: all var(--transition-smooth);
}

.btn-royal-primary:hover {
  color: var(--wine-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(225, 191, 118, 0.6);
}

#rsvp {
  background: radial-gradient(circle at 50% 30%, #681E2F 0%, #3A0E18 100%);
  text-align: center;
}

.rsvp-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(70, 18, 29, 0.88);
  border: 1px solid var(--glass-border-light);
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-royal);
  backdrop-filter: blur(10px);
  text-align: left;
}

.form-group-custom {
  margin-bottom: 1.8rem;
}

.form-label-custom {
  font-family: var(--font-royal);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  display: block;
}

.form-control-custom,
.form-select-custom {
  width: 100%;
  background: rgba(248, 240, 227, 0.08);
  border: 1.5px solid rgba(199, 154, 74, 0.4);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #FFF8EB;
  outline: none;
  transition: all var(--transition-fast);
}

.form-select-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23E1BF76' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 14px;
  padding-right: 2.8rem;
  cursor: pointer;
}

.form-select-custom option {
  background-color: #481420 !important;
  color: #FFF6E5 !important;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
}

.form-control-custom:focus,
.form-select-custom:focus {
  background-color: rgba(70, 18, 29, 0.95);
  border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(225, 191, 118, 0.4);
}

.form-control-custom::placeholder {
  color: rgba(216, 185, 140, 0.5);
}

/* Radio Choices for Attendance */
.attendance-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.attendance-radio-card {
  position: relative;
}

.attendance-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: rgba(248, 240, 227, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-family: var(--font-royal);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sandstone);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.attendance-radio-card input:checked + .attendance-radio-label {
  background: rgba(199, 154, 74, 0.2);
  border-color: var(--gold);
  color: #FFF;
  box-shadow: 0 4px 18px rgba(199, 154, 74, 0.3);
}

/* Event Checkboxes */
.events-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.6rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.events-checkbox-grid.has-error {
  border: 1.5px dashed rgba(255, 110, 110, 0.7);
  padding: 0.8rem;
  background: rgba(184, 38, 51, 0.12);
  animation: rsvpShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes rsvpShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.rsvp-inline-error {
  background: rgba(184, 38, 51, 0.25);
  border: 1px solid rgba(255, 110, 110, 0.5);
  color: #FFAEAE;
  font-family: var(--font-royal);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.checkbox-custom-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(248, 240, 227, 0.04);
  border: 1px solid rgba(199, 154, 74, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-custom-item:hover {
  background: rgba(248, 240, 227, 0.08);
  border-color: rgba(199, 154, 74, 0.5);
}

.checkbox-custom-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-custom-item span {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ivory);
}

/* Custom Royal Confirmation Modal & Alert Modal */
.royal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(50, 11, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 1.5rem;
}

.royal-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.royal-modal-box {
  width: min(540px, 94vw);
  background: linear-gradient(135deg, #631E2E 0%, #3B0E18 100%);
  border: 1px solid var(--gold);
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rsvp-alert-box {
  max-width: 460px;
  background: radial-gradient(circle at 50% 20%, #6B2032 0%, #380D16 100%);
  border: 1.5px solid rgba(225, 191, 118, 0.6);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(199, 154, 74, 0.2);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.2rem);
}

.rsvp-alert-icon {
  font-size: 2.8rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 12px rgba(225, 191, 118, 0.4));
}

.royal-modal-backdrop.is-active .royal-modal-box {
  transform: scale(1);
}

.modal-ak-seal {
  width: 100px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 20px rgba(199, 154, 74, 0.5));
}

/* ==========================================================================
   12. SCENE 10 — LOCATION & SURAJKUND VENUES
   ========================================================================== */
#location {
  background: radial-gradient(circle at 50% 30%, #5B1B2B 0%, #360D15 100%);
  text-align: center;
}

.venues-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  max-width: 1180px;
  margin: 3rem auto;
}

.venue-item-card {
  background: rgba(82, 22, 34, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.venue-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.venue-icon-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(199, 154, 74, 0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
}

.venue-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: #FFF6E5;
  margin-bottom: 0.5rem;
}

.venue-card-city {
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin-bottom: 1.5rem;
}

.btn-venue-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-royal);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  transition: all var(--transition-fast);
}

.btn-venue-directions:hover {
  background: var(--gold);
  color: var(--wine-dark);
}

/* Map Embed Container */
.map-embed-wrapper {
  max-width: 1180px;
  margin: 2rem auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-royal);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
  filter: contrast(1.05) saturate(0.9);
}

/* ==========================================================================
   13. SCENE 11 — CINEMATIC CLOSING / FOOTER
   ========================================================================== */
#closing {
  background: radial-gradient(circle at 50% 40%, #681E2F 0%, #2E0A10 100%);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.closing-ak-seal {
  width: clamp(100px, 16vw, 150px);
  margin: 0 auto 1.8rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(199, 154, 74, 0.4));
  animation: sealGentleGlow 4s ease-in-out infinite alternate;
}

.closing-names {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  color: #FFF6E5;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.closing-dates {
  font-family: var(--font-royal);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.closing-message {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--sandstone);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.closing-with-love {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--gold);
}

/* ==========================================================================
   14. PARTICLES & ATMOSPHERIC CANVAS
   ========================================================================== */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */
@media (max-width: 991.98px) {
  .parents-portraits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .parents-portraits-grid .parent-portrait-frame {
    max-width: 300px;
    margin: 0 auto;
  }

  .parents-text-col {
    display: none;
  }

  .couple-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .couple-center-emblem {
    order: 2;
  }
  .couple-side-card:first-child {
    order: 1;
  }
  .couple-side-card:last-child {
    order: 3;
    transform: translate(0,0) !important;
  }

  .story-row,
  .story-row.reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .venues-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 1024px) {
  .nav-pill-link {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    padding: 0.35rem 0.1rem;
  }
  .nav-links-pill {
    gap: 0.9rem;
  }
}

@media (max-width: 860px) {
  .nav-links-pill {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .royal-pill-navbar {
    padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  }
  .nav-oval-medallion {
    width: 44px;
    height: 54px;
  }
  .nav-medallion-monogram .mono-a,
  .nav-medallion-monogram .mono-k {
    font-size: 1.05rem;
  }
  .nav-medallion-monogram .mono-amp {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .function-meta-grid {
    grid-template-columns: 1fr;
  }

  .events-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .attendance-radio-group {
    grid-template-columns: 1fr;
  }

  .floating-nav-container {
    top: 1rem;
    width: 94vw;
  }

  .btn-royal-primary {
    padding: 1rem 1.6rem;
  }

  .families-container-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   16. REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



/* ==========================================================================
   17. FLOATING LANGUAGE TRANSLATOR WIDGET (EN | हिंदी)
   ========================================================================== */
.floating-lang-widget {
  position: fixed;
  top: 1.25rem;
  left: 1.5rem;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  background: rgba(56, 12, 20, 0.88);
  border: 1px solid rgba(199, 154, 74, 0.55);
  border-radius: 30px;
  padding: 3px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(199, 154, 74, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.floating-lang-widget:hover {
  border-color: var(--gold-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 22px rgba(225, 191, 118, 0.35);
}

.lang-pill-btn {
  border: none;
  background: transparent;
  color: var(--gold-pale);
  font-family: var(--font-royal);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lang-pill-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #2E0A10;
  box-shadow: 0 2px 10px rgba(199, 154, 74, 0.45);
  font-weight: 700;
}

.lang-pill-btn:not(.active):hover {
  color: #FFFFFF;
}

/* Hindi Typography Enhancements when lang=hi */
html.lang-hi body,
html.lang-hi button,
html.lang-hi input,
html.lang-hi select,
html.lang-hi textarea {
  font-family: var(--font-hindi), var(--font-body);
}

html.lang-hi .section-title,
html.lang-hi .hero-names-editorial,
html.lang-hi .person-fullname,
html.lang-hi .function-title-editorial,
html.lang-hi .save-the-date-editorial h2,
html.lang-hi .families-box-title {
  font-family: "Rozha One", "Noto Serif Devanagari", var(--font-heading);
  letter-spacing: 0.02em;
}

html.lang-hi .section-label,
html.lang-hi .meta-label,
html.lang-hi .person-role,
html.lang-hi .function-badge,
html.lang-hi .countdown-label {
  font-family: "Noto Serif Devanagari", var(--font-royal);
  letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
  .floating-lang-widget {
    top: 0.85rem;
    left: 0.85rem;
    padding: 2px;
  }
  .lang-pill-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
  }
}
