/* ==========================================================================
   SIDDU & ANANNYA — 3D CINEMATIC INDIAN WEDDING INVITATION
   Palette: Royal Maroon, Deep Burgundy, Antique Gold, Ivory White, Champagne
   Inspired by the Mangala Muhurtham luxury storytelling pattern
   ========================================================================== */

:root {
  --maroon-deep: #36040e;
  --maroon: #420612;
  --burgundy: #5a0b18;
  --crimson: #7a1324;
  --gold-light: #fbe7ad;
  --gold: #dea645;
  --gold-antique: #b8862f;
  --gold-dark: #7d5416;
  --ivory: #fffaf0;
  --champagne: #f7ecd6;
  --ink-dark: #4b1815;
  --ink-muted: #7a4b3a;
  --text-light: #fdf6e3;
  --text-cream: #fbecd0;

  --font-script: "Playfair Display", Georgia, serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-cinzel: "Playfair Display", Georgia, serif;
  --font-playfair: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
  --font-caps: "Poppins", system-ui, -apple-system, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-royal: 0 24px 60px rgba(20, 2, 6, 0.55);
  --shadow-gold: 0 0 32px rgba(222, 166, 69, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--maroon-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--maroon);
  /* Subtle royal damask brocade texture (no cheap generic gradients) */
  background-image:
    radial-gradient(circle at 50% 0%, rgba(122, 19, 36, 0.45), transparent 60%),
    url("data:image/svg+xml,%3Csvg width='84' height='84' viewBox='0 0 84 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23dea645' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M42 6 C54 18 54 30 42 42 C30 30 30 18 42 6 Z'/%3E%3Cpath d='M42 42 C54 54 54 66 42 78 C30 66 30 54 42 42 Z'/%3E%3Cpath d='M6 42 C18 30 30 30 42 42 C30 54 18 54 6 42 Z'/%3E%3Cpath d='M42 42 C54 30 66 30 78 42 C66 54 54 54 42 42 Z'/%3E%3Ccircle cx='42' cy='42' r='3' fill='%23dea645' fill-opacity='0.09'/%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.scroll-locked {
  overflow: hidden;
  height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   0. PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #5a0b18 0%, #2b030b 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.preloader__ring-wrap {
  position: relative;
  width: 118px;
  height: 118px;
}

.preloader__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.preloader__ring-bg {
  fill: none;
  stroke: rgba(222, 166, 69, 0.18);
  stroke-width: 4;
}

.preloader__ring-fill {
  fill: none;
  stroke: url(#goldRingGrad);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 0.15s ease-out;
}

.preloader__emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.preloader__heart {
  width: 34px;
  height: 34px;
  animation: pulseHeart 1.4s ease-in-out infinite;
}

.preloader__percent {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.preloader__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(251, 236, 208, 0.78);
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}

/* ==========================================================================
   GLOBAL 3D CANVAS & FALLING PETALS OVERLAY
   ========================================================================== */
#three-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.petal-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}

.rose-petal {
  position: absolute;
  top: -40px;
  width: 16px;
  height: 22px;
  border-radius: 75% 15% 75% 15%;
  background: radial-gradient(circle at 30% 30%, #f59aa8, #b81d38 75%);
  opacity: 0.65;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg) rotateX(0deg);
    opacity: 0;
  }
  10% { opacity: 0.7; }
  88% { opacity: 0.65; }
  100% {
    transform: translate3d(90px, 110vh, 0) rotate(320deg) rotateX(180deg);
    opacity: 0;
  }
}

/* ==========================================================================
   1. CINEMATIC OPENING — 3D TEMPLE DOOR GATE
   ========================================================================== */
.temple-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 35%, rgba(110, 15, 31, 0.78), rgba(32, 3, 9, 0.97) 75%);
  transition: opacity 0.9s ease, visibility 0.9s ease, transform 0.9s ease;
}

.temple-gate.is-dismissed {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
  pointer-events: none;
}

.temple-gate__arch-frame {
  position: relative;
  width: min(520px, 100%);
  height: min(690px, 92vh);
  border: 3px solid var(--gold);
  border-radius: 260px 260px 18px 18px;
  padding: 14px;
  background: linear-gradient(180deg, #520a17 0%, #2d030b 100%);
  box-shadow:
    0 0 0 2px rgba(251, 231, 173, 0.25) inset,
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 55px rgba(222, 166, 69, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.temple-gate__top-crest {
  text-align: center;
  padding: 8px 12px 6px;
  position: relative;
  z-index: 6;
}

.sacred-crest__svg {
  width: 96px;
  height: 54px;
  margin: 0 auto;
}

.temple-gate__mantra {
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: -6px;
}

/* Hanging Golden Temple Bells */
.temple-bell {
  position: absolute;
  top: 76px;
  z-index: 12;
  width: 44px;
  transform-origin: top center;
  animation: bellSwing 4.2s ease-in-out infinite;
  pointer-events: none;
}

.temple-bell--left { left: 22px; }
.temple-bell--right { right: 22px; animation-delay: -2.1s; }

.temple-bell__chain {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-antique));
}

.temple-bell__svg {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.temple-gate.doors-open .temple-bell {
  animation: bellRing 1.1s ease-in-out 2, bellSwing 4.2s ease-in-out 2.2s infinite;
}

@keyframes bellSwing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-15deg); }
}

/* 3D Door Stage */
.door-stage {
  position: relative;
  flex: 1;
  border-radius: 220px 220px 10px 10px;
  border: 2px solid rgba(222, 166, 69, 0.65);
  overflow: hidden;
  perspective: 1400px;
  background: radial-gradient(circle at 50% 42%, #6d1223 0%, #2c030b 85%);
}

/* Revealed Interior Message Behind Doors */
.gate-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 26px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s ease 0.55s, transform 1s ease 0.55s;
}

.temple-gate.doors-open .gate-reveal {
  opacity: 1;
  transform: scale(1);
}

.gate-reveal__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 231, 173, 0.28), transparent 70%);
  pointer-events: none;
}

.gate-reveal__script {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  color: var(--gold-light);
  margin-bottom: 10px;
  position: relative;
}

.gate-reveal__names {
  font-family: var(--font-cinzel);
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ivory);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
  position: relative;
}

.gate-reveal__heart {
  display: inline-block;
  margin: 0 6px;
  font-size: 0.8em;
  animation: pulseHeart 1.5s ease-in-out infinite;
}

.gate-reveal__invite {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-cream);
  max-width: 340px;
  margin-bottom: 16px;
  position: relative;
}

.gate-reveal__date-pill {
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(222, 166, 69, 0.5);
  background: rgba(54, 4, 14, 0.65);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  position: relative;
}

/* 3D Double Temple Doors */
.temple-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 4;
  transform-style: preserve-3d;
  transition: transform 1.65s cubic-bezier(0.22, 0.72, 0.16, 1);
}

.temple-door--left {
  left: 0;
  transform-origin: left center;
}

.temple-door--right {
  right: 0;
  transform-origin: right center;
}

.temple-gate.doors-open .temple-door--left {
  transform: rotateY(-112deg);
}

.temple-gate.doors-open .temple-door--right {
  transform: rotateY(112deg);
}

.temple-door__panel {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(251, 231, 173, 0.05) 0 2px,
      transparent 2px 18px
    ),
    linear-gradient(160deg, #6d1020 0%, #430612 52%, #290209 100%);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 14px;
}

.temple-door__carving {
  width: 78%;
  height: 26%;
  border: 1.5px solid rgba(222, 166, 69, 0.55);
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(222, 166, 69, 0.22), transparent 68%);
  box-shadow: inset 0 0 0 4px rgba(54, 4, 14, 0.7), inset 0 0 0 5px rgba(222, 166, 69, 0.35);
}

.temple-door__medallion {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: radial-gradient(circle, #7a1324, #3d0510);
  display: grid;
  place-items: center;
  font-family: var(--font-cinzel);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 0 22px rgba(222, 166, 69, 0.4);
}

.temple-door__handle {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff0c2, #dea645, #7d5416);
  transform: translateY(-50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.temple-door--left .temple-door__handle { right: 12px; }
.temple-door--right .temple-door__handle { left: 12px; }

/* Tap to Open Overlay on Closed Doors */
.door-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 20px 36px;
  background: linear-gradient(180deg, transparent 35%, rgba(28, 2, 8, 0.88) 90%);
  text-align: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.temple-gate.doors-open .door-tap-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.door-tap-overlay__eyebrow {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.door-tap-overlay__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 16px;
}

.door-tap-overlay__hint {
  font-size: 0.75rem;
  color: rgba(251, 236, 208, 0.72);
  margin-top: 10px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.royal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-cinzel);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.royal-btn:hover {
  transform: translateY(-2px);
}

.royal-btn--gold {
  background: linear-gradient(135deg, #fbe7ad 0%, #dea645 55%, #b8862f 100%);
  color: #36040e;
  box-shadow: 0 10px 28px rgba(222, 166, 69, 0.38);
}

.royal-btn--gold:hover {
  box-shadow: 0 14px 34px rgba(222, 166, 69, 0.55);
}

.royal-btn--maroon {
  background: linear-gradient(135deg, #7a1324, #4b0815);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(222, 166, 69, 0.3);
}

.royal-btn--maroon-solid {
  background: linear-gradient(135deg, #6e1021, #4a0714);
  color: var(--gold-light);
  border: 1px solid rgba(222, 166, 69, 0.55);
  box-shadow: 0 10px 24px rgba(74, 7, 20, 0.35);
}

.royal-btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  background: rgba(54, 4, 14, 0.45);
}

.royal-btn--ivory {
  background: var(--champagne);
  color: var(--ink-dark);
  border: 1px solid rgba(184, 134, 47, 0.45);
}

.royal-btn__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
  transform: translateX(-100%);
  animation: shimmerSweep 2.8s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(120%); }
}

/* ==========================================================================
   FLOATING NAVIGATION & MUSIC TOGGLE
   ========================================================================== */
.floating-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(54, 4, 14, 0.9);
  border: 1px solid rgba(222, 166, 69, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
  transition: transform 0.4s ease;
  max-width: 96vw;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.floating-nav::-webkit-scrollbar {
  display: none;
}

.floating-nav.is-visible {
  transform: translateX(-50%) translateY(0);
}

.floating-nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-light);
  padding: 4px 10px 4px 4px;
  border-right: 1px solid rgba(222, 166, 69, 0.35);
  white-space: nowrap;
}

.floating-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.floating-nav__link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-cream);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.floating-nav__link.active,
.floating-nav__link:hover {
  background: var(--gold);
  color: var(--maroon-deep);
}

.audio-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-dock__switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(54, 4, 14, 0.9);
  border: 1.5px solid rgba(222, 166, 69, 0.7);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.audio-dock__switch:hover {
  transform: translateY(-2px);
  background: rgba(90, 11, 24, 0.95);
}

.audio-dock__icon,
.audio-dock__cycle {
  color: var(--gold);
  font-size: 0.9rem;
}

.music-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e1021, #36040e);
  border: 1.5px solid var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), var(--shadow-gold);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

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

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

.music-toggle__bars i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: var(--gold-light);
  transition: height 0.2s ease;
}

.music-toggle.is-playing .music-toggle__bars i {
  animation: eqBounce 0.9s ease-in-out infinite;
}

.music-toggle.is-playing .music-toggle__bars i:nth-child(2) { animation-delay: 0.15s; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(3) { animation-delay: 0.3s; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(4) { animation-delay: 0.45s; }

@keyframes eqBounce {
  0%, 100% { height: 5px; }
  50% { height: 18px; }
}

/* ==========================================================================
   LAYOUT HELPERS & TORAN MARIGOLD DIVIDER
   ========================================================================== */
.invitation-main {
  position: relative;
  z-index: 10;
}

.section {
  position: relative;
  padding: 84px 20px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 780px;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.script-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.02rem;
  color: rgba(251, 236, 208, 0.82);
  max-width: 580px;
  margin: 10px auto 0;
}

/* Repeating Marigold, Jasmine & Mango-Leaf Toran Divider */
.toran-divider {
  width: 100%;
  height: 34px;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='34' viewBox='0 0 120 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6 Q30 22 60 6 Q90 22 120 6' fill='none' stroke='%23dea645' stroke-width='2'/%3E%3Cpath d='M24 14 C24 24 30 30 30 30 C30 30 36 24 36 14 Z' fill='%232e6f3e' stroke='%23dea645' stroke-width='0.7'/%3E%3Cpath d='M84 14 C84 24 90 30 90 30 C90 30 96 24 96 14 Z' fill='%232e6f3e' stroke='%23dea645' stroke-width='0.7'/%3E%3Ccircle cx='30' cy='14' r='6' fill='%23f59e0b' stroke='%23fbe7ad' stroke-width='1'/%3E%3Ccircle cx='90' cy='14' r='6' fill='%23f59e0b' stroke='%23fbe7ad' stroke-width='1'/%3E%3Ccircle cx='60' cy='8' r='4.5' fill='%23fffaf0' stroke='%23dea645' stroke-width='1'/%3E%3Ccircle cx='0' cy='8' r='4.5' fill='%23fffaf0' stroke='%23dea645' stroke-width='1'/%3E%3Ccircle cx='120' cy='8' r='4.5' fill='%23fffaf0' stroke='%23dea645' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.92;
}

/* ==========================================================================
   2. HERO SECTION — THE COUPLE
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-mandala-halo {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 620px;
  height: 620px;
  margin-top: -310px;
  border-radius: 50%;
  border: 1px dashed rgba(222, 166, 69, 0.22);
  background: radial-gradient(circle, rgba(222, 166, 69, 0.08), transparent 65%);
  animation: slowSpin 65s linear infinite;
  pointer-events: none;
}

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

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow-caps {
  font-family: var(--font-caps);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-names {
  font-family: var(--font-cinzel);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ivory);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-amp {
  display: inline-block;
  font-family: var(--font-playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  margin: 0 8px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--gold-light);
  margin: 10px 0 14px;
}

.hero-date-banner {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: var(--text-cream);
  margin-bottom: 18px;
}

.hero-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.hero-info-pill {
  background: rgba(54, 4, 14, 0.72);
  border: 1px solid rgba(222, 166, 69, 0.45);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-info-pill__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.hero-info-pill strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ivory);
}

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

/* Ornate Temple Arch Couple Frame */
.temple-arch-frame {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 220px 220px 22px 22px;
  border: 2.5px solid var(--gold);
  background: linear-gradient(180deg, rgba(122, 19, 36, 0.6), rgba(42, 4, 11, 0.92));
  box-shadow: var(--shadow-royal), var(--shadow-gold);
}

.temple-arch-frame__crest {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.temple-arch-frame__inner {
  border-radius: 205px 205px 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(251, 231, 173, 0.4);
  aspect-ratio: 3 / 4;
  background: #2b030b;
}

.hero-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.temple-arch-frame:hover .hero-couple-img {
  transform: scale(1.04);
}

.photo-upload-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.photo-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-family: var(--font-caps);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(222, 166, 69, 0.6);
  background: rgba(54, 4, 14, 0.6);
  cursor: pointer;
  transition: background 0.25s ease;
}

.photo-upload-btn:hover {
  background: rgba(222, 166, 69, 0.18);
}

.photo-reset-btn {
  font-size: 0.74rem;
  color: #f6c2c2;
  text-decoration: underline;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-caps);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--gold-light);
}

.scroll-cue__line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
}

/* ==========================================================================
   3. FORMAL WORDING PARCHMENT & MEET THE COUPLE
   ========================================================================== */
.parchment-card {
  position: relative;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--champagne) 100%);
  color: var(--ink-dark);
  border-radius: var(--radius-lg);
  padding: 52px 34px;
  text-align: center;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-royal), inset 0 0 0 8px rgba(222, 166, 69, 0.14);
  margin-bottom: 68px;
}

.parchment-card__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--gold-antique);
}

.parchment-card__corner--tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.parchment-card__corner--tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.parchment-card__corner--bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.parchment-card__corner--br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.parchment-card__mantra {
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: #8a1c1c;
  font-weight: 700;
  margin-bottom: 10px;
}

.parchment-card__script {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--gold-antique);
  margin-bottom: 14px;
}

.parchment-card__copy {
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-dark);
}

.parchment-card__names {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #6e0e1e;
  margin: 18px 0;
}

.parchment-card__amp {
  font-family: var(--font-playfair);
  font-style: italic;
  color: var(--gold-antique);
  margin: 0 8px;
}

.parchment-card__hashtag {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-caps);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: #7a1324;
  border-top: 1px solid rgba(184, 134, 47, 0.45);
  border-bottom: 1px solid rgba(184, 134, 47, 0.45);
  padding: 6px 18px;
}

/* Couple Portrait Cards */
.couple-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.couple-card {
  background: rgba(54, 4, 14, 0.72);
  border: 1.5px solid rgba(222, 166, 69, 0.55);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-royal);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.couple-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-royal), var(--shadow-gold);
}

.couple-card__frame {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold);
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

.couple-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-card__ribbon {
  background: linear-gradient(180deg, var(--ivory), var(--champagne));
  color: var(--ink-dark);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
}

.couple-card__role {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-antique);
  font-weight: 600;
}

.couple-card__name {
  font-family: var(--font-display);
  font-size: 1.95rem;
  color: #5a0b18;
  line-height: 1.15;
}

.couple-card__desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ==========================================================================
   4. SCRATCH CARD & LIVE FLIP COUNTDOWN
   ========================================================================== */
.scratch-card-wrap {
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: center;
}

.scratch-card {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 270;
  border-radius: 22px;
  border: 2.5px solid var(--gold);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ivory), var(--champagne));
  box-shadow: var(--shadow-royal), var(--shadow-gold);
  touch-action: none;
  user-select: none;
}

.scratch-card__underlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-dark);
  padding: 16px;
}

.scratch-card__ornament {
  color: var(--gold-antique);
  letter-spacing: 0.25em;
  font-size: 0.9rem;
}

.scratch-card__day {
  font-family: var(--font-caps);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  margin-top: 6px;
}

.scratch-card__date-big {
  font-family: var(--font-cinzel);
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 700;
  color: #6e0e1e;
  line-height: 1;
  margin: 4px 0;
}

.scratch-card__month {
  font-family: var(--font-cinzel);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--ink-dark);
}

.scratch-card__muhurtham {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: #8a1c1c;
  margin-top: 6px;
}

.scratch-card__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  transition: opacity 0.7s ease;
}

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

.scratch-card__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.scratch-hint {
  font-size: 0.85rem;
  color: rgba(251, 236, 208, 0.78);
}

.text-gold-btn {
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* Countdown Flip Tiles */
.countdown-block {
  text-align: center;
}

.countdown-block__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 22px;
}

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

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

.flip-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 49%, #efe0be 50%, var(--champagne) 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 #ffffff;
}

.flip-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: rgba(184, 134, 47, 0.35);
}

.flip-tile span {
  font-family: var(--font-cinzel);
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: #5a0b18;
}

.flip-label {
  font-family: var(--font-caps);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  font-weight: 600;
}

.countdown-complete {
  margin-top: 18px;
  padding: 20px 28px;
  border-radius: 18px;
  border: 2px solid var(--gold);
  background: rgba(90, 11, 24, 0.85);
  font-family: var(--font-cinzel);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   5. 3D INTERACTIVE EVENT CARDS (ENGAGEMENT, HALDI, WEDDING)
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.event-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-royal);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-card--engagement {
  background: linear-gradient(175deg, #5d0c1c 0%, #2d040c 100%);
  color: var(--text-light);
}

.event-card--haldi {
  background: linear-gradient(175deg, #fff5d1 0%, #f5cc58 100%);
  color: #4a2305;
  border-color: #d98e1e;
}

.event-card--wedding {
  background: linear-gradient(175deg, #750c19 0%, #3b040c 100%);
  color: var(--text-light);
}

.event-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.event-card:hover .event-card__media img {
  transform: scale(1.07);
}

.event-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  background: rgba(42, 4, 11, 0.85);
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.event-card__body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  transform: translateZ(20px);
}

.event-card__title {
  font-family: var(--font-cinzel);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.event-card--haldi .event-card__title {
  color: #5c1906;
}

.event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.event-card--haldi .event-card__meta {
  background: rgba(255, 255, 255, 0.58);
  color: #4a2305;
}

.event-card__desc {
  font-size: 0.94rem;
  opacity: 0.92;
  margin-bottom: 18px;
  flex: 1;
}

.event-card__cal-btn {
  align-self: flex-start;
  font-family: var(--font-caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(54, 4, 14, 0.55);
  border: 1.5px solid rgba(251, 231, 173, 0.75);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.event-card--haldi .event-card__cal-btn {
  color: #4a2305;
  background: rgba(255, 250, 240, 0.75);
  border-color: #7d4406;
}

.event-card__cal-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-deep);
}

/* ==========================================================================
   6. SHUBH VIVAH — INTERACTIVE INDIAN WEDDING MEMORY GAME
   ========================================================================== */
.game-shell {
  background: rgba(54, 4, 14, 0.78);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-royal), var(--shadow-gold);
}

.game-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(222, 166, 69, 0.3);
}

.game-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 78px;
  background: rgba(38, 3, 10, 0.75);
  border: 1px solid rgba(222, 166, 69, 0.35);
  border-radius: 12px;
  padding: 8px 14px;
}

.game-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.game-stat strong {
  font-size: 1.05rem;
  color: var(--ivory);
}

.game-reset-btn {
  padding: 10px 20px;
  font-size: 0.76rem;
}

.game-fact-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(247, 236, 214, 0.96));
  color: var(--ink-dark);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--gold);
}

.game-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  perspective: 1000px;
}

.memory-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.75, 0.25, 1);
  border-radius: 16px;
  cursor: pointer;
}

.memory-card.is-flipped,
.memory-card.is-matched {
  transform: rotateY(180deg);
}

.memory-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.memory-card__back {
  background: linear-gradient(155deg, #6e1021, #38040e);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 4px rgba(251, 231, 173, 0.14);
  color: var(--gold-light);
}

.memory-card__back-emblem {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-light);
}

.memory-card__back-sub {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 231, 173, 0.72);
  margin-top: 4px;
}

.memory-card__front {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, var(--ivory), var(--champagne));
  border: 2px solid var(--gold);
  color: var(--ink-dark);
}

.memory-card.is-matched .memory-card__front {
  border-color: #2e8b57;
  box-shadow: 0 0 22px rgba(222, 166, 69, 0.55);
}

.memory-card__emoji {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 6px;
}

.memory-card__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a0b18;
}

.game-win-banner {
  margin-top: 22px;
  padding: 24px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ivory), var(--champagne));
  color: var(--ink-dark);
  text-align: center;
  border: 2px solid var(--gold);
}

.game-win-banner h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #5a0b18;
  margin-bottom: 6px;
}

.game-win-banner p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Guest Guide Info Cards in Venue */
.guest-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.guest-guide-card {
  background: rgba(54, 4, 14, 0.78);
  border: 1.5px solid rgba(222, 166, 69, 0.5);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
}

.guest-guide-card__icon {
  display: inline-block;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.guest-guide-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.guest-guide-card p {
  font-size: 0.88rem;
  color: rgba(251, 236, 208, 0.88);
}

/* ==========================================================================
   7. VENUE & LOCATION
   ========================================================================== */
.venue-showcase {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-royal);
  aspect-ratio: 16 / 8;
  margin-bottom: 30px;
}

.venue-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.venue-showcase__badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(54, 4, 14, 0.82);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  padding: 7px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
}

.venue-card {
  background: linear-gradient(180deg, var(--ivory), var(--champagne));
  color: var(--ink-dark);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-royal);
  overflow: hidden;
}

.venue-card--info {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-card__eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-antique);
  margin-bottom: 4px;
}

.venue-card__temple {
  font-family: var(--font-cinzel);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #5a0b18;
  margin-top: 2px;
}

.venue-card__hall {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #8a1c1c;
  margin-bottom: 12px;
}

.venue-card__address {
  font-style: normal;
  font-size: 1.02rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.venue-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #216b3b;
  min-height: 20px;
}

.venue-card--map {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.venue-card--map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
  border-radius: calc(var(--radius-lg) - 2px);
}

/* ==========================================================================
   8. RSVP & BLESSINGS WALL
   ========================================================================== */
.rsvp-card {
  background: linear-gradient(180deg, var(--ivory), var(--champagne));
  color: var(--ink-dark);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  padding: 34px 30px;
  box-shadow: var(--shadow-royal);
}

.rsvp-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.rsvp-pill {
  position: relative;
  cursor: pointer;
}

.rsvp-pill input {
  position: absolute;
  opacity: 0;
}

.rsvp-pill span {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(184, 134, 47, 0.55);
  background: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.rsvp-pill input:checked + span {
  background: #5a0b18;
  color: var(--gold-light);
  border-color: #5a0b18;
}

.rsvp-events-wrap {
  margin-bottom: 20px;
}

.rsvp-label {
  display: block;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6e1021;
  margin-bottom: 8px;
}

.rsvp-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rsvp-checkboxes label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(184, 134, 47, 0.4);
  font-size: 0.9rem;
  cursor: pointer;
}

.rsvp-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
  margin-bottom: 16px;
}

.rsvp-field input,
.rsvp-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(184, 134, 47, 0.45);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink-dark);
}

.rsvp-field textarea {
  resize: vertical;
  margin-bottom: 18px;
}

.guest-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid rgba(184, 134, 47, 0.45);
  border-radius: 12px;
  padding: 6px 10px;
}

.guest-stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--champagne);
  color: #5a0b18;
  font-size: 1.1rem;
  font-weight: 700;
}

.rsvp-submit {
  width: 100%;
}

.rsvp-feedback {
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
  color: #216b3b;
  min-height: 22px;
}

.blessings-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.blessing-note {
  background: rgba(54, 4, 14, 0.78);
  border: 1px solid rgba(222, 166, 69, 0.45);
  border-radius: 16px;
  padding: 16px;
}

.blessing-note__author {
  font-family: var(--font-cinzel);
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.blessing-note__text {
  font-size: 0.9rem;
  color: var(--text-cream);
}

/* ==========================================================================
   9. CLOSING BLESSINGS FOOTER
   ========================================================================== */
.blessings-footer {
  position: relative;
  text-align: center;
  padding: 96px 20px 110px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(54, 4, 14, 0.2), rgba(26, 2, 7, 0.95));
}

.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  bottom: -24px;
  color: rgba(251, 231, 173, 0.35);
  font-size: 16px;
  animation: riseHeart linear infinite;
}

@keyframes riseHeart {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 0.55; }
  100% { transform: translateY(-420px) scale(1.25); opacity: 0; }
}

.wax-seal {
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b8233a, #690b1b 70%, #3d040d);
  border: 2.5px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), inset 0 0 12px rgba(251, 231, 173, 0.35);
  display: grid;
  place-items: center;
  font-family: var(--font-cinzel);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.blessings-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  color: var(--ivory);
  max-width: 660px;
  margin: 0 auto 26px;
}

.blessings-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
}

.blessings-names {
  font-family: var(--font-cinzel);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin: 4px 0 22px;
}

.gold-hairline {
  width: 160px;
  height: 1.5px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.blessings-save-date {
  font-family: var(--font-cinzel);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.yt-hidden-player {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.blessings-venue-recap {
  font-size: 0.9rem;
  color: rgba(251, 236, 208, 0.72);
}

.footer-credit {
  margin-top: 28px;
  font-size: 0.76rem;
  color: rgba(251, 236, 208, 0.45);
  letter-spacing: 0.03em;
}

.footer-credit a {
  color: rgba(251, 236, 208, 0.58);
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: rgba(251, 236, 208, 0.82);
  text-decoration: underline;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(22, 2, 7, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__content {
  max-width: min(760px, 92vw);
  text-align: center;
}

.lightbox__content img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 16px;
  border: 2px solid var(--gold);
}

.lightbox__caption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 34px;
  }

  .hero-actions {
    justify-content: center;
  }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .guest-guide-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 64px 16px;
  }

  .hero-section {
    padding-top: 104px;
  }

  .hero-info-strip {
    grid-template-columns: 1fr;
  }

  .game-board {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .floating-nav {
    gap: 6px;
    padding: 5px 8px;
  }

  .floating-nav__brand {
    font-size: 0.78rem;
    padding-right: 7px;
  }

  .floating-nav__link {
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .couple-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .countdown-grid {
    gap: 10px;
  }

  .rsvp-pills,
  .rsvp-row {
    grid-template-columns: 1fr;
  }

  .venue-showcase {
    aspect-ratio: 16 / 10;
  }

  .temple-bell {
    width: 34px;
    top: 84px;
  }

  .temple-bell--left { left: 14px; }
  .temple-bell--right { right: 14px; }
}
