/* ==========================================================================
   PREMIUM LUXURY DIGITAL WEDDING INVITATION - STYLESHEET
   Adv. Mohammed Yasir K.M. & Dr. Safvana Jabin V.K.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & PALETTE
   -------------------------------------------------------------------------- */
:root {
  /* Royal Gold Hierarchy */
  --gold-50: #fefcf6;
  --gold-100: #fbf5e6;
  --gold-200: #f5e7c4;
  --gold-300: #ebd39b;
  --gold-400: #dfba6c;
  --gold-500: #d4af37; /* Core Champagne Gold */
  --gold-600: #b8860b; /* Rich Gold */
  --gold-700: #936b13;
  --gold-800: #6e4f12;
  --gold-900: #4a340c;

  /* Luxury Neutrals */
  --ivory-base: #fcfaf5;
  --ivory-surface: #fdfbf7;
  --cream-soft: #f8f4ec;
  --warm-beige: #f1ebd9;
  --sand-accent: #e5dbc7;
  
  /* Deep Royal Dark Brown (Not pitch black) */
  --royal-dark: #231812;
  --royal-brown: #332219;
  --royal-espresso: #1f130b;
  --text-primary: #2d1e16;
  --text-secondary: #5e4a3c;
  --text-muted: #887262;

  /* Accent & Status */
  --burgundy-deep: #781d28;
  --emerald-deep: #164e32;
  --gold-border: rgba(212, 175, 55, 0.4);
  --gold-border-subtle: rgba(212, 175, 55, 0.2);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffd97d 0%, #d4af37 45%, #b8860b 80%, #8c6014 100%);
  --gradient-gold-text: linear-gradient(135deg, #f0cf7e 0%, #d4af37 50%, #996e1a 100%);
  --gradient-card: linear-gradient(180deg, #fdfbf7 0%, #f9f5ec 100%);
  --gradient-dark: linear-gradient(180deg, #241912 0%, #170f0a 100%);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(45, 30, 22, 0.05);
  --shadow-md: 0 10px 25px rgba(45, 30, 22, 0.08);
  --shadow-lg: 0 18px 45px rgba(45, 30, 22, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.22);
  --shadow-inner-gold: inset 0 0 15px rgba(212, 175, 55, 0.15);

  /* Typography */
  --font-serif-display: 'Playfair Display', serif;
  --font-serif-sub: 'Cormorant Garamond', Georgia, serif;
  --font-monument: 'Cinzel', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(var(--gold-border-subtle) 0.6px, transparent 0.6px),
    radial-gradient(var(--gold-border-subtle) 0.6px, var(--ivory-base) 0.6px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

img, svg {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--gold-700);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Global Canvas for Floating Petals and Golden Dust */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-gold {
  color: var(--gold-600);
}

.text-gold-gradient {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.font-serif-display { font-family: var(--font-serif-display); }
.font-serif-sub { font-family: var(--font-serif-sub); }
.font-monument { font-family: var(--font-monument); }
.font-script { font-family: var(--font-script); }
.font-arabic { font-family: var(--font-arabic); direction: rtl; }

.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

/* Section Header Motif */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-monument);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--royal-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  font-style: italic;
  max-width: 650px;
  margin: 0 auto 16px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 0;
  max-width: 280px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.section-divider-motif {
  width: 24px;
  height: 24px;
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Luxury Card Shell */
.luxury-card {
  background: var(--gradient-card);
  border-radius: 14px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

/* Corner Ornaments for Luxury Cards */
.card-corner-ornament {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
  opacity: 0.8;
}

.card-corner-ornament.tl { top: 6px; left: 6px; }
.card-corner-ornament.tr { top: 6px; right: 6px; transform: scaleX(-1); }
.card-corner-ornament.bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.card-corner-ornament.br { bottom: 6px; right: 6px; transform: scale(-1); }

/* --------------------------------------------------------------------------
   4. NAVIGATION / TOP LUXURY BAR
   -------------------------------------------------------------------------- */
.wedding-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  background: rgba(252, 250, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wedding-navbar.scrolled {
  padding: 10px 28px;
  box-shadow: 0 4px 20px rgba(45, 30, 22, 0.08);
  background: rgba(252, 250, 245, 0.96);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--royal-dark);
}

.nav-monogram {
  font-family: var(--font-monument);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 1.5px;
}

.nav-monogram span {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gold-500);
  margin: 0 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-monument);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-600);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-cta-btn {
  padding: 8px 20px;
  background: var(--gradient-gold);
  color: var(--royal-espresso);
  font-family: var(--font-monument);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
  color: #000;
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--royal-dark);
  font-size: 1.5rem;
  padding: 4px;
}

@media (max-width: 900px) {
  .nav-mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--ivory-surface);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--gold-border);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }
  .nav-links.open {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION – WEDDING ANNOUNCEMENT
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #f7f1e4 55%, #eae0ce 100%);
  overflow: hidden;
}

.hero-bg-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-mandala-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(850px, 95vw);
  height: min(850px, 95vw);
  opacity: 0.08;
  animation: rotateSlowly 120s linear infinite;
}

@keyframes rotateSlowly {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-corner-decor {
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0.85;
}
.hero-corner-decor.tl { top: 15px; left: 15px; }
.hero-corner-decor.tr { top: 15px; right: 15px; transform: scaleX(-1); }
.hero-corner-decor.bl { bottom: 15px; left: 15px; transform: scaleY(-1); }
.hero-corner-decor.br { bottom: 15px; right: 15px; transform: scale(-1); }

@media (max-width: 600px) {
  .hero-corner-decor { width: 80px; height: 80px; }
}

.hero-card-container {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(45, 30, 22, 0.12),
              0 0 35px rgba(212, 175, 55, 0.1) inset;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4vw, 48px);
}

.hero-bismillah {
  margin-bottom: 24px;
}

.hero-bismillah-img {
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.2));
}

.hero-parents-host {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.35);
}

.hero-host-names {
  font-family: var(--font-serif-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--royal-dark);
}

.hero-host-address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-invitation-lead {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Couple Names Display */
.hero-names-wrap {
  margin: 20px 0 30px;
}

.hero-groom-name, .hero-bride-name {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--royal-dark);
  text-shadow: 0 2px 6px rgba(45, 30, 22, 0.08);
  letter-spacing: 0.5px;
}

.hero-lineage-note {
  font-family: var(--font-serif-sub);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  font-style: italic;
  margin-top: 6px;
}

.hero-ampersand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 14px 0;
}

.hero-ampersand-divider::before,
.hero-ampersand-divider::after {
  content: '';
  height: 1.5px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--gold-500);
  line-height: 0.8;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.hero-with-text {
  font-family: var(--font-serif-sub);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-700);
  margin: 10px 0;
  letter-spacing: 2px;
}

/* 3-Column Event Key Info Badge (From physical card) */
.hero-key-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 24px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.key-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.key-detail-item:not(:last-child) {
  border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.key-detail-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-600);
  margin-bottom: 8px;
}

.key-detail-label {
  font-family: var(--font-monument);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold-700);
  text-transform: uppercase;
}

.key-detail-value {
  font-family: var(--font-serif-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--royal-dark);
  line-height: 1.2;
  margin: 4px 0 2px;
}

.key-detail-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 650px) {
  .hero-key-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .key-detail-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 16px;
  }
}

/* Hero Bottom Quote & Actions */
.hero-blessing-quote {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  color: var(--gold-800);
  font-weight: 600;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary-luxury {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--gradient-gold);
  color: var(--royal-espresso);
  font-family: var(--font-monument);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-smooth);
}

.btn-primary-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-secondary-luxury {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--royal-dark);
  font-family: var(--font-monument);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold-500);
  border-radius: 50px;
  transition: all var(--transition-smooth);
}

.btn-secondary-luxury:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-700);
  transform: translateY(-2px);
}

/* Scroll Down Prompt Indicator */
.hero-scroll-indicator {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-600);
  font-family: var(--font-monument);
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.hero-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--gold-500);
  border-radius: 14px;
  position: relative;
}

.hero-scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--gold-600);
  border-radius: 3px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. COUPLE INTRODUCTION
   -------------------------------------------------------------------------- */
.couple-section {
  background: var(--cream-soft);
  position: relative;
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .couple-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 20px auto 0;
  }
}

.couple-card {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.couple-portrait-frame {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(45, 30, 22, 0.18), 0 0 20px rgba(212, 175, 55, 0.25);
  border: 3.5px solid var(--gold-400);
  margin-bottom: 18px;
  background: radial-gradient(circle, #3d2b20 0%, #1f140e 100%);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.couple-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 235, 160, 0.7);
  border-radius: 50%;
  pointer-events: none;
}

.couple-portrait-frame:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(45, 30, 22, 0.25), 0 0 25px rgba(212, 175, 55, 0.4);
  border-color: var(--gold-500);
}

.couple-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.couple-card:hover .couple-portrait-img {
  transform: scale(1.06);
}

.couple-badge-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  font-family: var(--font-monument);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-700);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.couple-name {
  font-family: var(--font-serif-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 6px;
}

.couple-profession {
  font-family: var(--font-serif-sub);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-700);
  margin-bottom: 16px;
}

.couple-bio {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 440px;
}

.couple-family-info {
  width: 100%;
  padding-top: 18px;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
  text-align: center;
}

.couple-parents-title {
  font-family: var(--font-monument);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 4px;
}

.couple-parents-names {
  font-family: var(--font-serif-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--royal-dark);
}

.couple-parents-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.couple-grandparents {
  font-family: var(--font-serif-sub);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   7. LIVE COUNTDOWN SECTION
   -------------------------------------------------------------------------- */
.countdown-section {
  background: var(--royal-dark);
  color: #f7eed7;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-section .section-title {
  color: #fff9e6;
}

.countdown-section .section-subtitle {
  color: #cbb493;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .countdown-grid {
    gap: 10px;
  }
}

.countdown-box {
  background: rgba(45, 32, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 24px 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
              inset 0 0 15px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.countdown-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.countdown-num {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #ffd885;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.countdown-label {
  font-family: var(--font-monument);
  font-size: clamp(0.68rem, 1.8vw, 0.8rem);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #bfab93;
  margin-top: 10px;
}

.countdown-completed-message {
  display: none;
  font-family: var(--font-serif-display);
  font-size: 2.2rem;
  color: #ffd885;
  text-align: center;
  padding: 30px;
}

.calendar-action-wrap {
  text-align: center;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-monument);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.15);
  color: #ffd885;
  border: 1px solid rgba(212, 175, 55, 0.4);
  transition: all var(--transition-fast);
}

.btn-calendar:hover {
  background: var(--gold-500);
  color: var(--royal-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. WEDDING SCHEDULE & EVENTS
   -------------------------------------------------------------------------- */
.events-section {
  background: var(--ivory-base);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .events-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

.event-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card.featured {
  border: 1.5px solid var(--gold-500);
  background: linear-gradient(180deg, #fffcf5 0%, #f7f1e2 100%);
  position: relative;
}

.event-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  background: var(--gradient-gold);
  color: var(--royal-espresso);
  font-family: var(--font-monument);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.event-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  margin-bottom: 20px;
}

.event-title {
  font-family: var(--font-serif-display);
  font-size: 1.45rem;
  color: var(--royal-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.event-subtitle {
  font-family: var(--font-serif-sub);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-700);
  margin-bottom: 16px;
}

.event-meta {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
}

.event-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.event-meta-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.event-btn {
  width: 100%;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  font-family: var(--font-monument);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-700);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.event-btn:hover {
  background: var(--gold-500);
  color: var(--royal-espresso);
  border-color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   9. VENUE & GOOGLE MAPS
   -------------------------------------------------------------------------- */
.venue-section {
  background: var(--cream-soft);
}

.venue-card-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .venue-card-main {
    grid-template-columns: 1fr;
  }
}

.venue-details-panel {
  padding: clamp(32px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-hall-badge {
  font-family: var(--font-monument);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.venue-name {
  font-family: var(--font-serif-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.venue-address {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.venue-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.venue-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.venue-highlight-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
}

.venue-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.venue-map-panel {
  position: relative;
  min-height: 400px;
  background: #e5ded2;
}

.venue-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: contrast(1.05) saturate(0.9);
}

/* --------------------------------------------------------------------------
   10. PHOTO GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--ivory-base);
}

.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--gold-border);
  font-family: var(--font-monument);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gold-500);
  color: var(--royal-espresso);
  border-color: var(--gold-500);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

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

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-border-subtle);
  background: var(--warm-beige);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(35, 24, 18, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.gallery-item-title {
  font-family: var(--font-serif-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffd885;
}

.gallery-item-category {
  font-family: var(--font-monument);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e0d0ba;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(18, 12, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

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

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  margin-top: 16px;
  color: #ffd885;
  font-family: var(--font-serif-sub);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffd885;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffd885;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold-500);
  color: var(--royal-dark);
}

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

/* --------------------------------------------------------------------------
   11. WEDDING LOVE STORY TIMELINE
   -------------------------------------------------------------------------- */
.story-section {
  background: var(--cream-soft);
}

.story-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Center Golden Progress Line */
.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-400), var(--gold-500), transparent);
}

@media (max-width: 768px) {
  .story-timeline::before {
    left: 28px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory-surface);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 68px;
  }
  .timeline-badge {
    left: 28px;
  }
}

.timeline-card {
  width: calc(50% - 44px);
  padding: 28px;
}

@media (max-width: 768px) {
  .timeline-card {
    width: 100%;
  }
}

.timeline-date {
  font-family: var(--font-monument);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  color: var(--royal-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. RSVP SECTION
   -------------------------------------------------------------------------- */
.rsvp-section {
  background: radial-gradient(circle at 50% 30%, #35251a 0%, #1c120c 100%);
  color: #f7eed7;
  position: relative;
}

.rsvp-section .section-title {
  color: #fff9e6;
}

.rsvp-section .section-subtitle {
  color: #cbb493;
}

.rsvp-card-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(45, 32, 24, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
              inset 0 0 25px rgba(212, 175, 55, 0.1);
  position: relative;
}

.rsvp-form-group {
  margin-bottom: 22px;
}

.rsvp-label {
  display: block;
  font-family: var(--font-monument);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffd885;
  margin-bottom: 8px;
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(26, 17, 12, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.rsvp-radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.rsvp-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #e5dbc7;
}

.rsvp-radio-label input {
  accent-color: var(--gold-500);
}

.btn-rsvp-submit {
  width: 100%;
  padding: 15px;
  background: var(--gradient-gold);
  color: var(--royal-espresso);
  font-family: var(--font-monument);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-smooth);
}

.btn-rsvp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
  color: #000;
}

.rsvp-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: #9a8069;
  font-family: var(--font-monument);
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.rsvp-or-divider::before,
.rsvp-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
}

.btn-rsvp-whatsapp {
  width: 100%;
  padding: 13px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-rsvp-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  color: #fff;
}

.rsvp-feedback {
  display: none;
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

.rsvp-feedback.success {
  display: block;
  background: rgba(46, 125, 50, 0.25);
  border: 1px solid #4caf50;
  color: #a5d6a7;
}

/* --------------------------------------------------------------------------
   13. CONTACTS & FOOTER
   -------------------------------------------------------------------------- */
.contacts-section {
  background: var(--ivory-base);
  padding: 80px 0 40px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 32px;
}

.contact-family-title {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 4px;
}

.contact-relation {
  font-family: var(--font-monument);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-house {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-phones-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border-subtle);
  border-radius: 6px;
  color: var(--royal-dark);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.phone-badge-link:hover {
  background: var(--gold-500);
  color: var(--royal-espresso);
  border-color: var(--gold-500);
}

/* Footer Ending Notes */
.wedding-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
}

.footer-quote {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--royal-dark);
  max-width: 650px;
  margin: 0 auto 16px;
}

.footer-closing {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold-600);
  margin-bottom: 24px;
}

.footer-signature {
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--royal-dark);
}

.footer-copyright {
  margin-top: 30px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FLOATING MUSIC PLAYER
   -------------------------------------------------------------------------- */
.music-floating-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(35, 24, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 40px;
  padding: 8px 18px 8px 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
              0 0 15px rgba(212, 175, 55, 0.2);
  color: #f7eed7;
  transition: all var(--transition-smooth);
}

.music-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-espresso);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  transition: transform var(--transition-fast);
}

.music-toggle-btn:hover {
  transform: scale(1.08);
}

.music-info-wrap {
  display: flex;
  flex-direction: column;
}

.music-title {
  font-family: var(--font-serif-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffd885;
  white-space: nowrap;
}

.music-artist {
  font-size: 0.68rem;
  color: #bfa895;
  white-space: nowrap;
}

/* Audio Visualizer Bars */
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.music-bar {
  width: 3px;
  background: var(--gold-400);
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s ease;
}

.music-floating-pill.playing .music-bar:nth-child(1) { animation: soundBar 1.1s infinite alternate; }
.music-floating-pill.playing .music-bar:nth-child(2) { animation: soundBar 0.8s infinite alternate 0.2s; }
.music-floating-pill.playing .music-bar:nth-child(3) { animation: soundBar 1.3s infinite alternate 0.4s; }
.music-floating-pill.playing .music-bar:nth-child(4) { animation: soundBar 0.9s infinite alternate 0.1s; }

@keyframes soundBar {
  0% { height: 4px; }
  100% { height: 16px; }
}

.music-volume-slider {
  width: 60px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

@media (max-width: 600px) {
  .music-volume-slider, .music-artist { display: none; }
  .music-floating-pill {
    bottom: 16px;
    left: 16px;
    padding: 6px 14px 6px 8px;
  }
}

/* --------------------------------------------------------------------------
   15. FLOATING ACTION CONTROLS (SHARE, REPLAY ENVELOPE, TOP)
   -------------------------------------------------------------------------- */
.floating-actions-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.floating-btn-share {
  background: #25d366;
  color: #fff;
}

.floating-btn-card {
  background: var(--gradient-gold);
  color: var(--royal-espresso);
}

.floating-btn-top {
  background: rgba(35, 24, 18, 0.85);
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  visibility: hidden;
}

.floating-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .floating-actions-wrap {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .floating-btn {
    width: 42px;
    height: 42px;
  }
}

/* --------------------------------------------------------------------------
   16. SHARE & ORIGINAL CARD MODAL
   -------------------------------------------------------------------------- */
.wedding-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(18, 12, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.wedding-modal.active {
  opacity: 1;
  visibility: visible;
}

.wedding-modal-box {
  background: var(--ivory-surface);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: modalScaleUp 0.3s ease-out;
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-qr-img {
  width: 180px;
  height: 180px;
  margin: 18px auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--royal-dark);
  color: #ffd885;
  border: 1px solid var(--gold-500);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.88rem;
  z-index: 1000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   17. REDUCED MOTION ACCESSIBILITY
   -------------------------------------------------------------------------- */
@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;
  }
}

