/* ==========================================================================
   ROYAL WEDDING INVITATION TEMPLATE
   Color Scheme: Royal Imperial Emerald & 24K Lustrous Gold with Ivory Silk
   ========================================================================== */

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

:root {
  /* Royal Palette */
  --emerald-deep: #081610;
  --emerald-dark: #0f271c;
  --emerald-mid: #173b2c;
  --emerald-soft: #23523e;
  
  --gold-dark: #8c641f;
  --gold-primary: #c99b41;
  --gold-light: #e6c875;
  --gold-shimmer: #fdf2cc;
  --gold-grad: linear-gradient(135deg, #d8ad57 0%, #f7e6af 35%, #b98628 70%, #f0d588 100%);
  --gold-foil: linear-gradient(135deg, #e3c47a 0%, #faeec7 25%, #be8b2e 50%, #f6e3a4 75%, #a67620 100%);

  --paper-cream: #faf5ea;
  --paper-deep: #efe4ce;
  --paper-card: #fffdf7;
  
  --ink-primary: #211910;
  --ink-secondary: rgba(33, 25, 16, 0.72);
  --ink-muted: rgba(33, 25, 16, 0.48);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 8px 25px rgba(201, 155, 65, 0.35);

  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

body {
  font-family: 'Marcellus', serif;
  background-color: var(--emerald-deep);
  min-height: 100%;
  color: var(--ink-primary);
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Typography Helpers */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-script { font-family: 'Great Vibes', cursive; }
.font-garamond { font-family: 'Cormorant Garamond', serif; }
.font-arabic { font-family: 'Amiri', serif; }

.section-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   ORNAMENTS & DIVIDERS
========================================================= */
.flourish {
  width: 48px;
  height: 22px;
  margin: 0 auto 14px;
  opacity: 0.9;
}
.flourish svg { width: 100%; height: 100%; display: block; }

.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), var(--gold-light), var(--gold-primary), transparent);
  margin: 20px auto;
  position: relative;
}
.divider-gold::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-light);
  font-size: 0.65rem;
  background: inherit;
  padding: 0 4px;
}

/* Islamic star-lattice geometric pattern for emerald backgrounds */
.pattern-emerald {
  position: relative;
}
.pattern-emerald::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e6c875' stroke-width='1'%3E%3Cpolygon points='40,5 50,25 70,15 60,35 80,40 60,45 70,65 50,55 40,75 30,55 10,65 20,45 0,40 20,35 10,15 30,25'/%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Warm luxury floral damask for cream paper panels */
.pattern-paper {
  position: relative;
}
.pattern-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201, 155, 65, 0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 155, 65, 0.08), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23c99b41' stroke-width='0.55' opacity='0.3'%3E%3Ccircle cx='50' cy='50' r='28'/%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='100' cy='0' r='28'/%3E%3Ccircle cx='0' cy='100' r='28'/%3E%3Ccircle cx='100' cy='100' r='28'/%3E%3Cpath d='M50 22 C45 35 35 45 22 50 C35 55 45 65 50 78 C55 65 65 55 78 50 C65 45 55 35 50 22 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 100px 100px;
}

.corner-orn {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 2;
}
.corner-orn svg { width: 100%; height: 100%; }
.corner-orn.tl { top: 12px; left: 12px; }
.corner-orn.tr { top: 12px; right: 12px; transform: scaleX(-1); }
.corner-orn.bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner-orn.br { bottom: 12px; right: 12px; transform: scale(-1, -1); }


/* =========================================================
   COVER / ROYAL 3D ENVELOPE
========================================================= */
.cover {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #e9dfcb;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.cover.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  perspective: 1500px;
  overflow: hidden;
  user-select: none;
}

.env-paper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #fdf9f0 0%, #ede1c7 50%, #dbcbab 100%);
}
.env-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.env-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(10, 25, 18, 0.45);
  pointer-events: none;
}

/* Triangular Flap with 3D Flip */
.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 58%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(165deg, #fcf6ea 0%, #ebdcb3 55%, #d5be8a 100%);
  transform-origin: top center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.25, 1) 0.3s, filter 1.5s ease 0.3s;
  box-shadow: 0 35px 55px -15px rgba(15, 25, 18, 0.35);
  z-index: 10;
}
.env-flap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.envelope.open .env-flap {
  transform: rotateX(-174deg);
  filter: brightness(0.82);
}

/* Mughal Arch scalloped gold base border */
.env-scallop-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13%;
  background: linear-gradient(180deg, var(--emerald-dark), var(--emerald-deep));
  z-index: 4;
}
.env-scallop-base::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(40deg, transparent 0 8px, rgba(230, 200, 117, 0.3) 8px 9px),
    repeating-linear-gradient(-40deg, transparent 0 8px, rgba(230, 200, 117, 0.3) 8px 9px);
}
.env-scallop-arch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  height: 8%;
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 56px 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='36' viewBox='0 0 56 36'%3E%3Cpath d='M0 36 L0 16 Q14 0 28 16 Q42 0 56 16 L56 36 Z' fill='%230f271c' stroke='%23e6c875' stroke-width='1.5'/%3E%3C/svg%3E");
  z-index: 5;
}
.env-scallop-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 20%, var(--gold-shimmer) 50%, var(--gold-light) 80%, transparent);
  z-index: 5;
}

/* Light Burst effect when seal cracks */
.light-burst {
  position: absolute;
  top: 57%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 235, 1) 0%, rgba(246, 230, 175, 0.75) 35%, rgba(201, 155, 65, 0.4) 60%, transparent 75%);
  z-index: 8;
  opacity: 0;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.3, 1) 0.15s, opacity 0.6s ease 0.15s;
  pointer-events: none;
}
.envelope.open .light-burst {
  transform: translate(-50%, -50%) scale(45);
  opacity: 1;
}

/* 3D Wax Seal with Realistic Crack */
.seal-wrap {
  position: absolute;
  top: 57%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  z-index: 12;
  transition: opacity 0.5s ease 0.5s;
}
.envelope.open .seal-wrap { opacity: 0; }

.seal-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(0.3, 0.6, 0.3, 1);
}
.seal-half.l { left: 0; transform-origin: right center; }
.seal-half.r { right: 0; transform-origin: left center; }
.seal-disc {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #faeec7 0%, #deb152 28%, var(--gold-primary) 55%, #7a4f12 100%);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.45), inset 0 4px 6px rgba(255, 245, 215, 0.5), 0 12px 24px rgba(0, 0, 0, 0.4);
}
.seal-half.l .seal-disc { left: 0; }
.seal-half.r .seal-disc { right: 0; }

.envelope.open .seal-half.l {
  transform: translateX(-16px) translateY(3px) rotate(-20deg);
}
.envelope.open .seal-half.r {
  transform: translateX(16px) translateY(-3px) rotate(18deg);
}

.seal-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.envelope.open .seal-face { opacity: 0; }

.seal-face .ring {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(65, 42, 8, 0.5);
}
.seal-face .ring2 {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 245, 215, 0.4);
}
.seal-mono {
  font-family: 'Great Vibes', cursive;
  font-size: 1.75rem;
  color: #3d2405;
  text-shadow: 0 1px 0 rgba(255, 245, 215, 0.55);
  line-height: 1;
}

.tap-label {
  position: absolute;
  top: 68%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b2810;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
  z-index: 9;
  animation: pulseTap 2s infinite ease-in-out;
}
@keyframes pulseTap {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(3px); opacity: 1; }
}
.envelope.open .tap-label { opacity: 0; }

.cover-hint-top {
  position: absolute;
  top: calc(24px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: rgba(50, 35, 15, 0.7);
  z-index: 3;
  transition: opacity 0.4s ease;
}
.envelope.open .cover-hint-top { opacity: 0; }

/* Rising Invitation Card */
.rising-card {
  position: absolute;
  left: 50%;
  top: 57%;
  width: 82%;
  max-width: 340px;
  transform: translate(-50%, -30%) scale(0.45);
  opacity: 0;
  z-index: 15;
  pointer-events: none;
  transition: transform 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) 0.85s, opacity 0.9s ease 0.85s;
}
.envelope.open .rising-card {
  transform: translate(-50%, -165%) scale(1);
  opacity: 1;
}
.rising-card-face {
  background: linear-gradient(160deg, #fffdf8, var(--paper-cream));
  border: 1px solid rgba(201, 155, 65, 0.5);
  border-radius: 6px;
  padding: 30px 20px 34px;
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}
.rising-card-face::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 155, 65, 0.3);
  pointer-events: none;
}
.rising-card-face .rc-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}
.rising-card-face .rc-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--ink-primary);
  line-height: 1.25;
}
.rising-card-face .rc-amp {
  font-family: 'Great Vibes', cursive;
  color: var(--gold-primary);
  font-size: 1.2em;
  padding: 0 4px;
}


/* =========================================================
   MAIN INVITATION CONTENT
========================================================= */
.content {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
.content.show {
  opacity: 1;
}

section {
  position: relative;
  overflow: hidden;
}

/* ---- FLOATING MUSIC & RSVP BAR ---- */
.audio-ctrl-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-deep));
  border: 1.5px solid var(--gold-light);
  box-shadow: var(--shadow-gold);
  color: var(--gold-shimmer);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 80;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audio-ctrl-btn:hover {
  transform: scale(1.08);
}
.audio-ctrl-btn.playing {
  animation: spinVinyl 6s linear infinite;
}
@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.audio-ctrl-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-rsvp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold-foil);
  color: #2b1d06;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  z-index: 80;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}
.floating-rsvp-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   1. HERO NAMES SECTION
========================================================= */
.hero {
  background: linear-gradient(180deg, var(--paper-cream) 0%, var(--paper-cream) 80%, var(--paper-deep) 100%);
  padding: 70px 24px 55px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 155, 65, 0.25);
}
.hero .hero-badge {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 14px;
  display: inline-block;
  animation: floatSubtle 4s ease-in-out infinite;
}
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hero .section-tag {
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-secondary);
  max-width: 360px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.hero .names-lg {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 12vw, 3.6rem);
  line-height: 1.12;
  color: var(--ink-primary);
  letter-spacing: -0.5px;
}
.hero .amp-lg {
  display: block;
  font-family: 'Great Vibes', cursive;
  font-size: 0.65em;
  color: var(--gold-primary);
  margin: 4px 0;
}
.hero .rule {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 24px auto 16px;
}
.hero .hashtag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  color: var(--gold-dark);
}

/* =========================================================
   2. DUA + SCRATCH DATE REVEAL
========================================================= */
.dua-section {
  background: var(--paper-deep);
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 155, 65, 0.25);
}
.bismillah {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.ayat-ar {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  line-height: 2.2;
  color: var(--ink-primary);
  max-width: 440px;
  margin: 0 auto 16px;
  direction: rtl;
}
.ayat-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-secondary);
  max-width: 400px;
  margin: 0 auto 12px;
}
.ayat-ur {
  font-family: 'Amiri', serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 400px;
  margin: 0 auto 12px;
  direction: rtl;
}
.ayat-ref {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 46px;
}

/* Scratch Card */
.scratch-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.scratch-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--ink-primary);
  margin-bottom: 24px;
}
.scratch-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold-primary);
  margin: 12px auto 0;
}
.scratch-card-container {
  position: relative;
  width: min(300px, 80vw);
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-light);
}
.scratch-card-container canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  z-index: 3;
}
.scratch-card-container canvas:active {
  cursor: grabbing;
}
.scratch-under {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8%;
  background: linear-gradient(155deg, var(--emerald-mid) 0%, var(--emerald-deep) 100%);
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}
.scratch-under .sd-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.scratch-under .sd-date {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--paper-cream);
  line-height: 1.2;
}
.scratch-under .sd-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: rgba(250, 245, 234, 0.7);
}
.scratch-instruction {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* =========================================================
   3. GREETING SECTION
========================================================= */
.greeting-section {
  background: var(--paper-cream);
  padding: 65px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 155, 65, 0.25);
}
.greeting-section .section-tag {
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.greeting-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--ink-primary);
  margin-bottom: 24px;
}
.greeting-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  background: var(--paper-card);
  border: 1px solid rgba(201, 155, 65, 0.35);
  border-radius: 6px;
  padding: 36px 26px;
  box-shadow: var(--shadow-sm);
}
.greeting-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--ink-secondary);
}
.greeting-rule {
  width: 32px;
  height: 1px;
  background: var(--gold-primary);
  margin: 22px auto;
}
.greeting-sign {
  font-family: 'Great Vibes', cursive;
  font-size: 1.85rem;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.greeting-names-sm {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* =========================================================
   4. EVENTS GRID (WITH CLICK-TO-EXPERIENCE STAGES)
========================================================= */
.events-section {
  background: linear-gradient(180deg, var(--emerald-dark) 0%, var(--emerald-mid) 100%);
  padding: 65px 20px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(230, 200, 117, 0.2);
}
.events-section .section-tag {
  color: var(--gold-light);
  margin-bottom: 8px;
}
.events-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--paper-cream);
  margin-bottom: 6px;
}
.events-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(230, 200, 117, 0.75);
  margin-bottom: 20px;
}
.events-grid {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.event-card {
  background: linear-gradient(160deg, #fffdf8 0%, var(--paper-cream) 100%);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  border: 1.5px solid rgba(201, 155, 65, 0.45);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 155, 65, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.event-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), var(--shadow-gold);
  border-color: var(--gold-light);
}
.event-card:hover::after {
  opacity: 1;
}
.event-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-foil);
  color: #2b1d06;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(201, 155, 65, 0.35);
  animation: pulseBadge 2.5s infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.event-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.event-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--gold-primary);
  background: rgba(201, 155, 65, 0.1);
}
.event-urdu {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: var(--gold-dark);
}
.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink-primary);
}
.event-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.event-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px dashed rgba(201, 155, 65, 0.35);
  border-bottom: 1px dashed rgba(201, 155, 65, 0.35);
  padding: 10px 0;
  margin-bottom: 12px;
}
.event-date {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-primary);
}
.event-time {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--emerald-mid);
}
.event-venue {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}
.event-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 1px;
}

/* =========================================================
   ANIMATED DULHA & DULHAN STAGE MODAL
========================================================= */
.stage-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 8, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stage-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.stage-modal-container {
  background: var(--paper-card);
  border: 2px solid var(--gold-light);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--shadow-gold);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stage-modal-overlay.active .stage-modal-container {
  transform: translateY(0) scale(1);
}
.stage-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s ease;
}
.stage-close-btn:hover {
  background: rgba(201, 155, 65, 0.9);
  color: #000;
}

/* Modal Stage Visual Area */
.stage-visual-viewport {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #111;
}

/* Individual Stage Themes */
.stage-theme-mehndi {
  background: radial-gradient(circle at 50% 30%, #3e4f16 0%, #1e2808 60%, #0d1203 100%);
}
.stage-theme-qawwali {
  background: radial-gradient(circle at 50% 25%, #181d3f 0%, #0c1026 65%, #050711 100%);
}
.stage-theme-barat {
  background: radial-gradient(circle at 50% 30%, #540b17 0%, #2f040b 60%, #140003 100%);
}
.stage-theme-walima {
  background: radial-gradient(circle at 50% 25%, #16362a 0%, #0c2018 65%, #05100c 100%);
}

/* Falling particles across stage */
.stage-particles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.stage-particle {
  position: absolute;
  top: -20px;
  opacity: 0.85;
  animation: fallParticle linear infinite;
}
@keyframes fallParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.85; }
  100% { transform: translateY(300px) rotate(360deg); opacity: 0; }
}

/* Fairy Lights & Chandeliers */
.stage-top-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 4;
  pointer-events: none;
}

/* The Animated Couple SVG Stage */
.stage-couple-art {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 220px;
  z-index: 6;
  pointer-events: none;
}

/* Subtle Breathing Animation for Couple */
.anim-couple-breathe {
  animation: coupleSway 4s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes coupleSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(0.4deg); }
}

/* Garlands swaying */
.anim-garland-sway {
  animation: garlandWave 3.5s ease-in-out infinite alternate;
  transform-origin: top center;
}
@keyframes garlandWave {
  0% { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}

/* Diyas / Flame Flickering */
.anim-flame {
  animation: flameFlicker 1.8s infinite alternate;
  transform-origin: bottom center;
}
@keyframes flameFlicker {
  0% { transform: scale(1) translateY(0); opacity: 0.85; }
  50% { transform: scale(1.15) translateY(-2px); opacity: 1; }
  100% { transform: scale(0.92) translateY(1px); opacity: 0.8; }
}

/* Music Player Bar inside Modal */
.stage-music-bar {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-deep));
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(230, 200, 117, 0.4);
  border-bottom: 1px solid rgba(230, 200, 117, 0.4);
  color: var(--gold-light);
}
.stage-music-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.music-track-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper-cream);
}
.music-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.music-bar {
  width: 3px;
  background: var(--gold-light);
  border-radius: 999px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}
.music-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.music-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.music-bar:nth-child(3) { height: 10px; animation-delay: 0.15s; }
.music-bar:nth-child(4) { height: 18px; animation-delay: 0.45s; }
@keyframes waveBar {
  0% { height: 4px; }
  100% { height: 18px; }
}
.music-wave-bars.paused .music-bar {
  animation-play-state: paused;
  height: 4px;
}
.stage-play-pause-btn {
  background: var(--gold-foil);
  color: #2b1d06;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
}

/* Modal Body Content */
.stage-body-content {
  padding: 24px 22px 28px;
  text-align: center;
}
.stage-function-urdu {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 2px;
}
.stage-function-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink-primary);
  margin-bottom: 6px;
}
.stage-function-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}
.stage-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(201, 155, 65, 0.08);
  border: 1px solid rgba(201, 155, 65, 0.25);
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 16px;
  text-align: left;
}
.stage-info-item {
  font-family: 'Cormorant Garamond', serif;
}
.stage-info-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2px;
  font-weight: 600;
}
.stage-info-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-primary);
}
.stage-venue-box {
  background: #fff;
  border: 1px solid rgba(201, 155, 65, 0.3);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
  font-family: 'Cormorant Garamond', serif;
}
.stage-venue-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.stage-venue-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--emerald-dark);
}
.stage-venue-addr {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}
.stage-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.stage-action-btn {
  flex: 1;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-calendar {
  background: var(--gold-foil);
  color: #2b1d06;
  border: 1px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
}
.btn-calendar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-map-dir {
  background: rgba(23, 59, 44, 0.1);
  color: var(--emerald-mid);
  border: 1px solid var(--emerald-mid);
}
.btn-map-dir:hover {
  background: var(--emerald-mid);
  color: #fff;
}

/* =========================================================
   5. LIVE COUNTDOWN TIMER
========================================================= */
.countdown-section {
  background: var(--paper-cream);
  padding: 65px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 155, 65, 0.25);
}
.countdown-section .section-tag {
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.countdown-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink-primary);
  margin-bottom: 26px;
}
.countdown-box {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: var(--paper-card);
  border: 1px solid rgba(201, 155, 65, 0.35);
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
}
.cd-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.cd-item {
  flex: 1;
  text-align: center;
  background: rgba(201, 155, 65, 0.06);
  border: 1px solid rgba(201, 155, 65, 0.2);
  border-radius: 6px;
  padding: 12px 6px;
}
.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cd-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.cd-sub {
  margin-top: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}
.cd-arabic {
  margin-top: 10px;
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  color: var(--gold-dark);
}

/* =========================================================
   6. VENUE SECTION (High-Res Picture & Map)
========================================================= */
.venue-section {
  background: var(--emerald-deep);
  padding: 0 0 65px;
  text-align: center;
  border-bottom: 1px solid rgba(230, 200, 117, 0.2);
}
.venue-header {
  padding: 60px 24px 28px;
  position: relative;
  z-index: 2;
}
.venue-header .section-tag {
  color: var(--gold-light);
  margin-bottom: 8px;
}
.venue-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--paper-cream);
}
.venue-photo-wrap {
  position: relative;
  width: min(440px, 90vw);
  margin: 0 auto;
  border: 1px solid var(--gold-light);
  padding: 10px;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--emerald-mid), var(--emerald-deep));
  border-radius: 8px;
}
.venue-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(230, 200, 117, 0.5);
  border-radius: 6px;
  pointer-events: none;
}
.venue-photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.5s ease;
}
.venue-photo:hover {
  transform: scale(1.02);
}
.venue-cap {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.venue-details {
  padding: 28px 24px 0;
  position: relative;
  z-index: 2;
}
.venue-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--paper-cream);
  margin-bottom: 6px;
}
.venue-address {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(250, 245, 234, 0.75);
  margin-bottom: 24px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  color: var(--paper-cream);
  background: rgba(201, 155, 65, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}
.map-btn:hover {
  background: var(--gold-foil);
  color: #2b1d06;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* =========================================================
   7. BLESSINGS & PRAYERS
========================================================= */
.blessings-section {
  background: var(--paper-cream);
  padding: 65px 24px 45px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 155, 65, 0.25);
}
.blessings-section .section-tag {
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.blessings-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink-primary);
  margin-bottom: 14px;
}
.blessings-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 400px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.blessing-grid {
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.blessing-card {
  background: var(--paper-card);
  border: 1px solid rgba(201, 155, 65, 0.3);
  border-radius: 6px;
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.blessing-card:hover {
  transform: translateY(-3px);
}
.blessing-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}
.blessing-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-primary);
  margin-bottom: 6px;
}
.blessing-p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* =========================================================
   8. HOSTS & RSVP CONTACT
========================================================= */
.contact-section {
  background: var(--paper-cream);
  padding: 50px 24px 20px;
  text-align: center;
}
.contact-section .section-tag {
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink-primary);
  margin-bottom: 28px;
}
.contact-grid {
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-card {
  background: var(--paper-card);
  border: 1px solid rgba(201, 155, 65, 0.3);
  border-radius: 6px;
  padding: 20px 14px;
  box-shadow: var(--shadow-sm);
}
.contact-mark {
  width: 20px;
  height: 1px;
  background: var(--gold-primary);
  margin: 0 auto 12px;
}
.contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-primary);
  margin-bottom: 10px;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.contact-phone, .contact-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.contact-phone {
  border: 1px solid rgba(23, 59, 44, 0.4);
  color: var(--emerald-mid);
  background: rgba(23, 59, 44, 0.05);
}
.contact-phone:hover {
  background: var(--emerald-mid);
  color: var(--paper-cream);
}
.contact-wa {
  border: 1px solid #25D366;
  color: #128C7E;
  background: rgba(37, 211, 102, 0.1);
}
.contact-wa:hover {
  background: #25D366;
  color: #fff;
}

/* =========================================================
   9. THANK YOU / FOOTER
========================================================= */
.thankyou-section {
  background: linear-gradient(180deg, var(--emerald-mid) 0%, var(--emerald-deep) 100%);
  padding: 70px 24px 60px;
  text-align: center;
}
.ty-ornament {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.ty-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--paper-cream);
  margin-bottom: 6px;
}
.ty-amp {
  font-family: 'Great Vibes', cursive;
  color: var(--gold-light);
  font-size: 0.75em;
  margin: 0 6px;
}
.ty-rule {
  width: 40px;
  height: 1px;
  background: var(--gold-light);
  margin: 20px auto;
}
.ty-msg {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(250, 245, 234, 0.88);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}
.ty-ameen {
  margin-top: 36px;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.ty-credit {
  margin-top: 34px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(230, 200, 117, 0.45);
}

/* =========================================================
   10. RSVP MODAL
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--paper-card);
  border: 1.5px solid var(--gold-primary);
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink-primary);
  text-align: center;
  margin-bottom: 6px;
}
.modal-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  text-align: center;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: 4px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(201, 155, 65, 0.4);
  border-radius: 4px;
  background: #fff;
  font-family: 'Marcellus', serif;
  font-size: 0.95rem;
  color: var(--ink-primary);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 6px rgba(201, 155, 65, 0.3);
}
.btn-submit-rsvp {
  width: 100%;
  padding: 12px;
  background: var(--gold-foil);
  color: #2b1d06;
  border: none;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  margin-top: 10px;
}

/* =========================================================
   RESPONSIVENESS
========================================================= */
@media (max-width: 480px) {
  .hero { padding: 50px 16px 40px; }
  .greeting-card { padding: 26px 16px; }
  .cd-row { gap: 8px; }
  .cd-num { font-size: 1.7rem; }
  .cd-label { font-size: 0.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .blessing-grid { grid-template-columns: 1fr; }
  .floating-rsvp-btn { bottom: 16px; left: 16px; padding: 8px 16px; font-size: 0.78rem; }
  .audio-ctrl-btn { bottom: 16px; right: 16px; width: 44px; height: 44px; }
  .stage-modal-container { max-height: 96vh; }
  .stage-visual-viewport { height: 230px; }
  .stage-couple-art { width: 280px; height: 190px; }
}
