/* Tema: Aurora Motion — undangan penuh gerak: langit aurora hidup (kanvas), bintang berkelip,
   judul muncul huruf per huruf, sampul menutup seperti lensa kamera, hitung mundur gaya flip-clock,
   kartu miring mengikuti kursor, bingkai gradasi berputar, kartu bank hologram, garis cerita tergambar
   mengikuti scroll, galeri cincin 3D yang bisa diputar, kembang api di penutup. Gerak di aurora.js.
   Pilihan warna lewat class body .variant-{aurora|sunset|ocean|emerald}. */
@property --au-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root, .variant-aurora {
  --a1: #7c5cff; --a2: #22d3ee; --a3: #f472b6; --a4: #34d399;
  --bg: #0b0820;
  --bg2: #120d2e;
  --paper: rgba(255, 255, 255, .06);
  --card: rgba(20, 15, 48, .55);
  --blush: rgba(255, 255, 255, .08);
  --pink: rgba(196, 181, 253, .5);
  --rose: #c4b5fd;
  --deep: #f5f3ff;
  --on-deep: #140f33;
  --ink: #ece9ff;
  --muted: #a9a3cc;
  --gold: #f9d98b;
  --line: rgba(255, 255, 255, .12);
  --shadow: 5 3 20;
  --overlay: 11 8 32;
  --frame: #1b1440;
  --radius: 24px;
  --cover-bg: transparent;
  --cover-ink: #fff;
  --dock-bg: rgba(18, 13, 46, .7);
  --script: "Allura", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --accent: #c4b5fd;
  --grad: linear-gradient(120deg, var(--a1), var(--a2) 35%, var(--a3) 70%, var(--a1));
}
.variant-sunset { --a1: #f97316; --a2: #f43f5e; --a3: #a855f7; --a4: #facc15; --bg: #1a0a14; --bg2: #24101c; --card: rgba(46, 16, 30, .55); --frame: #3a1426; --rose: #fdba74; --pink: rgba(253, 186, 116, .5); --muted: #cfa9b3; --overlay: 26 10 20; --dock-bg: rgba(40, 14, 26, .7); --accent: #fdba74; }
.variant-ocean { --a1: #3b82f6; --a2: #06b6d4; --a3: #6366f1; --a4: #a5f3fc; --bg: #04101f; --bg2: #08182c; --card: rgba(8, 26, 48, .55); --frame: #0c2440; --rose: #7dd3fc; --pink: rgba(125, 211, 252, .5); --muted: #9bb4cc; --overlay: 4 16 31; --dock-bg: rgba(8, 24, 44, .7); --accent: #7dd3fc; }
.variant-emerald { --a1: #10b981; --a2: #84cc16; --a3: #14b8a6; --a4: #fde68a; --bg: #03130e; --bg2: #061d16; --card: rgba(6, 34, 26, .55); --frame: #0a2a20; --rose: #6ee7b7; --pink: rgba(110, 231, 183, .5); --muted: #9cc4b4; --overlay: 3 19 14; --dock-bg: rgba(6, 30, 23, .7); --accent: #6ee7b7; }

/* ---------- langit & dasar ---------- */
.theme-aurora { background: var(--bg); color: var(--ink); }
.theme-aurora ::selection { background: var(--a1); color: #fff; }
.au-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .6; }
.au-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.au-stars i { position: absolute; inset: -50%; background-repeat: repeat; animation: auTwinkle 5s ease-in-out infinite alternate, auDrift 140s linear infinite; }
.au-stars i:first-child { background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 90px 120px, #fff, transparent), radial-gradient(1.5px 1.5px at 160px 60px, #fff, transparent), radial-gradient(1px 1px at 230px 180px, #fff, transparent); background-size: 260px 220px; }
.au-stars i:last-child { background-image: radial-gradient(1.6px 1.6px at 50px 80px, #fff, transparent), radial-gradient(1px 1px at 140px 20px, #fff, transparent), radial-gradient(2px 2px at 300px 160px, rgba(255, 255, 255, .9), transparent); background-size: 380px 300px; animation-delay: -2.5s, -60s; opacity: .7; }
@keyframes auTwinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes auDrift { to { transform: translate(260px, 220px); } }
.au-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: var(--grad); background-size: 200% 100%; transform-origin: left; transform: scaleX(var(--au-prog, 0)); animation: auFlow 4s linear infinite; box-shadow: 0 0 12px var(--a1); }
body:not(.is-open) .au-progress { opacity: 0; }
@keyframes auFlow { to { background-position: 200% 0; } }

.theme-aurora .petals { display: none; }
.theme-aurora .layout { display: block; position: relative; z-index: 1; }
.theme-aurora .side { display: none; }
.theme-aurora .content { max-width: none; background: transparent; box-shadow: none; overflow-x: clip; }
.theme-aurora .sec { padding: 110px 22px; }
.theme-aurora .sec > :not(.au-band, .au-orb, .au-fireworks, .au-scroll-cue) { max-width: 760px; margin-left: auto; margin-right: auto; }
.theme-aurora .sec + .sec { border-top: 0; }
.theme-aurora .intro { left: 0; width: auto; }

/* ---------- huruf ---------- */
.theme-aurora .kicker { font-family: var(--sans); font-weight: 700; letter-spacing: .4em; font-size: .66rem; color: transparent; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: auFlow 6s linear infinite; }
.theme-aurora .sec-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 8vw, 4.2rem); color: #fff; line-height: 1.05; text-shadow: 0 0 40px color-mix(in srgb, var(--a1) 60%, transparent); }
.theme-aurora .script { color: #fff; }
.theme-aurora .lead { color: #ddd8f5; max-width: 46ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }

/* judul dipecah per huruf oleh aurora.js → muncul bergelombang */
.au-w { display: inline-block; white-space: nowrap; }
.au-ch { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(10deg) scale(.9); filter: blur(8px); transition: opacity .7s, transform .9s cubic-bezier(.2, .9, .2, 1.3), filter .7s; transition-delay: calc(var(--i) * 32ms + var(--d, 0s)); }
.au-split.in .au-ch, .reveal.in .au-split .au-ch, .cover .au-split.au-go .au-ch { opacity: 1; transform: none; filter: none; }
.theme-aurora .au-split.reveal { opacity: 1; transform: none; filter: none; }

/* ---------- tombol ---------- */
.theme-aurora .btn { position: relative; font-family: var(--sans); font-weight: 700; letter-spacing: .04em; transition: translate .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s, background .3s; }
.theme-aurora :is(.btn-open, .btn-main) { color: #fff; background: var(--grad); background-size: 220% 100%; animation: auFlow 5s linear infinite; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--a1) 70%, transparent); }
.theme-aurora :is(.btn-open, .btn-main)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; animation: auShine 3s ease-in-out infinite; pointer-events: none; }
@keyframes auShine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.theme-aurora .btn-soft { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--line); backdrop-filter: blur(8px); }
.theme-aurora .btn-soft:hover { background: rgba(255, 255, 255, .16); }
.theme-aurora .btn-copy { color: #fff; border-color: rgba(255, 255, 255, .35); }
.theme-aurora .btn-copy.done { background: #fff; color: var(--on-deep); }

/* ---------- sampul ---------- */
.theme-aurora .cover, .theme-aurora .cover:not([style]) {
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--a1) 45%, transparent), transparent 45%),
    radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--a2) 35%, transparent), transparent 40%),
    radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--a3) 35%, transparent), transparent 50%),
    var(--bg);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1), opacity 1.3s;
}
.theme-aurora .cover::before { content: ""; position: absolute; inset: -20px; background: var(--cover-img, none) var(--cover-pos, center) / cover no-repeat; filter: blur(14px) saturate(1.2); opacity: .28; transform: scale(1.1); animation: auKen 18s ease-in-out infinite alternate; }
@keyframes auKen { to { transform: scale(1.22) translate(-2%, 1%); } }
/* isi undangan disembunyikan selama sampul tampil (sampul transparan, langit aurora terlihat) */
.theme-aurora.is-locked .layout, .theme-aurora.is-locked .dock { visibility: hidden; }
.theme-aurora .cover.opened { transform: none; opacity: 1; clip-path: circle(0% at 50% 50%); }
.theme-aurora .cover .deco { color: #fff; opacity: .14; }
.theme-aurora .cover-inner { max-width: 440px; }
.theme-aurora .cover .kicker { margin-top: 18px; }
.theme-aurora .cover-title { font-size: clamp(3.4rem, 15vw, 5.2rem); color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--a3) 60%, transparent); margin: 6px 0 2px; }
.theme-aurora .cover-date { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #e9e5ff; }
.theme-aurora .cover-guest { background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(255, 255, 255, .18) !important; backdrop-filter: blur(14px); }
.theme-aurora .cover-guest b { font-family: var(--serif); font-style: italic; font-size: 1.6rem; }

.au-orbit { position: relative; width: 210px; height: 210px; margin: 0 auto; animation: auRise 1.4s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes auRise { from { opacity: 0; transform: translateY(30px) scale(.85); filter: blur(10px); } }
.au-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ambSpin 22s linear infinite; overflow: visible; }
.au-orbit text { font: 700 10.5px var(--sans); letter-spacing: .5px; fill: #fff; opacity: .85; }
.au-orbit-photo { position: absolute; inset: 34px; border-radius: 50%; overflow: hidden; padding: 3px; background: conic-gradient(from var(--au-ang), var(--a1), var(--a2), var(--a3), var(--a1)); animation: auSpinVar 4s linear infinite; box-shadow: 0 0 40px color-mix(in srgb, var(--a1) 55%, transparent); }
.au-orbit-photo img, .au-orbit-photo svg { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: var(--cover-pos, center); background: var(--frame); color: #fff; }
.au-orbit-dot { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px var(--a2); offset-path: circle(104px at 50% 50%); animation: auOrbitDot 6s linear infinite; }
@supports not (offset-path: circle(10px)) { .au-orbit-dot { display: none; } }
@keyframes auOrbitDot { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes auSpinVar { to { --au-ang: 360deg; } }

/* ---------- beranda ---------- */
.theme-aurora .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; padding-top: 80px; }
.has-demo.theme-aurora .hero { padding-top: 110px; }
.theme-aurora .arch {
  position: relative; width: 250px; height: 340px; border-radius: 140px 140px 24px 24px; border: 0; padding: 3px; overflow: visible;
  background: conic-gradient(from var(--au-ang), var(--a1), var(--a2), var(--a3), var(--a4), var(--a1)); animation: auSpinVar 5s linear infinite;
  box-shadow: 0 0 60px -10px color-mix(in srgb, var(--a1) 70%, transparent), 0 30px 60px -20px rgba(0, 0, 0, .8);
  translate: 0 calc(var(--au-sy, 0) * -.12px);
}
.theme-aurora .arch img { border-radius: 137px 137px 21px 21px; animation: auKen 14s ease-in-out infinite alternate; }
.theme-aurora .arch::after { content: ""; position: absolute; inset: -14px; border-radius: 154px 154px 34px 34px; border: 1px dashed rgba(255, 255, 255, .25); pointer-events: none; }
.theme-aurora .hero-title { font-size: clamp(3.6rem, 13vw, 5.6rem); color: #fff; text-shadow: 0 0 34px color-mix(in srgb, var(--a3) 55%, transparent); }
.theme-aurora .hero-date { font-family: var(--serif); font-style: italic; color: #e9e5ff; font-size: 1.25rem; }
.au-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; mix-blend-mode: screen; }
.au-orb-1 { width: 14px; height: 14px; top: 22%; left: 14%; background: var(--a2); box-shadow: 0 0 30px 10px var(--a2); animation: ambFloat 6s ease-in-out infinite; translate: 0 calc(var(--au-sy, 0) * .3px); }
.au-orb-2 { width: 9px; height: 9px; top: 34%; right: 16%; background: var(--a3); box-shadow: 0 0 24px 8px var(--a3); animation: ambFloat 7s -2s ease-in-out infinite; translate: 0 calc(var(--au-sy, 0) * .5px); }
.au-orb-3 { width: 6px; height: 6px; bottom: 24%; left: 24%; background: #fff; box-shadow: 0 0 18px 6px var(--a1); animation: ambFloat 5s -1s ease-in-out infinite; translate: 0 calc(var(--au-sy, 0) * .2px); }
.au-scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 24px; height: 40px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .45); }
.au-scroll-cue span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: auCue 1.8s ease-in-out infinite; }
@keyframes auCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* hitung mundur flip-clock */
.theme-aurora .countdown { gap: 12px; perspective: 400px; }
.theme-aurora .countdown div { width: 72px; padding: 12px 0 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid var(--line); backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.theme-aurora .countdown div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .35); }
.theme-aurora .countdown b { font-family: var(--sans); font-weight: 700; font-size: 1.9rem; color: #fff; display: block; }
.theme-aurora .countdown b.au-flip { animation: auFlip .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes auFlip { 0% { transform: rotateX(90deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.theme-aurora .countdown span { color: var(--muted); }

/* ---------- pembuka ---------- */
.theme-aurora .divider-orn { width: 46px; height: 46px; color: #fff; filter: drop-shadow(0 0 12px var(--a2)); animation: ambSpin 12s linear infinite; }
.theme-aurora blockquote p { font-family: var(--serif); font-style: italic; color: #f3f0ff; font-size: clamp(1.15rem, 3vw, 1.5rem); line-height: 1.55; }
.theme-aurora blockquote cite { color: var(--rose); letter-spacing: .3em; text-transform: uppercase; font-size: .66rem; }

/* ---------- kartu kaca + bingkai gradasi berputar ---------- */
.theme-aurora :is(.person, .event, .wish-form, .qris, .gift-address, .dresscode, .livestream, .timeline li) {
  border: 1.5px solid transparent; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .01)) padding-box, linear-gradient(var(--bg2), var(--bg2)) padding-box, conic-gradient(from var(--au-ang), color-mix(in srgb, var(--a1) 70%, transparent), transparent 30%, color-mix(in srgb, var(--a2) 70%, transparent) 50%, transparent 75%, color-mix(in srgb, var(--a3) 70%, transparent)) border-box;
  animation: auSpinVar 7s linear infinite; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

/* ---------- mempelai ---------- */
.theme-aurora .people { display: grid; gap: 18px; justify-items: center; perspective: 1000px; }
.theme-aurora .people > * { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .theme-aurora .people:has(.amp):not(:has(.amp ~ .amp)) { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .theme-aurora .people:has(.amp):not(:has(.amp ~ .amp)) :is(.person, .amp) { grid-column: auto; grid-row: 2; }
}
.theme-aurora .person { width: 100%; max-width: 330px; padding: 30px 22px 26px; transform-style: preserve-3d; }
.theme-aurora .person-photo { width: 170px; height: 220px; border-radius: 100px 100px 18px 18px; border: 0; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .2); background: var(--frame); transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateZ(30px); transition: transform .3s ease-out; }
.theme-aurora .person-photo svg { color: #fff; }
.theme-aurora .person-name { color: #fff; font-size: 3rem; text-shadow: 0 0 22px color-mix(in srgb, var(--a3) 50%, transparent); }
.theme-aurora .person-full { font-family: var(--serif); font-style: italic; color: #f3f0ff; font-weight: 600; }
.theme-aurora .person-parents { color: var(--muted); }
.theme-aurora .ig { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--line); }
.theme-aurora .amp { font-size: 4.4rem; color: transparent; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: auFlow 4s linear infinite, ambPulse 3s ease-in-out infinite; }

/* ---------- pita teks raksasa ---------- */
.au-band { overflow: hidden; width: 100vw; max-width: none; margin: -40px 0 70px calc(50% - 50vw) !important; padding: 6px 0; rotate: -3deg; white-space: nowrap; }
.au-band > div { display: inline-flex; align-items: center; gap: 30px; will-change: transform; }
.au-band span { font: italic 600 clamp(3rem, 10vw, 6rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.au-band span:nth-of-type(even) { color: rgba(255, 255, 255, .9); -webkit-text-stroke: 0; text-shadow: 0 0 30px var(--a1); }
.au-band b { font-size: 2rem; color: var(--a2); }

/* ---------- acara ---------- */
.theme-aurora .events > .event { display: inline-block; vertical-align: top; width: min(100%, 370px); margin: 0 8px 18px; }
.theme-aurora .event { padding: 28px 22px; }
.theme-aurora .events > :is(.dresscode, .livestream) { margin-top: 12px; }
.theme-aurora .event h3 { font-family: var(--serif); font-style: italic; color: #fff; font-size: 2rem; }
.theme-aurora .event-date { color: var(--muted); }
.theme-aurora .event-date b { font-family: var(--sans); font-weight: 700; color: #fff; border-color: var(--line); text-shadow: 0 0 20px var(--a2); }
.theme-aurora .event-venue { color: #fff; }
.theme-aurora .event-address { color: var(--muted); }
.theme-aurora .dc-title { color: #fff; font-style: italic; }
.theme-aurora .dc-swatches i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(255, 255, 255, .35), 0 0 18px rgba(255, 255, 255, .15); }
.theme-aurora :is(.dresscode, .livestream) { padding: 26px; }

/* ---------- cerita: garis tergambar mengikuti scroll ---------- */
.theme-aurora .timeline { padding-left: 34px; }
.theme-aurora .timeline::before { left: 11px; width: 2px; background: var(--grad); transform-origin: top; transform: scaleY(var(--au-line, 0)); box-shadow: 0 0 12px var(--a1); }
.theme-aurora .timeline li { padding: 16px 16px 20px; margin-bottom: 18px; }
.theme-aurora .timeline li::before { left: -31px; top: 22px; background: #fff; box-shadow: 0 0 0 4px var(--bg), 0 0 16px 4px var(--a2); }
.theme-aurora .t-photo { border-radius: 16px; }
.theme-aurora .t-date { color: var(--rose); }
.theme-aurora .timeline h3 { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.6rem; }
.theme-aurora .timeline p { color: var(--muted); }
@media (min-width: 760px) {
  .theme-aurora .timeline { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
  .theme-aurora .timeline::before { left: 50%; margin-left: -1px; }
  .theme-aurora .timeline li:nth-child(odd) { grid-column: 1; }
  .theme-aurora .timeline li:nth-child(even) { grid-column: 2; margin-top: 90px; }
  .theme-aurora .timeline li:nth-child(odd)::before { left: auto; right: -42px; }
  .theme-aurora .timeline li:nth-child(even)::before { left: -42px; }
}

/* ---------- galeri: cincin 3D (aurora.js) ---------- */
.theme-aurora .g-item { background: var(--frame); border-radius: 16px; }
.au-ring-stage { position: relative; height: 420px; perspective: 1100px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; margin-top: 10px; }
.au-ring-stage:active { cursor: grabbing; }
.au-ring-stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 10px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 45%, transparent), transparent); filter: blur(6px); }
.theme-aurora .gallery.au-ringed .grid { position: absolute; left: 50%; top: 40px; width: 0; height: 0; columns: auto; transform-style: preserve-3d; }
.theme-aurora .gallery.au-ringed .g-item {
  position: absolute; width: var(--au-w, 170px); height: calc(var(--au-w, 170px) * 1.35); margin: 0 0 0 calc(var(--au-w, 170px) / -2); aspect-ratio: auto !important;
  border: 2px solid rgba(255, 255, 255, .5); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); -webkit-box-reflect: below 8px linear-gradient(transparent 70%, rgba(255, 255, 255, .18));
  opacity: 1 !important; transition: none;
}
.theme-aurora .gallery.au-ringed .g-item img { pointer-events: none; -webkit-user-drag: none; }
.au-ring-hint { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.au-ring-hint b { color: #fff; }
@media (max-width: 600px) { .au-ring-stage { height: 340px; } }

/* ---------- ucapan ---------- */
.theme-aurora .rsvp-stats div { background: rgba(255, 255, 255, .06); border-color: var(--line); }
.theme-aurora .rsvp-stats b { font-family: var(--sans); color: #fff; }
.theme-aurora .wish-form { padding: 26px; }
.theme-aurora .wish-form label, .theme-aurora .chips legend { color: #fff; }
.theme-aurora .wish-form :is(input[type=text], select, textarea) { background: rgba(0, 0, 0, .3); border-color: var(--line); color: #fff; transition: border-color .3s, box-shadow .3s; }
.theme-aurora .wish-form select option { background: var(--bg2); }
.theme-aurora .wish-form :is(input, select, textarea):focus { border-color: var(--a2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a2) 25%, transparent), 0 0 24px color-mix(in srgb, var(--a2) 30%, transparent); }
.theme-aurora .chips span { border-color: var(--line); background: rgba(255, 255, 255, .05); }
.theme-aurora .chips input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.theme-aurora .wish { background: rgba(255, 255, 255, .05); border-color: var(--line); }
.theme-aurora .wish.new { animation: auPop .8s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes auPop { from { transform: translateY(-20px) scale(.8); opacity: 0; filter: blur(6px); } }
.theme-aurora .wish-head b { color: #fff; }
.theme-aurora .wish p { color: #ddd8f5; }
.theme-aurora .tag { background: rgba(255, 255, 255, .1); color: #fff; }
.theme-aurora .tag-hadir { background: rgba(52, 211, 153, .16); color: #86efac; }
.theme-aurora .tag-tidak { background: rgba(244, 114, 182, .16); color: #f9a8d4; }
.theme-aurora .form-msg.ok { color: #86efac; }
.au-heart { position: fixed; z-index: 95; pointer-events: none; font-size: 20px; animation: auHeart 1.6s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes auHeart { to { transform: translate(var(--hx), var(--hy)) rotate(var(--hr)) scale(.4); opacity: 0; } }

/* ---------- hadiah: kartu hologram ---------- */
.theme-aurora .gift > .bank { display: inline-block; vertical-align: top; width: min(100%, 340px); margin: 0 6px 14px; }
.theme-aurora .gift > :is(.qris, .gift-address) { max-width: 420px; padding: 24px; margin-top: 6px; }
.theme-aurora .bank {
  background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 55%, #0b0820), color-mix(in srgb, var(--a3) 45%, #0b0820));
  border: 1px solid rgba(255, 255, 255, .25);
}
/* miring mengikuti kursor (lebih kuat dari transform:none milik kit animasi) */
.theme-aurora .gift > .bank.in[data-bank] { transform: perspective(800px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .3s ease-out, opacity .9s; }
.theme-aurora .bank::after {
  content: ""; position: absolute; inset: 0; right: 0; top: 0; width: auto; height: auto; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .45), transparent 40%),
              conic-gradient(from 90deg at var(--mx, 30%) var(--my, 20%), #ff7eb3, #7afcff, #feff9c, #b28dff, #ff7eb3);
  mix-blend-mode: overlay; opacity: .55;
}
.theme-aurora .bank-no { font-family: var(--sans); text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.theme-aurora .qris img { background: #fff; padding: 8px; }

/* ---------- penutup: kembang api ---------- */
.theme-aurora .closing { overflow: hidden; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--a1) 30%, transparent), transparent 65%); }
.au-fireworks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.theme-aurora .closing > :not(.au-fireworks) { position: relative; }
.theme-aurora .closing .lead { color: #e9e5ff; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.theme-aurora .closing-title { color: #fff; font-size: clamp(3.6rem, 12vw, 5.4rem); text-shadow: 0 0 34px color-mix(in srgb, var(--a3) 60%, transparent); }
.theme-aurora .foot { color: var(--muted); }
.theme-aurora .foot a { color: #fff; }

/* ---------- navigasi & musik ---------- */
.theme-aurora .dock { border-color: var(--line); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); }
.theme-aurora .dock a { color: var(--muted); }
.theme-aurora .dock a.active { background: var(--grad); background-size: 200% 100%; animation: auFlow 4s linear infinite; color: #fff; }
@media (min-width: 900px) { .theme-aurora .dock { left: 50%; } }
.theme-aurora .music-btn { background: var(--bg2); color: #fff; border: 0; box-shadow: 0 0 0 2px transparent; }
.theme-aurora .music-btn::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 2px; background: conic-gradient(from var(--au-ang), var(--a1), var(--a2), var(--a3), var(--a1)); animation: auSpinVar 3s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.theme-aurora .music-btn.playing { animation: none; }
.theme-aurora .music-btn.playing svg { animation: ambPulse 1s ease-in-out infinite; }

/* ---------- kursor bercahaya + jejak kilau (aurora.js, hanya mouse) ---------- */
.au-cursor { position: fixed; top: 0; left: 0; z-index: 99; pointer-events: none; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); mix-blend-mode: difference; transition: width .25s, height .25s, margin .25s, background .25s; }
.au-cursor.big { width: 64px; height: 64px; margin: -32px; background: rgba(255, 255, 255, .9); }
.au-spark { position: fixed; z-index: 98; pointer-events: none; width: 8px; height: 8px; margin: -4px; color: #fff; animation: auSpark .9s ease-out forwards; }
.au-spark::before { content: "✦"; position: absolute; inset: -4px; font-size: 12px; line-height: 16px; text-align: center; color: var(--c); text-shadow: 0 0 8px var(--c); }
@keyframes auSpark { to { transform: translate(var(--sx), var(--sy)) scale(0) rotate(160deg); opacity: 0; } }

.theme-aurora [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .au-stars i, .au-orbit svg, .au-orbit-photo, .au-orbit-dot, .theme-aurora .arch, .theme-aurora .arch img, .theme-aurora .cover::before,
  .theme-aurora :is(.person, .event, .wish-form, .qris, .gift-address, .dresscode, .livestream, .timeline li), .au-progress, .theme-aurora .kicker, .theme-aurora .btn { animation: none !important; }
  .au-ch { opacity: 1; transform: none; filter: none; transition: none; }
  .theme-aurora .timeline::before { transform: none; }
  .theme-aurora .cover { transition: opacity .6s; }
}
