:root {
  --bg: #0a0809;
  --bg-2: #160d10;
  --panel: #140f12;
  --line: rgba(230, 192, 104, 0.32);
  --gold: #e6c068;
  --gold-light: #fbe7a6;
  --gold-dark: #a87d2c;
  --red: #a3121f;
  --red-dark: #5e0910;
  --text: #f6efe2;
  --muted: #b8ab98;
  --error: #ff8a8a;
  --radius: 16px;
  --deco: "Limelight", "Playfair Display", Georgia, serif;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Capa de fondo fija (background-attachment: fixed no funciona en iOS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(230, 192, 104, 0.12), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(163, 18, 31, 0.22), transparent 65%),
    radial-gradient(700px 500px at 100% 70%, rgba(163, 18, 31, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

#sparkles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
header, main, footer { position: relative; z-index: 1; }

a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem 9rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.spotlight {
  position: absolute;
  bottom: -10%;
  width: 46vmax;
  height: 130vh;
  background: linear-gradient(0deg, rgba(255, 240, 200, 0.22), rgba(255, 240, 200, 0.02) 75%, transparent);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(6px);
  transform-origin: 50% 100%;
  z-index: -1;
  mix-blend-mode: screen;
}
.spotlight--l { left: -12vmax; animation: sweep-l 9s ease-in-out infinite alternate; }
.spotlight--r { right: -12vmax; animation: sweep-r 11s ease-in-out infinite alternate; }

.marquee {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, #2a1d10, #120c08 40%, #1d140b);
  box-shadow:
    0 0 0 2px var(--gold-dark),
    0 0 0 5px #1b130a,
    0 0 0 7px var(--gold),
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(230, 192, 104, 0.18);
  animation: rise 1.2s ease-out both;
}
.marquee__inner {
  position: relative;
  border-radius: 12px;
  padding: 2.6rem 1.4rem 2.4rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(163, 18, 31, 0.35), transparent 70%),
    linear-gradient(180deg, #170b0e, #0c0709);
  border: 1px solid var(--line);
}

/* Bombillos del letrero */
.bulbs i {
  position: absolute;
  --on: radial-gradient(circle, #fffbe8 0 2.5px, #ffd77a 3.5px, rgba(255, 200, 90, 0.35) 5px, transparent 7px);
  --off: radial-gradient(circle, #8a6a2c 0 2.5px, transparent 3.5px);
  animation: chase 0.9s steps(1) infinite;
}
.bulbs .b-top, .bulbs .b-bottom { left: 14px; right: 14px; height: 14px; }
.bulbs .b-top { top: 2px; }
.bulbs .b-bottom { bottom: 2px; }
.bulbs .b-left, .bulbs .b-right { top: 14px; bottom: 14px; width: 14px; }
.bulbs .b-left { left: 2px; }
.bulbs .b-right { right: 2px; }
.bulbs .b-top, .bulbs .b-bottom {
  background: var(--on) 0 50% / 24px 14px repeat-x, var(--off) 12px 50% / 24px 14px repeat-x;
}
.bulbs .b-left, .bulbs .b-right {
  background: var(--on) 50% 0 / 14px 24px repeat-y, var(--off) 50% 12px / 14px 24px repeat-y;
  animation-name: chase-y;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.hero__xv {
  font-family: var(--deco);
  font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  text-shadow: 0 0 18px rgba(255, 220, 150, 0.35);
}
.hero__name {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(5rem, 21vw, 8.5rem);
  line-height: 1.15;
  background: linear-gradient(180deg, var(--gold-light) 10%, var(--gold) 50%, var(--gold-dark) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 24px rgba(230, 192, 104, 0.35));
}
.divider {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  color: var(--gold); margin: 0.3rem 0 1.1rem; font-size: 0.95rem;
}
.divider span { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider span:last-child { transform: scaleX(-1); }
.hero__date {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 4.2vw, 1.4rem);
  letter-spacing: 0.06em;
  margin: 0;
}
.hero__place {
  font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted); margin: 0.6rem 0 1.9rem;
}

/* Alfombra roja */
.carpet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(760px, 120vw);
  height: 8.5rem;
  transform: translateX(-50%);
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, var(--red-dark), var(--red) 55%, #c0182a);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.carpet::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold));
  opacity: 0.6;
}
.scroll-cue {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-size: 2rem; text-decoration: none; color: var(--gold-light);
  animation: bob 2.2s ease-in-out infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05rem 1.8rem;
  border-radius: 6px;
  border: 1px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--gold {
  color: #2a1c06;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 8px 28px rgba(230, 192, 104, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(230, 192, 104, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost { color: var(--gold); background: rgba(0, 0, 0, 0.25); }
.btn--ghost:hover { background: rgba(230, 192, 104, 0.12); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn__spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(42, 28, 6, 0.3); border-top-color: #2a1c06;
  animation: spin .8s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }

/* ---------- Sections ---------- */
.section { max-width: 780px; margin: 0 auto; padding: 4.5rem 1.25rem; text-align: center; }
.kicker {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.6rem;
}
.section__title {
  font-family: var(--deco);
  font-weight: 400;
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--gold);
  margin: 0 0 1.8rem;
  text-shadow: 0 0 22px rgba(230, 192, 104, 0.25);
}
.section__lead { color: var(--muted); max-width: 520px; margin: -0.8rem auto 2rem; }
.quote { max-width: 580px; margin: 0 auto 2.8rem; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  opacity: 0.92;
}
.signature {
  margin-top: 0.6rem;
  font-family: var(--script);
  font-size: clamp(2rem, 7vw, 2.6rem);
  color: var(--gold);
  line-height: 1.2;
}
.ticket__addr { font-family: var(--sans); font-weight: 500; font-size: 0.85rem; opacity: 0.8; }

/* ---------- Countdown (fotogramas) ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; max-width: 640px; margin: 0 auto; }
.frame {
  position: relative;
  padding: 1.7rem 0.3rem 1.5rem;
  background: #050405;
  border-radius: 6px;
  border: 1px solid #2a2125;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #2d2428 0 7px, transparent 7px 13px);
  border-radius: 2px;
}
.frame::before { top: 6px; }
.frame::after { bottom: 6px; }
.countdown__num {
  display: block;
  font-family: var(--deco);
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(230, 192, 104, 0.45);
}
.countdown__label {
  display: block; margin-top: 0.55rem;
  font-size: clamp(0.58rem, 2.2vw, 0.7rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.countdown__done { font-family: var(--deco); font-size: 1.6rem; color: var(--gold); }

/* ---------- Ticket ---------- */
.ticket {
  --notch: radial-gradient(circle at 0 50%, transparent 14px, #000 15px) left / 51% 100% no-repeat,
           radial-gradient(circle at 100% 50%, transparent 14px, #000 15px) right / 51% 100% no-repeat;
  display: grid;
  grid-template-columns: 64px 1fr;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3dfa6, var(--gold) 45%, #c99a45);
  color: #2a1c06;
  -webkit-mask: var(--notch);
  mask: var(--notch);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
.ticket__stub {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; /* row = eje vertical en vertical-rl */
  padding: 1.2rem 0;
  border-right: 2px dashed rgba(42, 28, 6, 0.45);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.35em;
}
.ticket__no { opacity: 0.7; }
.ticket__body { padding: 1.8rem 1.6rem 1.6rem 1.4rem; }
.ticket__tag {
  display: inline-block; margin: 0 0 0.4rem; padding: 0.3rem 0.7rem;
  background: var(--red); color: var(--gold-light);
  font: 600 0.65rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  border-radius: 3px;
}
.ticket__title { font-family: var(--deco); font-weight: 400; font-size: clamp(1.6rem, 5.5vw, 2.2rem); margin: 0.3rem 0 1rem; line-height: 1.15; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; margin: 0 0 1.4rem; }
.ticket__wide { grid-column: 1 / -1; }
.ticket dt { font: 600 0.65rem/1 var(--sans); letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.3rem; }
.ticket dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.ticket .btn--ghost { color: #2a1c06; border-color: rgba(42, 28, 6, 0.6); background: rgba(255, 255, 255, 0.15); padding: 0.9rem 1.1rem; }
.ticket .btn--ghost:hover { background: rgba(42, 28, 6, 0.1); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 520px) {
  .ticket { grid-template-columns: 46px 1fr; }
  .ticket__body { padding: 1.5rem 1.2rem 1.4rem 1.1rem; }
  .ticket__grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Protagonista / póster ---------- */
.section--wide { max-width: 1040px; }
.feature { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 3rem; align-items: center; text-align: left; }
.feature .section__title { margin-bottom: 1.4rem; }
.feature .quote { margin: 0; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .poster { max-width: 340px; margin: 0 auto; }
}
.poster {
  margin: 0;
  padding: 12px 12px 18px;
  background: linear-gradient(180deg, #1a0d10, #0b0708);
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  box-shadow: 0 0 0 6px #120b0d, 0 0 0 8px var(--gold), 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 60px rgba(230, 192, 104, 0.15);
  transform: rotate(-1.5deg);
  transition: transform .4s ease;
}
.poster:hover { transform: rotate(0deg) scale(1.01); }
.poster__top {
  display: flex; justify-content: space-between;
  font: 600 0.62rem/1 var(--sans); letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); padding: 0.2rem 0.2rem 0.7rem;
}
.poster img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; filter: saturate(1.05) contrast(1.05); }
.poster__credits { display: grid; justify-items: center; text-align: center; padding-top: 0.8rem; }
.poster__presents { font: 500 0.6rem/1.4 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.poster__star {
  font-family: var(--deco); font-size: 2.1rem; letter-spacing: 0.2em; line-height: 1.2; padding-left: 0.2em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.poster__film { font-family: var(--serif); font-style: italic; color: var(--text); }

/* ---------- Galería en tira de película ---------- */
.filmstrip {
  position: relative;
  margin: 0 -1.25rem;
  padding: 26px 0;
  background: #050405;
  border-top: 1px solid #2a2125; border-bottom: 1px solid #2a2125;
}
.filmstrip::before, .filmstrip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, #2d2428 0 12px, transparent 12px 22px);
  opacity: 0.9; pointer-events: none;
}
.filmstrip::before { top: 7px; }
.filmstrip::after { bottom: 7px; }
.filmstrip__track {
  list-style: none; margin: 0; padding: 0 1.25rem;
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem;
  scrollbar-width: thin; scrollbar-color: var(--gold-dark) transparent;
  -webkit-overflow-scrolling: touch;
}
.filmstrip__track li { flex: 0 0 auto; scroll-snap-align: start; }
.scene {
  position: relative; display: block; padding: 0; margin: 0; border: 0; cursor: zoom-in;
  background: none; border-radius: 4px; overflow: hidden;
  height: clamp(260px, 52vw, 360px);
}
.scene img { display: block; height: 100%; width: auto; transition: transform .5s ease, filter .5s ease; filter: saturate(0.95); }
.scene:hover img, .scene:focus-visible img { transform: scale(1.04); filter: saturate(1.1); }
.scene__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.8rem 0.6rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  color: var(--gold-light); text-align: left;
  font: 600 0.62rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.filmstrip__hint { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; margin: 1rem 0 0; }

/* ---------- Visor ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 3, 4, 0.94); color: var(--text);
}
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 0.8rem; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border: 2px solid var(--gold-dark); border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__caption { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); text-align: center; }
.lightbox__nav, .lightbox__close {
  background: rgba(0, 0, 0, 0.4); color: var(--gold-light); border: 1px solid var(--line);
  border-radius: 50%; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; justify-self: center;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(230, 192, 104, 0.15); }
.lightbox__close { position: absolute; top: 14px; right: 14px; font-size: 1.1rem; }
@media (max-width: 560px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { left: calc(50% + 16px); }
  .lightbox__img { max-height: 74vh; }
}

/* ---------- RSVP ---------- */
.rsvp, .rsvp-thanks {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 20, 22, 0.85), rgba(14, 10, 12, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(230, 192, 104, 0.15);
  padding: 2rem 1.4rem;
  max-width: 600px; margin: 0 auto;
}
@media (min-width: 640px) { .rsvp, .rsvp-thanks { padding: 2.5rem; } }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend {
  display: block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.optional { color: var(--muted); text-transform: none; letter-spacing: 0.02em; font-weight: 300; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--text);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(230, 192, 104, 0.25);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
select option { color: #111; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(184, 171, 152, 0.5); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 192, 104, 0.15); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--error); }
.field__error { display: block; min-height: 1em; color: var(--error); font-size: 0.8rem; margin-top: 0.35rem; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.choice legend { grid-column: 1 / -1; }
.choice .field__error { grid-column: 1 / -1; margin-top: -0.2rem; }
@media (max-width: 460px) { .choice { grid-template-columns: 1fr; } }
.choice__opt { margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; color: var(--text); }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt span {
  display: block; text-align: center; padding: 0.9rem 1rem;
  border: 1px solid rgba(230, 192, 104, 0.25); border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  transition: all .2s ease;
}
.choice__opt input:checked + span {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(163, 18, 31, 0.55), rgba(94, 9, 16, 0.55));
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(163, 18, 31, 0.35);
}
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.rsvp__status { min-height: 1.4em; margin: 1rem 0 0; text-align: center; font-size: 0.9rem; }
.rsvp__status.is-error { color: var(--error); }

.rsvp-thanks { text-align: center; }
.rsvp-thanks__icon { font-size: 2.4rem; color: var(--gold); margin: 0; text-shadow: 0 0 20px rgba(230, 192, 104, 0.6); animation: twinkle 2s ease-in-out infinite; }
.rsvp-thanks__title { font-family: var(--deco); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.2; color: var(--gold); margin: 0.4rem 0 0.7rem; }
.rsvp-thanks__text { margin: 0 auto 1.6rem; max-width: 440px; }

/* ---------- 404 ---------- */
.page-404 { min-height: 100vh; display: grid; place-content: center; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 3rem 1rem 4rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.35em; }
.footer__star {
  width: 64px; height: 64px; margin: 0 auto 0.4rem; display: grid; place-items: center;
  font-size: 1.8rem; color: var(--gold-light);
  background: radial-gradient(circle, #3a1218, #1a080b);
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
}
.footer__name { font-family: var(--script); font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: 0; color: var(--gold); margin: 0; }
.footer p { margin: 0.2rem 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes sweep-l { from { transform: rotate(28deg); } to { transform: rotate(8deg); } }
@keyframes sweep-r { from { transform: rotate(-28deg); } to { transform: rotate(-6deg); } }
@keyframes chase {
  0%   { background-position: 0 50%, 12px 50%; }
  50%  { background-position: 12px 50%, 0 50%; }
}
@keyframes chase-y {
  0%   { background-position: 50% 0, 50% 12px; }
  50%  { background-position: 50% 12px, 50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spotlight--l { transform: rotate(18deg); }
  .spotlight--r { transform: rotate(-18deg); }
  .reveal { opacity: 1; transform: none; }
}
