/* =========================================================
   BENGALI WEDDING — styles.css  (Awwwards-Level Redesign)
   Subhadeep & Monisha | 31 January 2027
   ========================================================= */

/* ── 1. CSS Custom Properties ───────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');


:root {
  /* Core palette */
  --crimson:        #8B1A2B;
  --crimson-deep:   #4A0E18;
  --crimson-dark:   #1A0608;
  --saffron:        #E8863B;
  --gold:           #C9952A;
  --gold-light:     #E8C56A;
  --gold-pale:      #F5E6B8;
  --gold-muted:     #8C6A20;
  --ivory:          #FBF5E6;
  --ivory-mid:      #F3E9D2;
  --ivory-warm:     #ECD9B8;
  --jade:           #2C5F4A;
  --indigo:         #0D1B2A;
  --indigo-mid:     #152332;
  --white:          #FFFFFF;
  --text-dark:      #1A0608;
  --text-mid:       #3D1318;
  --text-muted:     #7A5030;

  /* Typography */
  --font-serif:     'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
  --font-display:   'Libre Baskerville', Georgia, serif;
  --font-sans:      'Nunito Sans', 'DM Sans', system-ui, sans-serif;
  --font-para:      'Nunito Sans', 'DM Sans', system-ui, sans-serif;
  --font-bengali:   'Noto Serif Bengali', 'Cormorant Garamond', serif;

  /* Spacing */
  --section-pad:    100px 0;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      40px;

  /* Effects */
  --shadow-gold:    0 8px 40px rgba(201,149,42,0.22);
  --shadow-deep:    0 16px 60px rgba(26,6,8,0.35);
  --shadow-crimson: 0 8px 40px rgba(139,26,43,0.30);
  --glow-gold:      0 0 30px rgba(201,149,42,0.4), 0 0 60px rgba(201,149,42,0.15);
  --transition:     0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--crimson-dark);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--crimson-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

body {
  font-family: var(--font-para);
  background: var(--ivory);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

p {
  font-family: var(--font-para);
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
} */

.text-center { text-align: center; }
.position-relative { position: relative; }
.mt-2 { margin-top: 12px; }

/* ── 3. Custom Cursor ────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201,149,42,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
  width: 14px; height: 14px;
  background: var(--crimson);
}
body.cursor-hover .cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(139,26,43,0.5);
}

/* ── 4. Loading Screen ───────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--crimson-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.loader-mandala {
  width: 160px;
  height: 160px;
  animation: mandalaRotate 8s linear infinite;
}

.loader-mandala .ring-1 { animation: ringRotate 12s linear infinite; transform-origin: 100px 100px; }
.loader-mandala .ring-2 { animation: ringRotate 9s linear infinite reverse; transform-origin: 100px 100px; }
.loader-mandala .ring-3 { animation: ringRotate 6s linear infinite; transform-origin: 100px 100px; }
.loader-mandala .ring-4 { animation: ringPulse 2s ease-in-out infinite; transform-origin: 100px 100px; }

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.95); }
}

.loader-names {
  font-family: var(--font-serif);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.loader-name-groom { color: var(--gold-light); animation: nameReveal 1s ease 0.3s both; }
.loader-name-bride  { color: var(--gold-light); animation: nameReveal 1s ease 0.7s both; }
.loader-and {
  color: var(--crimson);
  font-size: 0.6em;
  font-style: italic;
  animation: nameReveal 1s ease 0.5s both;
}

@keyframes nameReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loader-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,149,42,0.7);
  animation: nameReveal 1s ease 0.9s both;
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(201,149,42,0.2);
  border-radius: 2px;
  overflow: hidden;
  animation: nameReveal 0.5s ease 1s both;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  border-radius: 2px;
  animation: loadProgress 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes loadProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── 5. Marquee Ribbon ───────────────────────────────────── */
.marquee-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--crimson-deep);
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,149,42,0.3);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  font-family: var(--font-bengali);
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.marquee-dot {
  color: var(--gold);
  font-size: 0.6rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 6. Floating Nav ─────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), top var(--transition);
}

.site-nav.scrolled {
  background: rgba(26,6,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(201,149,42,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  cursor: none;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.nav-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,149,42,0.65);
  margin-top: 2px;
}

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

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(245,230,184,0.8);
  padding: 8px 16px;
  border-radius: 50px;
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: none;
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(201,149,42,0.12);
}

.nav-link.nav-cta {
  background: var(--crimson);
  color: var(--gold-pale);
  border: 1px solid rgba(201,149,42,0.4);
}

.nav-link.nav-cta:hover {
  background: var(--crimson-deep);
  color: var(--gold-light);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ── 7. Typography ───────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-family: var(--font-bengali);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--gold-pale); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--crimson-deep);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--ivory); }

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
  max-width: 300px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted));
}
.ornament-line:last-child { background: linear-gradient(90deg, var(--gold-muted), transparent); }
.ornament-line.gold { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.ornament-line.gold:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }

.ornament-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.section-ornament.gold .ornament-icon {
  color: var(--gold-light);
}

/* ── 8. Reveal Animations ───────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

/* ── 9. HERO SECTION ─────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,6,8,0.70) 0%,
    rgba(26,6,8,0.58) 35%,
    rgba(26,6,8,0.82) 75%,
    rgba(26,6,8,0.96) 100%
  );
}

/* Floating petals */
.petals-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.petal {
  position: absolute;
  font-size: clamp(1rem, 2vw, 1.6rem);
  animation: petalFall linear infinite;
  opacity: 0;
}

.petal-1 { left: 8%;  animation-duration: 12s; animation-delay: 0s;    font-size: 1.2rem; }
.petal-2 { left: 18%; animation-duration: 16s; animation-delay: 2s;    font-size: 1rem;   }
.petal-3 { left: 28%; animation-duration: 14s; animation-delay: 5s;    font-size: 1.4rem; }
.petal-4 { left: 42%; animation-duration: 18s; animation-delay: 1s;    font-size: 1rem;   }
.petal-5 { left: 55%; animation-duration: 13s; animation-delay: 7s;    font-size: 1.3rem; }
.petal-6 { left: 68%; animation-duration: 17s; animation-delay: 3s;    font-size: 1.1rem; }
.petal-7 { left: 78%; animation-duration: 15s; animation-delay: 9s;    font-size: 1.4rem; }
.petal-8 { left: 90%; animation-duration: 11s; animation-delay: 4s;    font-size: 1rem;   }

@keyframes petalFall {
  0%   { transform: translateY(-80px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(80px, 11vh, 120px) 24px 30px;
  max-width: 960px;
  margin: 0 auto;
  animation: heroReveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-bengali);
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.28em;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(201, 149, 42, 0.6);
}

.hero-title {
  font-family: var(--font-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.hero-name-line {
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(201, 149, 42, 0.45));
}

.groom-line {
  background: linear-gradient(135deg, #FFFDF7 0%, #F3D079 45%, #D49E35 80%, #FFFDF7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Tangerine", var(--font-serif), cursive;
  font-weight: 700;
}

.bride-line {
  background: linear-gradient(135deg, #F3D079 0%, #FFFDF7 50%, #F3D079 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Tangerine", var(--font-serif), cursive;
  font-weight: 700;
}

.hero-weds-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.32em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.weds-ornament { font-style: normal; font-size: 0.8em; color: var(--gold-light); }

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.hero-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
  isolation: isolate;
  background: rgba(16, 4, 8, 0.82);
  border: 1px solid rgba(232, 197, 106, 0.55);
  border-radius: 60px;
  padding: 12px 32px;
  margin-bottom: 20px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.65), inset 0 1px 0 rgba(232, 197, 106, 0.35);
  overflow: hidden;
}

/* Blur layer via pseudo-element — immune to parent transform stacking context */
.hero-date-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  z-index: -1;
}

.hero-date-day {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-date-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(201,149,42,0.5);
}

.hero-date-right {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-location i {
  color: var(--gold-light);
  font-size: 0.95rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* Temple portal */
.temple-portal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 95vw);
  height: min(460px, 48vh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.temple-left-half,
.temple-right-half {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.temple-left-half  { left: 0; justify-content: flex-end; transform-origin: right bottom; }
.temple-right-half { right: 0; justify-content: flex-start; transform-origin: left bottom; }

.temple-svg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 30px rgba(201,149,42,0.3)); }
.mirrored   { transform: scaleX(-1); }

.golden-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 360px;
  background: radial-gradient(ellipse at bottom center, rgba(201,149,42,0.5) 0%, rgba(201,149,42,0.2) 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: none;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.scroll-cue-text {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
  text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}

.scroll-cue-arrow {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,149,42,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  background: rgba(26,6,8,0.4);
  backdrop-filter: blur(8px);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(8px); }
}

/* ── 10. INVITATION SECTION ──────────────────────────────── */
.invitation-section {
  position: relative;
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-mid) 100%);
  overflow: visible;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,149,42,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section-header { margin-bottom: 24px; }

.ganesha-block { margin-bottom: 56px; }

.ganesha-circle {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 20px rgba(201,149,42,0.3));
}

.ganesha-text {
  font-family: var(--font-bengali);
  font-size: 1.25rem;
  color: var(--crimson-deep);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.ganesha-subtext {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 500;
}

/* ============================================================
   Bespoke Royal Wedding Invitation Suite
   Authentic Couture Bengali Letterpress & Gatefold Doors
   ============================================================ */
.inv-pin-wrapper {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.inv-royal-card-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  perspective: 1600px;
  transform-style: preserve-3d;
  box-shadow: 0 30px 90px rgba(26, 6, 8, 0.45), 0 0 50px rgba(201, 149, 42, 0.18);
}

/* ── Bengali Wedding Paan Leaves (Shubho Drishti Ritual) ──── */
.inv-pan-leaves-layer {
  position: absolute;
  inset: -16px -12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: opacity, transform;
  overflow: visible;
  border-radius: var(--radius-lg);
}

.pan-leaf-wrapper {
  position: absolute;
  top: -2%;
  bottom: -2%;
  width: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  cursor: pointer;
}

.pan-leaf-left {
  left: -5%;
  transform-origin: 15% 15%;
  z-index: 10;
}

.pan-leaf-right {
  right: -5%;
  transform-origin: 85% 15%;
  z-index: 12;
}

.pan-leaf-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pan-leaf-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.7));
  transition: filter 0.4s ease;
}

.pan-leaf-wrapper:hover .pan-leaf-svg {
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
}

.pan-leaf-heraldry {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  gap: 6px;
  pointer-events: none;
}

.leaf-crest-insignia {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.85);
  background: radial-gradient(circle, rgba(20, 68, 30, 0.95) 0%, rgba(8, 28, 12, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(212, 175, 55, 0.4);
  margin-bottom: 4px;
}

.crest-sanskrit {
  font-family: var(--font-bengali);
  font-size: 1.45rem;
  color: var(--gold-light);
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.8));
}

.leaf-subheading {
  font-family: var(--font-bengali);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.leaf-patra-name,
.door-patra-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-style: italic;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  margin: 2px 0 0;
}

.leaf-flourish-divider,
.door-flourish-divider {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 6px 0;
}

.leaf-role-sub,
.door-role-sub {
  font-family: var(--font-bengali);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(245, 230, 184, 0.85);
  letter-spacing: 0.1em;
}

.seal-bengali-shubho {
  font-family: var(--font-bengali);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* ── Authentic Artisanal Pressed Wax Seal ─────────────────── */
.inv-royal-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: filter 0.3s ease;
  box-shadow: none !important;
}

.inv-royal-seal:hover {
  filter: brightness(1.12);
}

.inv-royal-seal:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.seal-cue i {
  animation: sealCuePulse 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes sealCuePulse {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(3px); opacity: 1; }
}

.inv-royal-doors-layer.is-open {
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.inv-reopen-bar {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.inv-reopen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(139, 26, 43, 0.08);
  border: 1px solid rgba(201, 149, 42, 0.45);
  color: var(--crimson-deep);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inv-reopen-btn:hover {
  background: var(--crimson-deep);
  color: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(74, 14, 24, 0.2);
}

.seal-wax-rim {
  position: absolute;
  inset: 0;
  border-radius: 48% 52% 49% 51% / 51% 48% 52% 49%;
  background: radial-gradient(circle at 38% 34%, #c92437 0%, #991223 45%, #660a16 75%, #3e040c 100%);
  box-shadow: 
    0 6px 14px rgba(0, 0, 0, 0.25),
    inset 0 2px 6px rgba(255, 255, 255, 0.35),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.seal-wax-body {
  position: relative;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #8a101f 0%, #5e0814 60%, #3a040b 100%);
  box-shadow: 
    inset 0 3px 10px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.seal-deboss-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.seal-sanskrit-om {
  font-family: var(--font-bengali);
  font-size: 1.15rem;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.25);
}

.seal-monogram {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-pale);
  line-height: 1.1;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.2);
}

.seal-caption {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(245, 230, 184, 0.8);
  text-transform: uppercase;
}

.seal-cue {
  font-family: var(--font-sans);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  opacity: 0.9;
}

/* ── Inner Invitation Card Content (Archival Stationery) ───── */
.inv-card {
  margin: 0 auto;
  position: relative;
}

.inv-card-inner {
  position: relative;
  padding: 56px 40px 48px;
  background: #FDFBF7;
  background-image: 
    radial-gradient(ellipse at 50% 0%, #FFFFFF 0%, #FBF7EE 55%, #F4EBDD 100%);
  border: 1.5px solid rgba(201, 149, 42, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 30px 100px rgba(26, 6, 8, 0.25),
    0 0 50px rgba(201, 149, 42, 0.12),
    inset 0 0 80px rgba(201, 149, 42, 0.04);
  overflow: hidden;
  will-change: transform, opacity;
}

/* Subtle archival cotton paper grain */
.inv-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(139, 26, 43, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* Fine Double Hairline Deckle Border */
.inv-deckle-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 149, 42, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow: inset 0 0 0 4px rgba(253, 251, 247, 0.9), inset 0 0 0 5px rgba(201, 149, 42, 0.2);
  pointer-events: none;
}

/* Refined French Corner Filigrees */
.inv-corner-flourish {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(201, 149, 42, 0.55);
  border-style: solid;
  pointer-events: none;
}

.inv-corner-flourish.tl { top: 22px; left: 22px; border-width: 2px 0 0 2px; }
.inv-corner-flourish.tr { top: 22px; right: 22px; border-width: 2px 2px 0 0; }
.inv-corner-flourish.bl { bottom: 22px; left: 22px; border-width: 0 0 2px 2px; }
.inv-corner-flourish.br { bottom: 22px; right: 22px; border-width: 0 2px 2px 0; }

/* Sacred Header Block */
.inv-sacred-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 32px;
}

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

.mantra-leaf {
  font-size: 0.95rem;
  color: var(--gold);
  line-height: 1;
}

.sacred-mantra-title {
  font-family: var(--font-bengali);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #6E0E1F;
  letter-spacing: 0.16em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(201, 149, 42, 0.2);
}

.inv-blessing-intro {
  font-family: var(--font-para);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-style: italic;
  color: #45151D;
  margin-bottom: 4px;
  font-weight: 500;
}

.inv-formal-salutation {
  font-family: var(--font-para);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0;
}

/* ── Editorial Archival Cards (Human-designed & handcrafted) ── */
.inv-card-3d {
  position: relative;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(201, 149, 42, 0.25);
  box-shadow: 0 10px 32px rgba(74, 14, 24, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.inv-card-3d:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 149, 42, 0.65);
  box-shadow: 0 20px 48px rgba(74, 14, 24, 0.12), 0 0 25px rgba(201, 149, 42, 0.15);
}

.person-card-matting {
  width: 100%;
  padding: 32px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Elegant Role Label */
.inv-role-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px;
  background: rgba(201, 149, 42, 0.08);
  border: 1px solid rgba(201, 149, 42, 0.35);
  border-radius: 50px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.inv-card-3d:hover .inv-role-label {
  background: rgba(139, 26, 43, 0.08);
  border-color: rgba(139, 26, 43, 0.3);
}

.role-bn {
  font-family: var(--font-bengali);
  font-size: 0.88rem;
  font-weight: 700;
  color: #7A1224;
}

.role-separator {
  color: var(--gold);
  font-size: 0.75rem;
}

.role-en {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-muted);
}

/* Royal Jharokha / Arch Portrait Frame (No spinning dashes!) */
.inv-portrait-frame {
  position: relative;
  width: 172px;
  height: 215px;
  margin-bottom: 20px;
}

.portrait-arch {
  width: 100%;
  height: 100%;
  border-radius: 120px 120px 14px 14px;
  border: 1.5px solid rgba(201, 149, 42, 0.5);
  padding: 5px;
  background: linear-gradient(180deg, rgba(201, 149, 42, 0.14) 0%, rgba(255, 255, 255, 0.95) 100%);
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(201, 149, 42, 0.15), 0 8px 24px rgba(74, 14, 24, 0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.inv-card-3d:hover .portrait-arch {
  border-color: var(--gold);
  box-shadow: inset 0 0 20px rgba(201, 149, 42, 0.25), 0 12px 30px rgba(74, 14, 24, 0.14);
}

.inv-person-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 112px 112px 10px 10px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.inv-person-img.mirrored-img {
  transform: scaleX(-1);
}

.inv-card-3d:hover .inv-person-img {
  transform: scale(1.04);
}

.inv-card-3d:hover .inv-person-img.mirrored-img {
  transform: scale(1.04) scaleX(-1);
}

/* Name Typography */
.inv-person-name {
  font-family: var(--font-serif);
  font-size: clamp(1.48rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: #380710;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.inv-card-3d:hover .inv-person-name {
  color: #7A1224;
}

/* Genuine Lineage Prose (Human editorial phrasing) */
.inv-lineage-prose {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(201, 149, 42, 0.04);
  border: 1px solid rgba(201, 149, 42, 0.16);
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.inv-card-3d:hover .inv-lineage-prose {
  background: rgba(201, 149, 42, 0.08);
  border-color: rgba(201, 149, 42, 0.3);
}

.lineage-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.lineage-prefix {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-muted);
  line-height: 1.2;
}

.lineage-names {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: #26050B;
  line-height: 1.35;
}

/* Native Place Tag */
.inv-native-place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 16px;
  background: rgba(139, 26, 43, 0.04);
  border: 1px solid rgba(139, 26, 43, 0.16);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #610E1B;
  transition: all 0.3s ease;
}

.inv-native-place i {
  color: #8B1A2B;
  font-size: 0.8rem;
}

.inv-card-3d:hover .inv-native-place {
  background: rgba(139, 26, 43, 0.08);
  border-color: rgba(139, 26, 43, 0.28);
  color: #420811;
}

/* ── Calligraphic Union Divider ──────────────────────────── */
.inv-union-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  gap: 14px;
}

.union-filigree-stem {
  width: 1px;
  flex: 1;
  min-height: 36px;
  background: linear-gradient(180deg, transparent, rgba(201, 149, 42, 0.7), transparent);
}

.union-emblem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-radius: 40px;
  border: 1px solid rgba(201, 149, 42, 0.4);
  background: radial-gradient(circle at center, rgba(253, 251, 247, 0.95) 0%, rgba(245, 237, 222, 0.9) 100%);
  box-shadow: 0 4px 16px rgba(74, 14, 24, 0.06);
  width: 82px;
}

.union-bengali-phrase {
  font-family: var(--font-bengali);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-muted);
  line-height: 1.1;
  white-space: nowrap;
}

.union-calligraphy {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 600;
  color: #7A1224;
  line-height: 1.1;
  margin: 3px 0;
}

.union-knot {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .inv-union-divider {
    flex-direction: row;
    min-height: auto;
    width: 100%;
    margin: 12px 0;
  }
  .union-filigree-stem {
    width: auto;
    height: 1px;
    min-height: auto;
    background: linear-gradient(90deg, transparent, rgba(201, 149, 42, 0.7), transparent);
  }
}

/* ── Traditional Editorial Blessing Cartouche ────────────── */
.inv-card-footer {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.inv-blessing-cartouche {
  text-align: center;
  padding: 24px 30px;
  background: linear-gradient(135deg, rgba(201, 149, 42, 0.04) 0%, rgba(139, 26, 43, 0.03) 50%, rgba(201, 149, 42, 0.04) 100%);
  border: 1px solid rgba(201, 149, 42, 0.28);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 20px rgba(201, 149, 42, 0.03);
}

.cartouche-motif-ornament {
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.inv-bengali-verse {
  font-family: var(--font-bengali);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #6E0E1F;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.inv-english-salute {
  font-family: var(--font-para);
  font-size: 0.98rem;
  font-style: italic;
  color: #45151D;
  margin-bottom: 0;
}

/* ── 11. REVEAL THE DATE: ROYAL SCRATCH COUPON CARD ──────── */
.reveal-date-section {
  padding: var(--section-pad);
  background: linear-gradient(165deg, #0e0510 0%, #1c0a1a 45%, #2a0b1c 80%, #15040d 100%);
  position: relative;
  overflow: hidden;
}

.reveal-date-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 149, 42, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.scratch-instruction-text {
  font-family: var(--font-para);
  font-size: 0.96rem;
  color: rgba(245, 230, 184, 0.85);
  margin-top: -6px;
  margin-bottom: 24px;
}

/* Coupon Wrap & Authentic Ticket Body */
.scratch-coupon-wrap {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

.scratch-ticket {
  position: relative;
  background: linear-gradient(145deg, #25060e 0%, #3a0916 45%, #1d0309 100%);
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.65),
    0 0 50px rgba(201, 149, 42, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Authentic Ticket Notches on Left and Right */
.ticket-notch {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #1c0a1a;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 2px solid rgba(212, 175, 55, 0.55);
}

.ticket-notch.notch-left {
  left: -14px;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.6);
}

.ticket-notch.notch-right {
  right: -14px;
  box-shadow: inset 4px 0 8px rgba(0, 0, 0, 0.6);
}

.ticket-stitch-line {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  pointer-events: none;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.ticket-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  background: rgba(201, 149, 42, 0.15);
  border: 1px solid rgba(201, 149, 42, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
}

.ticket-sanskrit {
  font-family: var(--font-bengali);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-pale);
  letter-spacing: 0.1em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Scratch Stage: Hosts the secret underneath and the canvas on top */
.scratch-stage {
  position: relative;
  width: 100%;
  min-height: 310px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #120306;
}

/* Hidden Date Underneath */
.scratch-under-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  background: radial-gradient(ellipse at center, #26060f 0%, #130207 100%);
  user-select: none;
}

.scratch-stamp-seal {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(201, 149, 42, 0.55);
  border: 1.5px dashed rgba(201, 149, 42, 0.55);
  padding: 3px 8px;
  border-radius: 4px;
  transform: rotate(8deg);
  pointer-events: none;
}

.scratch-muhurto-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 149, 42, 0.15);
  border: 1px solid rgba(201, 149, 42, 0.4);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

/* Interactive Canvas Layer */
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: crosshair;
  touch-action: none; /* Prevents window scrolling while scratching */
  transition: opacity 0.5s ease;
}

.scratch-canvas.revealed {
  pointer-events: none;
  opacity: 0;
}

/* Scratch Coin / Finger Cue */
.scratch-cue-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scratch-cue-overlay.dismissed {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.scratch-coin-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE28A 0%, #D4A840 50%, #8A6818 100%);
  border: 2px solid #FFF1B8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b2005;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(255, 226, 138, 0.7), 0 8px 16px rgba(0, 0, 0, 0.5);
  animation: scratchCoinBob 2s ease-in-out infinite;
}

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

.scratch-cue-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(212, 175, 55, 0.6);
  background: rgba(26, 6, 8, 0.7);
  padding: 5px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.scratch-sparkle-dot {
  color: var(--gold-light);
  font-size: 1.1rem;
  animation: scratchSparkleSpin 2.5s linear infinite;
}

@keyframes scratchSparkleSpin {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
  100% { transform: scale(0.8) rotate(360deg); opacity: 0.7; }
}

/* Scratch Dust Canvas Particles */
.scratch-dust-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8;
  animation: dustFade 0.6s ease-out forwards;
}

@keyframes dustFade {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* Footer Bar: Progress + Buttons */
.scratch-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.scratch-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.scratch-progress-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.scratch-progress-label strong {
  color: var(--gold-light);
}

.scratch-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
}

.scratch-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-muted) 0%, var(--gold-light) 100%);
  border-radius: 10px;
  transition: width 0.15s ease-out;
}

.scratch-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-quick-scratch,
.btn-reset-scratch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  color: var(--gold-pale);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-quick-scratch:hover,
.btn-reset-scratch:hover {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, var(--crimson) 100%);
  color: #FFFFFF;
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-reset-scratch.hidden {
  display: none !important;
}

/* Confetti Shower */
.scratch-confetti-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 14px;
  opacity: 0;
  animation: confettiFall 2.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(-30px) rotate(0deg) scale(0.8); opacity: 1; }
  100% { transform: translateY(350px) rotate(720deg) scale(0.4); opacity: 0; }
}

.reveal-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.reveal-particles .particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFly 1.5s ease-out forwards;
}

@keyframes particleFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
}

.reveal-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 12px;
  position: relative; z-index: 2;
}

.reveal-date-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
  position: relative; z-index: 2;
}

.rd-day   { font-family: var(--font-sans);  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-muted); }
.rd-num   { font-family: var(--font-serif); font-size: clamp(4.2rem, 12vw, 6.2rem); font-weight: 700; color: var(--gold-light); line-height: 1; text-shadow: var(--glow-gold); }
.rd-month { font-family: var(--font-serif); font-size: 1.8rem; font-style: italic; color: var(--ivory); }
.rd-year  { font-family: var(--font-sans);  font-size: 0.78rem; letter-spacing: 0.28em; color: var(--gold-muted); }

.reveal-loc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(245,230,184,0.7);
  position: relative; z-index: 2;
}
.reveal-loc i { color: var(--gold); }

@media (max-width: 576px) {
  .scratch-ticket { padding: 22px 16px 18px; }
  .scratch-stage { min-height: 270px; }
  .scratch-footer-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .scratch-btn-group { justify-content: center; }
  .rd-num { font-size: 3.8rem; }
  .rd-month { font-size: 1.45rem; }
}

/* ── 12. CELEBRATIONS ────────────────────────────────────── */
.celebrations-section {
  background: linear-gradient(160deg, var(--crimson-dark) 0%, #2A0810 40%, var(--crimson) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.celebrations-bg-deco {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23C9952A' stroke-width='0.5' opacity='0.1'/%3E%3Cellipse cx='50' cy='50' rx='28' ry='40' fill='none' stroke='%23C9952A' stroke-width='0.4' opacity='0.08' transform='rotate(45 50 50)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.celebrations-header {
  padding: 0 20px 60px;
  position: relative; z-index: 2;
}

.celebrations-subtitle {
  font-family: var(--font-para);
  font-size: 0.95rem;
  color: rgba(245,230,184,0.75);
  max-width: 540px;
  margin: 0 auto;
}

.cel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative; z-index: 2;
}

.cel-card {
  position: relative;
  background: rgba(255,253,240,0.06);
  border: 1px solid rgba(201,149,42,0.3);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.cel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,149,42,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,149,42,0.6);
  background: rgba(255,253,240,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.cel-featured {
  border-color: var(--gold);
  background: rgba(201,149,42,0.1);
}

.cel-featured-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold-muted), var(--gold), var(--gold-muted));
  color: var(--crimson-dark);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 24px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201,149,42,0.4);
}

.cel-card-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,149,42,0.12);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
}

.cel-card-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(201,149,42,0.5));
}

.cel-bengali {
  font-family: var(--font-bengali);
  font-size: 0.9rem;
  color: var(--gold-pale);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  opacity: 0.75;
}

.cel-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
  line-height: 1.15;
}

.cel-desc {
  font-size: 0.86rem;
  color: rgba(245,230,184,0.7);
  line-height: 1.75;
  margin-bottom: 24px;
}

.cel-meta { margin-bottom: 24px; }

.cel-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gold-pale);
  margin-bottom: 8px;
  line-height: 1.55;
}

.cel-meta-item i { color: var(--gold-light); margin-top: 3px; flex-shrink: 0; }

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,149,42,0.5);
  color: rgba(245,230,184,0.8);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: none;
}

.btn-map:hover {
  background: rgba(201,149,42,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-map-featured {
  background: rgba(201,149,42,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── 13. COUPLE'S STORY ──────────────────────────────────── */
.story-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-mid) 100%);
  position: relative;
  overflow: hidden;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 60px;
  position: relative;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-muted), transparent);
}

.story-step {
  display: flex;
  gap: 24px;
  padding: 20px 0;
}

.story-step-marker { flex-shrink: 0; position: relative; z-index: 2; }

.story-step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-deep));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  box-shadow: var(--shadow-crimson);
  transition: var(--transition);
}

.story-step:hover .story-step-icon {
  transform: scale(1.1);
  box-shadow: var(--glow-gold);
  border-color: var(--gold-light);
}

.story-step-content {
  padding: 14px 0;
}

.story-step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--crimson-deep);
  margin-bottom: 8px;
}

.story-step-content p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Swiper carousel */
.couple-swiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.story-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-slide-img {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(245,230,184,0.5);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.slide-placeholder i { font-size: 3rem; }

.story-slide-caption {
  padding: 20px 28px;
  background: var(--crimson-dark);
  text-align: center;
}

.story-slide-caption p {
  font-family: var(--font-para);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--gold-pale);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--gold) !important;
  background: rgba(26,6,8,0.7);
  width: 46px !important;
  height: 46px !important;
  border-radius: 50%;
  border: 1px solid rgba(201,149,42,0.4);
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 1rem !important; }

.swiper-pagination-bullet {
  background: var(--gold) !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 20px !important;
  border-radius: 4px !important;
}

/* ── 14. HASHTAG ─────────────────────────────────────────── */
.hashtag-section {
  padding: var(--section-pad);
  background: var(--ivory-warm);
  position: relative;
  overflow: hidden;
}

.hashtag-block {
  max-width: 600px;
  margin: 0 auto;
}

.hashtag-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hashtag-display i {
  font-size: 2rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hashtag-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--crimson-deep);
  letter-spacing: -0.01em;
}

.hashtag-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.65;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  color: var(--gold-pale);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
  box-shadow: var(--shadow-crimson);
}

.btn-copy:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(139,26,43,0.5);
}

.btn-copy.copied { background: linear-gradient(135deg, var(--jade) 0%, #1E4234 100%); }

.copy-feedback {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--jade);
  min-height: 1.4em;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(139,26,43,0.08);
  border: 1px solid rgba(139,26,43,0.2);
  font-size: 1.1rem;
  color: var(--crimson);
  transition: var(--transition);
  cursor: none;
}

.social-link:hover {
  background: var(--crimson);
  color: var(--gold-pale);
  border-color: var(--crimson);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-crimson);
}

/* ── 15. VIDEO ───────────────────────────────────────────── */
.video-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--ivory-mid) 0%, var(--ivory-warm) 100%);
}

.video-wrapper { max-width: 860px; margin: 0 auto; }

.video-frame {
  position: relative;
  padding: 20px;
  background: linear-gradient(145deg, #FFFDF7, var(--ivory-mid));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
}

.vf-corner {
  position: absolute;
  width: 36px; height: 36px;
  border-color: var(--gold-light);
  border-style: solid;
}
.vf-tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.vf-tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.vf-bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.vf-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* ── 16. COUNTDOWN ───────────────────────────────────────── */
.countdown-section {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
  background: var(--indigo-mid);
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  background: url("hero-bg.jpg") center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.countdown-deco {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(139,26,43,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-date-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,197,106,0.6);
  margin-bottom: 24px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cd-num {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: var(--glow-gold);
  background: rgba(26,6,8,0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,149,42,0.25);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  min-width: 110px;
  text-align: center;
}

.cd-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.cd-sep {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(201,149,42,0.4);
  line-height: 1;
  margin-bottom: 30px;
  align-self: flex-start;
  padding-top: 16px;
}

.cd-subtext {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245,230,184,0.55);
  margin-top: 16px;
}

/* ── 17. GUEST INFO ──────────────────────────────────────── */
.info-section {
  padding: var(--section-pad);
  background: var(--ivory);
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--ivory-warm);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,149,42,0.35);
}

.info-card:hover::before { opacity: 1; }

.info-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-crimson);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--crimson-deep);
  margin-bottom: 16px;
}

.info-content p {
  font-size: 0.86rem;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.7;
}

.contact-link {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--gold); }

/* ── 18. RSVP ────────────────────────────────────────────── */
.rsvp-section {
  padding: var(--section-pad);
  background: linear-gradient(160deg, var(--crimson-dark) 0%, #200810 50%, var(--crimson-deep) 100%);
  position: relative;
  overflow: hidden;
}

.rsvp-bg-deco {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9952A' stroke-width='0.4' opacity='0.08'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.rsvp-inner {
  max-width: 760px;
  margin: 0 auto;
}

.rsvp-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245,230,184,0.65);
  margin-top: -16px;
  margin-bottom: 40px;
}

.rsvp-form {
  background: rgba(26,6,8,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,149,42,0.25);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.req { color: var(--saffron); margin-left: 2px; }

.form-input {
  background: rgba(255,253,240,0.06);
  border: 1px solid rgba(201,149,42,0.25);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ivory);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-input::placeholder { color: rgba(245,230,184,0.3); }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.15);
}

.form-input.is-invalid { border-color: #E85050; }

.form-select option { background: var(--crimson-dark); color: var(--ivory); }

.form-textarea { resize: vertical; min-height: 100px; }

.field-error {
  font-size: 0.76rem;
  color: #E85050;
  display: none;
}

.form-input.is-invalid ~ .field-error { display: block; }

/* Food options */
.food-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.food-option {
  cursor: none;
}

.food-radio { display: none; }

.food-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(201,149,42,0.3);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(245,230,184,0.7);
  cursor: none;
  transition: var(--transition);
}

.food-radio:checked + .food-label {
  background: rgba(201,149,42,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
}

.food-label:hover {
  border-color: rgba(201,149,42,0.5);
  color: var(--gold-pale);
}

.rsvp-feedback {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  min-height: 0;
  transition: var(--transition);
  margin-bottom: 16px;
}

.rsvp-feedback.success {
  background: rgba(44,95,74,0.3);
  border: 1px solid rgba(44,95,74,0.5);
  color: #7AE8A8;
}

.rsvp-feedback.error {
  background: rgba(232,80,80,0.15);
  border: 1px solid rgba(232,80,80,0.4);
  color: #F8A0A0;
}

.form-submit-row { text-align: center; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--crimson-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(201,149,42,0.4);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201,149,42,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── 19. WISHES WALL ─────────────────────────────────────── */
.wishes-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-mid) 100%);
}

.wishes-form-wrap {
  max-width: 640px;
  margin: 0 auto 60px;
}

.wish-form {
  background: var(--white);
  border: 1px solid var(--ivory-warm);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 4px 30px rgba(26,6,8,0.08);
}

.wish-form-row { margin-bottom: 0; }

.btn-wish-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  color: var(--gold-pale);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
  box-shadow: var(--shadow-crimson);
  margin-top: 8px;
}

.btn-wish-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139,26,43,0.5);
}

.wish-error {
  font-size: 0.8rem;
  color: #E85050;
  margin-bottom: 8px;
  min-height: 1.2em;
}

.no-wishes-text {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  padding: 40px;
}

.wishes-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.wish-card {
  background: var(--white);
  border: 1px solid var(--ivory-warm);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.wish-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

.wish-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wish-heart { color: var(--crimson); font-size: 0.85rem; }

.wish-message {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 12px;
}

.wish-time {
  font-size: 0.72rem;
  color: var(--gold-muted);
  letter-spacing: 0.06em;
}

/* ── 20. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--crimson-dark);
  padding: 20px 0 40px;
  text-align: center;
  position: relative;
}

.footer-alpona {
  width: 100%;
  margin-bottom: 40px;
}

.footer-alpona svg { width: 100%; }

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main { margin-bottom: 28px; }

.footer-blessing {
  font-family: var(--font-bengali);
  font-size: 1.1rem;
  color: var(--gold-muted);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.footer-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--gold-muted);
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(245,230,184,0.5);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-social-link {
  border-color: rgba(201,149,42,0.3) !important;
  background: rgba(201,149,42,0.08) !important;
  color: var(--gold-muted) !important;
}

.footer-social-link:hover {
  background: rgba(201,149,42,0.2) !important;
  color: var(--gold-light) !important;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: rgba(201,149,42,0.35);
  letter-spacing: 0.06em;
}

/* ── 21. BACK TO TOP ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--crimson);
  border: 1px solid rgba(201,149,42,0.4);
  color: var(--gold-pale);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-crimson);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--crimson-deep);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,43,0.6);
}

/* ── 22. WISH FORM INPUTS ────────────────────────────────── */
.wish-form .form-input {
  background: var(--ivory);
  border: 1px solid var(--ivory-warm);
  color: var(--text-dark);
}

.wish-form .form-input::placeholder { color: var(--gold-muted); opacity: 0.6; }
.wish-form .form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.12);
}

.wish-form .form-label { color: var(--text-mid); }
.wish-form .req { color: var(--crimson); }

/* ── 23. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 70px 0; }

  .marquee-ribbon { height: 28px; }
  .site-nav { top: 28px; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,6,8,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 50;
  }

  .nav-menu.open { display: flex; }

  .nav-link {
    font-size: 1.2rem;
    padding: 14px 28px;
    color: var(--gold-pale) !important;
  }

  .nav-hamburger { display: flex; z-index: 60; }

  .nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-section { min-height: 100dvh; }
  .hero-content { padding: clamp(65px, 9vh, 90px) 16px 20px; }
  .hero-name-line { font-size: clamp(2.5rem, 10vw, 4.5rem); }

  .inv-couple-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .inv-card-3d {
    border-radius: 80px 80px 24px 24px;
    padding: 32px 20px 24px;
  }

  .inv-img-container {
    width: 170px;
    height: 200px;
  }

  .inv-weds-divider {
    flex-direction: row;
    justify-content: center;
    padding: 10px 0;
  }

  .weds-divider-line { height: 2px; min-height: unset; width: 70px; min-width: unset; flex: initial; }

  .inv-card-inner { padding: 36px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .rsvp-form { padding: 28px 20px; }

  .cd-num { font-size: 2.2rem; min-width: 80px; padding: 12px 16px; }
  .cd-sep { font-size: 2rem; padding-top: 12px; }

  .countdown-grid { gap: 8px; }

  .wishes-wall { grid-template-columns: 1fr; }

  .cel-grid { grid-template-columns: 1fr; }

  .story-slide-img { height: 260px; }

  /* Mobile adjustments for Invitation Card Paan Leaves & Seal */
  .inv-royal-seal {
    width: 104px;
    height: 104px;
  }
  .seal-wax-body {
    width: 88px;
    height: 88px;
    padding: 6px;
  }
  .seal-sanskrit-om { font-size: 1rem; }
  .seal-bengali-shubho { font-size: 0.62rem; }
  .seal-monogram { font-size: 0.76rem; }
  .seal-caption { font-size: 0.44rem; }
  .seal-cue { font-size: 0.42rem; }

  .pan-leaf-wrapper {
    width: 64%;
  }
  .pan-leaf-left {
    left: -8%;
  }
  .pan-leaf-right {
    right: -8%;
  }
  .pan-leaf-heraldry,
  .door-heraldry { padding: 16px 8px; gap: 3px; }
  .leaf-crest-insignia,
  .door-crest-insignia { width: 38px; height: 38px; margin-bottom: 2px; }
  .crest-sanskrit { font-size: 1.15rem; }
  .leaf-subheading,
  .door-subheading { font-size: 0.88rem; }
  .leaf-patra-name,
  .door-patra-name { font-size: 1.15rem; }
  .leaf-role-sub,
  .door-role-sub { font-size: 0.72rem; }
  .door-frame-border { inset: 8px; }
  .door-corner { width: 14px; height: 14px; }
  .door-corner.corner-tl { top: 12px; left: 12px; }
  .door-corner.corner-bl { bottom: 12px; left: 12px; }
  .door-corner.corner-tr { top: 12px; right: 12px; }
  .door-corner.corner-br { bottom: 12px; right: 12px; }
}

@media (max-width: 480px) {
  .hero-date-pill { flex-direction: column; gap: 6px; padding: 16px 24px; }
  .hero-date-num { font-size: 2.2rem; }

  .loader-names { flex-direction: column; gap: 8px; }

  .countdown-grid { flex-wrap: wrap; gap: 6px; }
  .cd-sep { display: none; }
  .cd-num { font-size: 2rem; min-width: 72px; }
}

/* ── 24. Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .petal { display: none; }
}

/* ── 25. Floating Wedding Music Player ─────────────────────── */
.music-floating-pill {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-pill-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 5, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(201, 149, 42, 0.55);
  border-radius: 50px;
  padding: 8px 18px 8px 12px;
  color: var(--gold-light);
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  font-family: var(--font-para);
  outline: none;
}

.music-pill-btn:hover {
  background: rgba(50, 8, 18, 0.96);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px rgba(201, 149, 42, 0.35);
}

.music-pill-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.music-vinyl-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #3a0812 30%, #150205 75%);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--gold-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.music-floating-pill.is-playing .music-vinyl-icon i {
  animation: vinylSpin 3.2s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dancing Equalizer Bars */
.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  width: 17px;
  flex-shrink: 0;
}

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

.music-floating-pill.is-playing .eq-bar.bar-1 {
  animation: eqBounce 0.85s ease-in-out infinite alternate;
}
.music-floating-pill.is-playing .eq-bar.bar-2 {
  animation: eqBounce 0.65s ease-in-out infinite 0.2s alternate;
}
.music-floating-pill.is-playing .eq-bar.bar-3 {
  animation: eqBounce 1.05s ease-in-out infinite 0.1s alternate;
}
.music-floating-pill.is-playing .eq-bar.bar-4 {
  animation: eqBounce 0.75s ease-in-out infinite 0.3s alternate;
}

@keyframes eqBounce {
  0% { height: 3px; }
  50% { height: 16px; }
  100% { height: 5px; }
}

.music-pill-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-pale);
  white-space: nowrap;
}

.music-pill-vol {
  font-size: 0.82rem;
  color: var(--gold);
  margin-left: 2px;
  display: flex;
  align-items: center;
}

/* Autoplay hint bubble */
.music-autoplay-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  background: rgba(28, 5, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 149, 42, 0.6);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-light);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  animation: tipFloat 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.music-autoplay-tip.hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

@keyframes tipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 576px) {
  .music-floating-pill {
    bottom: 20px;
    left: 16px;
  }
  .music-pill-btn {
    padding: 7px 14px 7px 10px;
    gap: 8px;
  }
  .music-pill-text {
    font-size: 0.76rem;
  }
}
