/* ==========================================================================
   ROYAL INDIAN WEDDING EXPERIENCE — PHASE 1 & PHASE 2
   Palette: Royal Red, Burgundy, Antique Gold, Champagne Gold, Cream, Ivory
   STRICT RULE: Absolutely ZERO Black (#000) anywhere in the stylesheet.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Great+Vibes&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette — Luxury Royal Wedding */
  --bg-cream: #FAF6EF;
  --bg-ivory: #FFFDF9;
  --bg-soft-gold: #F7F1E5;
  --bg-warm-gold: #F2E8D5;
  
  --royal-red: #8B1E2D;
  --deep-burgundy: #4A0E17;
  --warm-wine: #65121E;
  --rich-maroon: #58111A;
  
  --gold-primary: #D4AF37;
  --gold-antique: #C5A059;
  --gold-metallic: #B8860B;
  --gold-champagne: #E6C280;
  --gold-light: #F3E5AB;
  --gold-glow: rgba(212, 175, 55, 0.35);
  
  --text-dark: #3A080E;
  --text-maroon: #5A121F;
  --text-gold: #997528;
  --text-muted: #8C6D46;
  
  --border-gold: rgba(197, 160, 89, 0.4);
  --shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.15);
  --shadow-burgundy: 0 10px 35px rgba(74, 14, 23, 0.18);
  
  /* Fonts */
  --font-royal: 'Cinzel', serif;
  --font-royal-dec: 'Cinzel Decorative', 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Safe Zones for Fixed Emblems */
  --safe-top-padding: 95px;
  --safe-bottom-padding: 95px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Scratch Card Locked Body Rule */
body.scratch-locked {
  overflow: hidden !important;
  height: 100vh;
}

/* Hide scrollbar for clean app-like feel */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-antique);
  border-radius: 4px;
}

/* ==========================================================================
   0. PRELOADER SCREEN (BLINKING LOGO.PNG)
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
}

.preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 340px;
  width: 100%;
}

.preloader-logo-wrap {
  position: relative;
  width: 180px;
  max-width: 55vw;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-blinking {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(184, 134, 11, 0.4));
  animation: logoBlink 1.8s infinite ease-in-out;
}

@keyframes logoBlink {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.95);
    filter: drop-shadow(0 4px 10px rgba(184, 134, 11, 0.2));
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
    filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.6));
  }
}

.preloader-text {
  font-family: var(--font-royal);
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  color: var(--deep-burgundy);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.preloader-progress {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-antique);
}

/* ==========================================================================
   1. START SCREEN ("TAP TO START PHOTO" — ANIMATED HTML TEXT OVERLAY)
   ========================================================================== */
#start-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  overflow: hidden;
  will-change: opacity, transform;
}

#start-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none !important;
}

/* Central Stage Container matching 1:2 aspect ratio of Tap to start photo.webp */
.start-card-stage {
  position: relative;
  height: 100vh;
  aspect-ratio: 1000 / 2000;
  max-width: 100vw;
  max-height: 100vh;
  background-image: url('Tap to start photo.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8vh 6% 4vh;
  text-align: center;
  box-shadow: 0 0 60px rgba(74, 14, 23, 0.12);
}

@media (max-width: 600px) {
  .start-card-stage {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background-size: cover;
    padding: 7vh 5% 3.5vh;
  }
}

.start-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92%;
  max-width: 360px;
  margin: 4.5vh auto 0;
  text-align: center;
}

.start-flourish-top {
  margin-bottom: 6px;
}

.flourish-icon {
  width: 22px;
  height: 22px;
  fill: var(--gold-antique);
}

.item-welcome {
  font-family: var(--font-royal);
  font-size: clamp(0.85rem, 2.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-gold);
  line-height: 1.3;
  text-align: center;
}

.item-invitation {
  font-family: var(--font-royal);
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-gold);
  margin-top: 2px;
  margin-bottom: 2px;
  text-align: center;
}

.item-of {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-style: italic;
  color: var(--text-gold);
  margin-bottom: 4px;
  text-align: center;
}

.item-name {
  font-family: var(--font-royal);
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 3.5px;
  color: var(--deep-burgundy);
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}

.name-nikith {
  margin-top: 2px;
}

.item-ampersand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
  width: 100%;
}

.amp-line {
  height: 1px;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.amp-symbol {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.8vw, 1.6rem);
  font-style: italic;
  color: var(--text-gold);
}

.name-rajuool {
  margin-bottom: 12px;
}

.start-diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-antique);
  margin-bottom: 10px;
}

.start-diamond-divider .d-line {
  height: 1px;
  width: 32px;
  background: linear-gradient(to right, transparent, var(--gold-antique), transparent);
}

.start-diamond-divider .d-icon {
  font-size: 0.65rem;
}

.item-tagline-1,
.item-tagline-2,
.item-tagline-3 {
  font-family: var(--font-royal);
  font-size: clamp(0.78rem, 2.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-gold);
  line-height: 1.35;
  text-align: center;
}

/* CIRCULAR 3D TAP TO ENTER BUTTON */
.start-btn-wrap {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.tap-enter-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFFDF9 0%, #FAF6EF 70%, #F4E8D4 100%);
  border: 1.5px solid var(--gold-antique);
  box-shadow: 0 10px 30px rgba(74, 14, 23, 0.2), 0 0 20px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  outline: none;
}

.tap-enter-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 14px 40px rgba(74, 14, 23, 0.35), 0 0 30px rgba(212, 175, 55, 0.6);
}

.btn-inner-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.btn-top-flourish {
  font-size: 0.8rem;
  color: var(--gold-antique);
  line-height: 1;
  margin-bottom: 2px;
}

.btn-text-top {
  font-family: var(--font-royal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--text-gold);
  line-height: 1.1;
}

.btn-text-bottom {
  font-family: var(--font-royal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--deep-burgundy);
  line-height: 1.1;
  margin-top: 1px;
}

/* BOTTOM SECTION (WITH ELEGANT SEMI-TRANSPARENT GLASS BACKGROUND) */
.start-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 32px);
  max-width: 440px;
  margin: 0 auto 2vh;
  padding: 12px 18px;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(74, 14, 23, 0.12), 0 0 15px rgba(212, 175, 55, 0.2);
  box-sizing: border-box;
}

.start-bottom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-antique);
  width: 85%;
  margin-bottom: 8px;
}

.start-bottom-divider .b-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--gold-antique), transparent);
}

.start-bottom-divider .b-icon {
  font-size: 0.85rem;
}

.item-with-love {
  font-family: var(--font-royal);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--text-gold);
}

.item-family {
  font-family: var(--font-royal);
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--deep-burgundy);
  margin: 3px 0;
}

.item-swagat {
  font-family: var(--font-royal);
  font-size: clamp(0.72rem, 2.1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-gold);
}

/* SLOWER SEQUENTIAL TOP-TO-BOTTOM TEXT ANIMATIONS */
.anim-text {
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-name {
  opacity: 0;
  transform: translateY(24px) scale(0.90);
  animation: nameFadeUp 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.anim-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  animation: btnAppear 1.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Staggered Top-to-Bottom Delays */
.delay-1  { animation-delay: 0.35s; } /* 1. WELCOME TO THE */
.delay-2  { animation-delay: 0.75s; } /* 2. WEDDING INVITATION */
.delay-3  { animation-delay: 1.15s; } /* 3. of */
.delay-4  { animation-delay: 1.55s; } /* 4. NIKITH */
.delay-5  { animation-delay: 2.05s; } /* 5. & */
.delay-6  { animation-delay: 2.45s; } /* 6. RAJUOOL */
.delay-7  { animation-delay: 2.95s; } /* 7. A NEW CHAPTER BEGINS, */
.delay-8  { animation-delay: 3.35s; } /* 8. AND WE'D LOVE YOU... */
.delay-9  { animation-delay: 3.85s; } /* 9. TAP TO ENTER BUTTON */
.delay-10 { animation-delay: 4.35s; } /* 10. WITH LOVE, */
.delay-11 { animation-delay: 4.75s; } /* 11. SURANA & NAVLAKHA PARIVAR */
.delay-12 { animation-delay: 5.15s; } /* 12. AAPKA HARDIK SWAGAT... */

@keyframes textFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nameFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.88);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes btnAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.82);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tap-enter-btn.pulsing {
  animation: btnPulse 2.5s infinite ease-in-out 6.5s;
}

@keyframes btnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(74, 14, 23, 0.2), 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 14px 40px rgba(74, 14, 23, 0.4), 0 0 32px rgba(212, 175, 55, 0.6);
  }
}

/* Light Layer Promotion for Smooth Scrolling */
.opening-video-section,
.start-screen,
.sticky-countdown-header {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ==========================================================================
   1B. OPENING VIDEO PLAYER CONTAINER
   ========================================================================== */
.opening-video-section {
  position: fixed;
  inset: 0;
  z-index: 4500;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.opening-video-section.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

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

#welcome-video-section {
  background: radial-gradient(circle at center, #FFFDF9 0%, #F4ECE0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

#welcome-video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  display: block;
  margin: auto;
  border: 2px solid var(--gold-champagne);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.2);
}

.opening-video-skip-btn {
  position: absolute;
  bottom: 24px;
  right: 20px;
  z-index: 4501;
  background: rgba(255, 253, 249, 0.9);
  border: 1.5px solid var(--gold-antique);
  color: var(--royal-red);
  font-family: var(--font-royal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.opening-video-skip-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--royal-red);
}

.opening-video-skip-btn:hover {
  transform: scale(1.06);
  background: var(--bg-ivory);
}

/* ==========================================================================
   1C. STICKY TOP GANESH COUNTDOWN HEADER (DAYS > HOURS > GANESH > MINS > SECS)
   ========================================================================== */
/* Dynamic Island Bubble Top Countdown Header (Island/Bubble Type) */
.sticky-countdown-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px) scale(0.85);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  background: radial-gradient(circle at center, rgba(101, 18, 30, 0.95) 0%, rgba(74, 14, 23, 0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold-antique);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(74, 14, 23, 0.4), 0 0 20px rgba(212, 175, 55, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
  max-width: 94vw;
  width: max-content;
}

.sticky-countdown-header.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.sticky-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFDF9;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 3px 8px 2px;
  min-width: 44px;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.1);
}

.sticky-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-burgundy);
  line-height: 1;
}

.sticky-lbl {
  font-family: var(--font-royal);
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--text-gold);
  letter-spacing: 1px;
}

.sticky-cd-ganesh-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFFDF9 0%, #F7F1E5 100%);
  border: 1.5px solid var(--gold-antique);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.25);
  flex-shrink: 0;
}

.sticky-ganesh-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   2. FIXED EMBLEMS (GANESH FIXED AT TOP ALL THE TIME)
   ========================================================================== */
#fixed-ganesh {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  z-index: 3000;
  height: 64px;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(184, 134, 11, 0.4));
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, visibility;
}

#fixed-logo {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  z-index: 3000;
  height: 46px;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(184, 134, 11, 0.4));
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, visibility;
}

#fixed-ganesh.visible,
#fixed-logo.visible {
  opacity: 1;
  visibility: visible;
}

/* Emblem Soft Backdrop Pill */
.emblem-pill {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  z-index: 2999;
  background: rgba(255, 253, 249, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 36px;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.12);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, visibility;
}

.emblem-pill.top {
  top: 4px;
  width: 86px;
  height: 76px;
}

.emblem-pill.bottom {
  bottom: 4px;
  width: 165px;
  height: 58px;
}

.emblem-pill.visible {
  opacity: 1;
  visibility: visible;
}

/* Floating Action Bar (Bottom Right: WhatsApp & Maps FABs) */
.floating-actions-bar {
  position: fixed;
  bottom: 18px;
  right: 16px;
  z-index: 3500;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  will-change: opacity, visibility;
}

.floating-actions-bar.visible {
  opacity: 1;
  visibility: visible;
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.48);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px;
}

.fab-btn:hover,
.fab-btn:active {
  transform: scale(1.14);
  background: rgba(255, 253, 249, 0.75);
  box-shadow: 0 10px 28px rgba(184, 134, 11, 0.35);
}

.fab-icon-img {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   3. UNIFIED HERO SCROLL SECTION
   ========================================================================== */
#hero-scroll-section {
  position: relative;
  height: 350vh;
  width: 100%;
  background: var(--bg-cream);
  contain: layout style;
}

.sticky-canvas-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
  z-index: 1;
  contain: strict;
}

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

/* ==========================================================================
   4. MAIN EXPERIENCE CONTAINER
   ========================================================================== */
#main-experience {
  opacity: 0;
  transition: opacity 0.8s ease;
  width: 100%;
  position: relative;
}

#main-experience.visible {
  opacity: 1;
}

/* Scroll Line-by-Line Overlay Card */
/* Scroll Welcome Overlay Container */
/* Scroll Welcome Overlay Container (Smooth Top-to-Bottom Motion) */
.scroll-welcome-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 92%;
  max-width: 540px;
  padding: 30px 22px;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--gold-antique);
  border-radius: 26px;
  box-shadow: 0 16px 50px rgba(74, 14, 23, 0.18), 0 0 35px rgba(212, 175, 55, 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.scroll-welcome-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-welcome-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Staggered Top-to-Bottom Animation Items */
.scroll-anim-item {
  width: 100%;
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-anim-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-invitation-family {
  font-family: var(--font-royal);
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--deep-burgundy);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scroll-invitation-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 3.2vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.scroll-couple-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 4px 0;
}

.scroll-name {
  font-family: 'Great Vibes', var(--font-script), cursive;
  font-size: clamp(2.8rem, 8.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--royal-red);
  text-transform: none;
  margin-bottom: 0px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(139, 30, 45, 0.2);
}

.scroll-parentage {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.scroll-with-divider {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold-antique);
  margin: 6px 0;
}

/* "Please Scroll" Hint at Bottom of First Scroll Animation (Bigger Size & Blinking) */
.scroll-down-hint {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  color: var(--deep-burgundy);
  font-family: var(--font-royal);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 11px 26px;
  border-radius: 30px;
  border: 1.5px solid var(--gold-antique);
  box-shadow: 0 10px 30px rgba(74, 14, 23, 0.22), 0 0 20px rgba(212, 175, 55, 0.35);
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  animation: blinkBounceHint 1.5s infinite ease-in-out;
}

.scroll-down-hint span {
  display: block;
  width: 100%;
  text-align: center;
  margin-right: -2.2px;
}

.scroll-down-hint.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-down-arrow {
  width: 20px;
  height: 20px;
  fill: var(--royal-red);
  animation: bounceArrow 1.5s infinite ease-in-out;
}

@keyframes blinkBounceHint {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 0.4;
  }
}

.scroll-text-line.line-1.visible,
.scroll-text-line.line-2.visible,
.scroll-logo-line.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   4B. WEDDING COUNTDOWN TIMER & INTERACTIVE SCRATCH CARD
   ========================================================================== */
.countdown-section {
  position: relative;
  width: 100%;
  padding: 48px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  contain: content;
}

/* Circular Logo.png Badge Overlapping Top of Card */
.countdown-logo-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFFDF9 0%, #F7F1E5 100%);
  border: 2px solid var(--gold-antique);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

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

/* Compact Card Container (Expanded Full-Width Horizontally & Tall Vertically) */
.countdown-card.compact {
  position: relative;
  background: radial-gradient(circle at center, #FFFDF9 0%, #FAF6EF 70%, #F7F1E5 100%);
  border: 2px solid var(--gold-antique);
  border-radius: 24px;
  padding: 56px 24px 34px;
  text-align: center;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 14px 40px rgba(74, 14, 23, 0.14), 0 0 25px rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.countdown-card.compact::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--border-gold);
  border-radius: 20px;
  pointer-events: none;
}

/* Scratch Card Canvas Wrap (Covers Entire Section + Logo & Whole Image Blinks, 100% Opaque) */
.scratch-card-canvas-wrap {
  position: absolute;
  top: 10px;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 680px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFDF9;
  box-shadow: 0 14px 40px rgba(74, 14, 23, 0.25);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  animation: wholeCoverBlink 1.8s infinite ease-in-out;
  opacity: 1;
}

.scratch-card-canvas-wrap.revealed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

#scratch-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  background: #FFFDF9;
}

@keyframes wholeCoverBlink {
  0%, 100% {
    filter: brightness(0.92) drop-shadow(0 6px 18px rgba(184, 134, 11, 0.35));
    transform: translateX(-50%) scale(0.994);
  }
  50% {
    filter: brightness(1.08) drop-shadow(0 14px 40px rgba(212, 175, 55, 0.85));
    transform: translateX(-50%) scale(1.018);
  }
}

.countdown-heading.compact {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 800;
  color: var(--deep-burgundy);
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.countdown-subtitle {
  font-family: var(--font-royal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-gold);
}

.countdown-ornament-divider.small {
  color: var(--gold-antique);
  font-size: 0.75rem;
  margin-top: 6px;
  margin-bottom: 14px;
}

/* 4 Rounded Countdown Unit Boxes */
.countdown-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.countdown-unit-box {
  background: #FFFDF9;
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 10px 8px 8px;
  flex: 1;
  min-width: 58px;
  max-width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.12);
}

.unit-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  font-weight: 700;
  color: var(--deep-burgundy);
  line-height: 1;
}

.unit-label {
  font-family: var(--font-royal);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-gold);
  margin-top: 4px;
}

.countdown-dots {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-antique);
  margin-bottom: 10px;
}

.countdown-bottom-line {
  color: var(--gold-antique);
  font-size: 0.75rem;
  margin-top: 8px;
}

/* ==========================================================================
   5. EVENTS SECTION (DIRECT VIDEO PLAYBACK GRID)
   ========================================================================== */
#events-section {
  position: relative;
  z-index: 10;
  background: radial-gradient(circle at top, var(--bg-ivory) 0%, var(--bg-cream) 100%);
  padding-top: var(--safe-top-padding);
  padding-bottom: 30px;
  box-shadow: 0 -20px 40px rgba(197, 160, 89, 0.12);
  contain: style layout;
}

.events-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.events-stickers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
  width: 100%;
}

.event-sticker-card {
  position: relative;
  background: var(--bg-ivory);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.15), 0 2px 8px rgba(74, 14, 23, 0.06);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.35s ease;
}

.event-sticker-card.full-width {
  grid-column: 1 / -1;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.event-sticker-card:hover,
.event-sticker-card:active {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(184, 134, 11, 0.28), 0 4px 15px rgba(74, 14, 23, 0.12);
  border-color: var(--gold-antique);
}

.sticker-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-ivory) 0%, var(--bg-soft-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.sticker-footer {
  margin-top: 8px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.sticker-title {
  font-family: var(--font-royal);
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  font-weight: 800;
  color: var(--deep-burgundy);
  letter-spacing: 1px;
}

.sticker-tap-hint {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--royal-red);
  background: var(--bg-warm-gold);
  padding: 2px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sticker-tap-hint-icon {
  width: 10px;
  height: 10px;
  fill: var(--royal-red);
}

/* ==========================================================================
   5B. FAMILY SECTION CARDS (OPTIMIZED FIT & NO OVERFLOW)
   ========================================================================== */
.family-buttons-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
}

.family-card-sample {
  position: relative;
  background: linear-gradient(145deg, #FFFDF9 0%, #FAF5EA 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.75);
  border-radius: 18px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.1), 0 0 14px rgba(212, 175, 55, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  min-width: 0;
}

.family-card-sample:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(74, 14, 23, 0.16), 0 0 20px rgba(212, 175, 55, 0.25);
}

.family-card-left {
  flex-shrink: 0;
}

.family-circle-ring-container {
  position: relative;
  width: clamp(76px, 18vw, 112px);
  height: clamp(76px, 18vw, 112px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  padding: 2.5px;
}

.family-circle-img {
  width: clamp(70px, 16.5vw, 104px);
  height: clamp(70px, 16.5vw, 104px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.family-ring-border {
  position: absolute;
  inset: -1px;
  border: 2px solid #D4AF37;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 0 2px rgba(212, 175, 55, 0.25);
  pointer-events: none;
}

.family-card-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.family-motif-icon {
  width: clamp(20px, 3.2vw, 26px);
  height: clamp(14px, 2.4vw, 20px);
  margin-bottom: 2px;
}

.family-motif-icon svg {
  width: 100%;
  height: 100%;
}

.family-card-title {
  font-family: var(--font-royal);
  font-size: clamp(0.62rem, 1.55vw, 0.80rem);
  font-weight: 800;
  color: #58111A;
  letter-spacing: 0.3px;
  line-height: 1.15;
  text-transform: uppercase;
  width: 100%;
  white-space: nowrap;
}

.family-subname {
  display: block;
  font-size: clamp(0.58rem, 1.4vw, 0.74rem);
  font-weight: 800;
  color: #58111A;
  margin-top: 1px;
  white-space: nowrap;
}

.family-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 3px 0 4px;
  width: 100%;
}

.family-heart-divider .h-line {
  height: 1px;
  width: clamp(10px, 2.2vw, 24px);
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.family-heart-divider .h-icon {
  font-size: clamp(0.58rem, 1.3vw, 0.75rem);
  color: #8B1E2D;
  line-height: 1;
}

.family-card-pill-btn {
  display: inline-block;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid rgba(197, 160, 89, 0.75);
  border-radius: 14px;
  padding: 3px clamp(6px, 1.2vw, 10px);
  color: #8B6B23;
  font-family: var(--font-royal);
  font-size: clamp(0.52rem, 1.2vw, 0.68rem);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  max-width: 100%;
}

/* ==========================================================================
   5C. HOTEL ACCOMMODATION SCROLL ANIMATION SECTION
   ========================================================================== */
.hotel-scroll-section {
  position: relative;
  width: 100%;
  height: 220vh;
  margin: 32px 0 24px;
  border-radius: 24px;
}

.hotel-sticky-viewport {
  position: -webkit-sticky;
  position: sticky;
  top: 15vh;
  width: 100%;
  height: 70vh;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--gold-antique);
  box-shadow: 0 12px 35px rgba(74, 14, 23, 0.15), 0 0 20px rgba(212, 175, 55, 0.18);
  background: var(--bg-ivory);
}

#hotelCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

/* Events Section Header ("Our Celebrations") */
.events-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.events-badge {
  font-family: var(--font-royal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--royal-red);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.events-main-title {
  font-family: var(--font-royal-dec);
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--deep-burgundy) 0%, var(--royal-red) 60%, var(--gold-metallic) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.events-title-diamond-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 180px;
}

.events-title-diamond-flourish .diamond-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-antique), transparent);
}

.events-title-diamond-flourish .diamond-icon {
  font-size: 0.75rem;
  color: var(--gold-antique);
}

/* Hotel Contact Assistance Overlay 2x2 Grid */
.hotel-welcome-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.92);
  width: 92%;
  max-width: 480px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 253, 249, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(74, 14, 23, 0.15), 0 0 25px rgba(212, 175, 55, 0.2);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.hotel-welcome-overlay.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.hotel-contact-header {
  margin-bottom: 14px;
}

.hotel-contact-badge {
  font-family: var(--font-royal);
  font-size: clamp(0.78rem, 2.5vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.hotel-contact-title {
  font-family: var(--font-royal);
  font-size: clamp(1.2rem, 3.8vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--royal-red);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.hotel-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.hotel-contact-card {
  background: rgba(255, 253, 249, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(74, 14, 23, 0.08);
}

.contact-role {
  font-family: var(--font-royal);
  font-size: clamp(0.62rem, 2vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--deep-burgundy);
  line-height: 1.2;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.contact-name {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 700;
  color: var(--royal-red);
  margin-bottom: 2px;
}

.contact-phone {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 2.2vw, 0.84rem);
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  background: rgba(255, 253, 249, 0.75);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.6);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-phone:hover {
  background: var(--gold-antique);
  color: var(--bg-ivory);
}
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hotel-text-line.line-3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--deep-burgundy);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(18px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hotel-text-line.line-1.visible,
.hotel-text-line.line-2.visible,
.hotel-text-line.line-3.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   5D. PHOTO GALLERY TRIGGER CARD BUTTON (MATCHING SAMPLE IMAGE)
   ========================================================================== */
.gallery-card-wrap {
  width: 100%;
  margin-top: 10px;
}

.gallery-trigger-card-sample {
  width: 100%;
  background: linear-gradient(145deg, #FFFDF9 0%, #FAF5EA 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  border-radius: 24px;
  padding: clamp(12px, 2.5vw, 18px);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2.5vw, 18px);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(74, 14, 23, 0.08), 0 0 15px rgba(212, 175, 55, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.gallery-trigger-card-sample:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(74, 14, 23, 0.15), 0 0 20px rgba(212, 175, 55, 0.25);
}

.gallery-arch-thumb-container {
  position: relative;
  width: clamp(95px, 26vw, 140px);
  height: clamp(115px, 30vw, 160px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-jharokha-arch {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 65px 65px 12px 12px;
  overflow: hidden;
  border: 2px solid #D4AF37;
  box-shadow: 0 6px 18px rgba(74, 14, 23, 0.15);
}

.gallery-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.gallery-sample-top-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
  width: 100%;
}

.gallery-sample-top-flourish .fl-line {
  height: 1px;
  width: 32px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.gallery-sample-top-flourish .fl-symbol {
  font-size: 0.75rem;
  color: #D4AF37;
}

.gallery-sample-badge {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #58111A;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.gallery-sample-title {
  font-family: var(--font-royal);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #58111A;
  margin: 0 0 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #58111A 0%, #8B1E2D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-sample-subtitle {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: #8B6B23;
  margin-bottom: 10px;
}

.gallery-sample-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 253, 249, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 3px 10px rgba(74, 14, 23, 0.08);
}

.pill-cam-icon {
  width: 18px;
  height: 18px;
  fill: #8B6B23;
  flex-shrink: 0;
}

.pill-text-block {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pill-main-text {
  font-family: var(--font-royal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #58111A;
}

.pill-sub-text {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8B6B23;
}

.pill-arrow-icon {
  width: 16px;
  height: 16px;
  fill: #8B1E2D;
  flex-shrink: 0;
}

.gallery-card-btn span {
  font-family: var(--font-royal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--royal-red);
}

.gallery-btn-arrow {
  width: 14px;
  height: 14px;
  fill: var(--royal-red);
  transition: transform 0.3s ease;
}

.gallery-trigger-card:hover .gallery-btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   5E. INTERACTIVE GALLERY MODAL (CLEAN LUXURY GRID - NO GIANT STAR)
   ========================================================================== */
.gallery-popup-card {
  position: relative;
  background: radial-gradient(circle at center, #FFFDF9 0%, #FAF3E6 100%);
  border: 2px solid var(--gold-antique);
  border-radius: 24px;
  max-width: 680px;
  width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 14px 20px;
  box-shadow: 0 16px 50px rgba(74, 14, 23, 0.3), 0 0 30px rgba(212, 175, 55, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.15);
  cursor: pointer;
  background: var(--bg-cream);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(184, 134, 11, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.gallery-item-hover {
  display: none !important;
}

/* Fullscreen Lightbox Carousel Overlay */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: rgba(45, 8, 14, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.visible {
  opacity: 1;
  visibility: visible;
}

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

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid var(--gold-antique);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease;
}

.lightbox-counter {
  margin-top: 14px;
  font-family: var(--font-royal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-champagne);
  background: rgba(74, 14, 23, 0.7);
  padding: 4px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-gold);
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 7001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.9);
  border: 1.5px solid var(--gold-antique);
  color: var(--royal-red);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.lightbox-close-btn:hover {
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.9);
  border: 1.5px solid var(--gold-antique);
  color: var(--royal-red);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--bg-ivory);
}

.lightbox-nav-btn.prev { left: 16px; }
.lightbox-nav-btn.next { right: 16px; }

/* ==========================================================================
   5F. FAMILY MEMBERS POPUP MODAL (NO GIANT STAR - ELEGANT PARCHMENT)
   ========================================================================== */
.family-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(74, 14, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.family-popup-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.family-popup-card {
  position: relative;
  background: radial-gradient(circle at center, var(--bg-ivory) 0%, var(--bg-soft-gold) 100%);
  border: 2px solid var(--gold-antique);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 24px 28px;
  box-shadow: 0 16px 50px rgba(74, 14, 23, 0.3), 0 0 30px rgba(212, 175, 55, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.family-popup-backdrop.visible .family-popup-card,
.family-popup-backdrop.visible .gallery-popup-card,
.family-popup-backdrop.visible .dress-code-popup-card {
  transform: scale(1) translateY(0);
}

.family-popup-card::before,
.gallery-popup-card::before,
.dress-code-popup-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--border-gold);
  border-radius: 18px;
  pointer-events: none;
}

.family-members-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.family-group {
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px;
}

.group-title {
  font-family: var(--font-royal);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--royal-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--border-gold);
  padding-bottom: 4px;
}

.family-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.family-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.95rem;
}

.member-role {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-gold);
  font-style: italic;
}

.member-name {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--deep-burgundy);
}

/* ==========================================================================
   5G. CUSTOM ROYAL WEDDING POPUP MODAL (HORIZONTALLY CENTERED DRESS CODE BTN)
   ========================================================================== */
#event-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(74, 14, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#event-popup-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.event-popup-card.sample-matched {
  position: relative;
  background: radial-gradient(circle at center, #FFFDF9 0%, #FAF6EF 70%, #F7F1E5 100%);
  border: 2px solid var(--gold-antique);
  border-radius: 28px;
  max-width: 450px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px 24px 24px;
  box-shadow: 0 16px 50px rgba(74, 14, 23, 0.35), 0 0 35px rgba(212, 175, 55, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#event-popup-backdrop.visible .event-popup-card.sample-matched {
  transform: scale(1) translateY(0);
}

.event-popup-card.sample-matched::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  pointer-events: none;
}

/* Floral Corner Watermarks */
.popup-floral-corner {
  position: absolute;
  width: 90px;
  height: 90px;
  pointer-events: none;
  opacity: 0.28;
  background-size: contain;
  background-repeat: no-repeat;
}

.popup-floral-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 22px;
  background-image: radial-gradient(circle at bottom left, var(--gold-champagne), transparent 70%);
}

.popup-floral-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-right-radius: 22px;
  background-image: radial-gradient(circle at bottom right, var(--gold-champagne), transparent 70%);
}

.popup-close-btn {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 10000;
  margin-top: -8px;
  margin-right: -4px;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--gold-antique);
  color: var(--deep-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(74, 14, 23, 0.3), 0 0 12px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.popup-close-btn:hover {
  transform: scale(1.1);
  background: #FFFDF9;
}

.popup-top-scroll-flourish {
  text-align: center;
  color: var(--gold-antique);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.popup-header {
  text-align: center;
  margin-bottom: 14px;
}

.popup-day-badge {
  font-family: var(--font-royal);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-gold);
  font-weight: 700;
}

.popup-event-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--deep-burgundy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 4px 0 2px;
}

.popup-title-diamond-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0;
  color: var(--gold-antique);
}

.popup-title-diamond-flourish .diamond-line {
  height: 1px;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--gold-antique), transparent);
}

.popup-day-badge {
  display: none !important;
}

.popup-event-date {
  font-family: var(--font-royal);
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  font-weight: 800;
  color: #58111A;
  letter-spacing: 1.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Time & Venue Box */
.popup-details-box.sample-style {
  background: #FFFDF9;
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  box-shadow: inset 0 2px 8px rgba(184, 134, 11, 0.08), 0 4px 14px rgba(74, 14, 23, 0.05);
}

.popup-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-gold);
}

.detail-vert-divider {
  width: 1px;
  height: 22px;
  background: var(--border-gold);
}

.popup-detail-text {
  font-family: var(--font-royal);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--deep-burgundy);
  text-transform: uppercase;
}

.popup-box-inner-divider {
  height: 1px;
  background: var(--border-gold);
  width: 100%;
}

.popup-desc-divider {
  text-align: center;
  color: var(--gold-antique);
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.popup-description {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--deep-burgundy);
  font-style: italic;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 14px;
  padding: 0 10px;
}

/* VIEW DRESS CODE BUTTON WRAPPER (100% HORIZONTALLY CENTERED) */
.popup-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.popup-dress-code-btn.sample-style.long-btn,
.popup-live-photos-btn.sample-style.long-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 0px;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  height: auto;
  margin: 0;
  padding: clamp(6px, 1.5vw, 10px) clamp(6px, 1.6vw, 12px);
  background: linear-gradient(135deg, #58111A 0%, #8B1E2D 60%, #4A0E17 100%);
  color: var(--bg-ivory);
  border: 1.5px solid var(--gold-champagne);
  border-radius: 22px;
  font-family: var(--font-royal);
  font-size: clamp(0.60rem, 2.1vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(74, 14, 23, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

.dress-code-btn-icon,
.live-photos-btn-icon {
  width: 17px;
  height: 17px;
  fill: var(--gold-champagne);
  flex-shrink: 0;
}

.popup-dress-code-btn.sample-style.long-btn:hover,
.popup-live-photos-btn.sample-style.long-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.popup-footer-tag.sample-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.popup-footer-tag.sample-footer .footer-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--gold-antique), transparent);
}

.popup-footer-tag.sample-footer .tag-text {
  font-family: var(--font-royal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--deep-burgundy);
}

/* DRESS CODE LIGHTBOX POPUP MODAL */
.dress-code-popup-card {
  position: relative;
  background: radial-gradient(circle at center, var(--bg-ivory) 0%, var(--bg-soft-gold) 100%);
  border: 2px solid var(--gold-antique);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 44px 16px 16px;
  box-shadow: 0 16px 50px rgba(74, 14, 23, 0.35), 0 0 30px rgba(212, 175, 55, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dress-code-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gold-antique);
  box-shadow: 0 8px 25px rgba(74, 14, 23, 0.2);
  background: var(--bg-cream);
}

#dress-code-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   5H. THANKS VIDEO SECTION
   ========================================================================== */
.thanks-section {
  width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  contain: style layout;
}

.thanks-card {
  background: radial-gradient(circle at center, var(--bg-ivory) 0%, var(--bg-soft-gold) 100%);
  border: 1.5px solid var(--gold-antique);
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--border-gold);
  border-radius: 20px;
  pointer-events: none;
}

.thanks-badge {
  font-family: var(--font-royal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--royal-red);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.thanks-title {
  font-family: var(--font-royal);
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--deep-burgundy) 0%, var(--royal-red) 60%, var(--gold-metallic) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.thanks-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-gold);
  font-style: italic;
  margin-bottom: 20px;
}

.thanks-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 8px 25px rgba(74, 14, 23, 0.15);
  background: var(--bg-cream);
  margin-bottom: 18px;
}

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

.thanks-unmute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--border-gold);
  color: var(--royal-red);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.thanks-unmute-btn:hover {
  transform: scale(1.08);
  background: var(--bg-ivory);
}

.unmute-icon {
  width: 20px;
  height: 20px;
  fill: var(--royal-red);
}

.thanks-message {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--deep-burgundy);
  font-style: italic;
  line-height: 1.5;
  padding: 0 10px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (min-width: 768px) {
  :root {
    --safe-top-padding: 105px;
    --safe-bottom-padding: 105px;
  }
  
  #fixed-ganesh {
    height: 76px;
    top: 14px;
  }

  #fixed-logo {
    height: 54px;
    bottom: 14px;
  }

  .emblem-pill.top {
    width: 98px;
    height: 88px;
  }

  .emblem-pill.bottom {
    width: 185px;
    height: 66px;
  }
  
  .events-container {
    padding: 0 32px;
  }
  
  .events-stickers-grid {
    gap: 24px 18px;
  }

  .fab-btn {
    width: 62px;
    height: 62px;
  }

  .fab-icon-img {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   LIVE EVENT PHOTOS MODAL STYLES
   ========================================================================== */
.live-photos-popup-card {
  position: relative;
  width: 92%;
  max-width: 580px;
  max-height: 85vh;
  background: var(--bg-ivory);
  border: 2px solid var(--gold-champagne);
  border-radius: 18px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: popupCardIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.live-photos-header {
  text-align: center;
  margin-bottom: 14px;
}

.live-photos-badge {
  display: inline-block;
  font-family: var(--font-royal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--deep-burgundy);
  background: rgba(139, 30, 45, 0.08);
  border: 1px solid rgba(139, 30, 45, 0.2);
  border-radius: 12px;
  padding: 3px 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.live-photos-title {
  font-family: var(--font-royal);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep-burgundy);
  letter-spacing: 1px;
  margin: 2px 0 4px;
}

.live-photos-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin: 0;
}

.live-photos-action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(247, 243, 233, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  margin-bottom: 14px;
  text-align: center;
}

.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #8B1E2D 0%, #58111A 100%);
  color: #FFF3C4;
  border: 1px solid var(--gold-champagne);
  border-radius: 12px;
  padding: 4px 10px;
  font-family: var(--font-royal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(139, 30, 45, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-upload-btn svg {
  width: 13px;
  height: 13px;
  fill: #FFF3C4;
}

.admin-upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 30, 45, 0.35);
}

.live-photos-count-badge {
  display: none !important;
}

.live-photos-grid-wrap {
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
  max-height: 52vh;
  padding-right: 4px;
}

.live-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.live-photo-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.live-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.live-photo-item:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.live-photo-item:hover img {
  transform: scale(1.08);
}

.live-photo-delete-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.92);
  border: 1px solid #FFCDD2;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  z-index: 5;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.live-photo-delete-btn svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
  pointer-events: none;
}

.live-photo-delete-btn:hover {
  background: #B71C1C;
  transform: scale(1.15);
}

.live-photos-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 14px;
}

.live-photos-empty-state svg {
  width: 48px;
  height: 48px;
  fill: #D4AF37;
  opacity: 0.7;
  margin-bottom: 10px;
}

.live-photos-empty-state h4 {
  font-family: var(--font-royal);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-burgundy);
  margin: 0 0 6px;
}

.live-photos-empty-state p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  max-width: 320px;
  line-height: 1.4;
}

/* ==========================================================================
   ADMIN AUTHENTICATION MODAL STYLES
   ========================================================================== */
.admin-auth-card {
  position: relative;
  width: 90%;
  max-width: 380px;
  background: var(--bg-ivory);
  border: 2px solid var(--gold-champagne);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: popupCardIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.admin-auth-header {
  text-align: center;
  margin-bottom: 18px;
}

.auth-icon-wrap {
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  background: rgba(139, 30, 45, 0.1);
  border: 1px solid var(--gold-champagne);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--deep-burgundy);
}

.admin-auth-header h3 {
  font-family: var(--font-royal);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-burgundy);
  letter-spacing: 1.5px;
  margin: 0 0 4px;
}

.admin-auth-header p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.auth-input-group label {
  font-family: var(--font-royal);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-burgundy);
  letter-spacing: 0.5px;
}

.auth-input-group input {
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  background: #FFF;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-group input:focus {
  border-color: var(--deep-burgundy);
  box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.15);
}

.auth-error-msg {
  display: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #D32F2F;
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.auth-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.auth-cancel-btn,
.auth-submit-btn {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  font-family: var(--font-royal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-cancel-btn {
  background: transparent;
  color: #666;
  border: 1px solid #CCC;
}

.auth-submit-btn {
  background: linear-gradient(135deg, #8B1E2D 0%, #58111A 100%);
  color: var(--bg-ivory);
  border: 1px solid var(--gold-champagne);
  box-shadow: 0 4px 12px rgba(139, 30, 45, 0.3);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 30, 45, 0.4);
}

/* ==========================================================================
   UPLOAD LOADING OVERLAY
   ========================================================================== */
.upload-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}

.upload-loading-overlay.visible {
  display: flex;
}

.upload-spinner-card {
  background: var(--bg-ivory);
  border: 2px solid var(--gold-champagne);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  width: 85%;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: popupCardIn 0.3s ease forwards;
}

.upload-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 4px solid rgba(139, 30, 45, 0.15);
  border-top-color: var(--deep-burgundy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.upload-spinner-card h4 {
  font-family: var(--font-royal);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep-burgundy);
  margin: 0 0 6px;
}

.upload-spinner-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #555;
  margin: 0;
}
