:root {
  --night: #07030f;
  --night2: #170828;
  --maroon: #35091d;
  --gold: #ffd36b;
  --gold-2: #ff9f1c;
  --saffron: #ff7a00;
  --pink: #ff4d8d;
  --violet: #9b5cff;
  --text: #fff6e6;
  --muted: #d9c3a5;
  --line: rgba(255, 211, 107, 0.18);
  --hi: "Yatra One", "Mukta", "Nirmala UI", system-ui, sans-serif;
  --body: "Mukta", "Nirmala UI", system-ui, sans-serif;
  --ui: "Outfit", "Mukta", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(90% 60% at 50% 115%, rgba(255, 110, 30, .28), transparent 60%),
    radial-gradient(70% 50% at 100% 0%, rgba(155, 92, 255, .14), transparent 60%),
    radial-gradient(60% 40% at 0% 30%, rgba(255, 77, 141, .10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night2) 45%, var(--maroon) 100%) fixed;
  background-color: var(--night);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body::after { /* fine film grain for depth */
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.locked { overflow: hidden; height: 100vh; }
button, input { font: inherit; color: inherit; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Background sky lanterns ---------- */
#lanterns { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.lantern { position: absolute; bottom: -80px; width: 22px; height: 30px; animation: rise linear infinite; opacity: 0; }
body.started .lantern { opacity: 1; }
.lantern i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, #ffb347 0%, #ff7a00 60%, #c43d00 100%);
  border-radius: 40% 40% 18% 18% / 50% 50% 18% 18%;
  box-shadow: 0 0 18px 6px rgba(255, 150, 40, .5), inset 0 -6px 10px rgba(255, 240, 180, .8);
  animation: sway 4s ease-in-out infinite alternate;
}
@keyframes rise { from { transform: translateY(0); } to { transform: translateY(-125vh); } }
@keyframes sway { from { transform: translateX(-14px) rotate(-5deg); } to { transform: translateX(14px) rotate(5deg); } }

/* ---------- Diya ---------- */
.diya { background: none; border: 0; cursor: pointer; display: inline-block; position: relative; }
.diya-svg { width: 100%; height: auto; display: block; overflow: visible; }
.diya .flame { transform-origin: 50px 57px; transform-box: view-box; transition: transform .5s cubic-bezier(.3,1.6,.5,1), opacity .4s; }
.diya .glow { transition: opacity .6s; }
.diya:not(.lit) .flame { opacity: 0; transform: scale(.15); }
.diya:not(.lit) .glow { opacity: 0; }
.diya.lit .flame { animation: flicker 1.6s ease-in-out infinite alternate; }
.diya.lit .glow { animation: glowPulse 2.2s ease-in-out infinite alternate; }
@keyframes flicker {
  0% { transform: scale(1, 1) skewX(0deg); }
  25% { transform: scale(.96, 1.06) skewX(2deg); }
  50% { transform: scale(1.03, .95) skewX(-2deg); }
  75% { transform: scale(.98, 1.04) skewX(1deg); }
  100% { transform: scale(1, 1.01) skewX(-1deg); }
}
@keyframes glowPulse { from { opacity: .7; } to { opacity: 1; } }

/* ---------- Gate ---------- */
#gate {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(60% 50% at 50% 55%, rgba(80, 20, 40, .55), rgba(6, 2, 14, .97) 70%);
  transition: opacity 1.1s ease, visibility 1.1s;
}
#gate.gone { opacity: 0; visibility: hidden; }
.gate-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gate-kicker { color: var(--muted); font-size: 1.05rem; max-width: 22em; }
.big-diya { width: min(52vw, 220px); margin: 18px 0 6px; }
.big-diya .ring {
  position: absolute; left: 50%; top: 62%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); border: 2px solid rgba(255, 211, 107, .55);
  animation: ping 1.8s ease-out infinite; pointer-events: none;
}
.big-diya.lit .ring { display: none; }
@keyframes ping { from { transform: translate(-50%, -50%) scale(.6); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.gate-title { font-family: var(--hi); font-weight: 400; font-size: clamp(2.2rem, 10vw, 3.4rem); color: var(--gold); text-shadow: 0 0 24px rgba(255, 160, 40, .6); }
.gate-sub { color: var(--muted); font-family: var(--ui); }

/* ---------- Hero ---------- */
main { position: relative; z-index: 2; transition: opacity .8s ease; }
body.skymode main { opacity: .07; pointer-events: none; }
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(36px + env(safe-area-inset-top)) 16px 56px; position: relative; gap: 6px;
}
#rangoli {
  position: absolute; top: 50%; left: 50%; width: min(108vw, 660px); height: min(108vw, 660px);
  transform: translate(-50%, -58%); opacity: 0; z-index: -1; pointer-events: none; transition: opacity 2s ease;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%); mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}
body.started #rangoli { opacity: .3; animation: spin 140s linear infinite; }
@keyframes spin { from { transform: translate(-50%, -58%) rotate(0); } to { transform: translate(-50%, -58%) rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1), filter 1s ease; }
body.started .reveal { opacity: 1; transform: none; filter: none; }
body.started .reveal:nth-child(3) { transition-delay: .15s; }
body.started .reveal:nth-child(4) { transition-delay: .3s; }
body.started .reveal:nth-child(5) { transition-delay: .5s; }
body.started .reveal:nth-child(6) { transition-delay: .75s; }
body.started .reveal:nth-child(7) { transition-delay: 1s; }
body.started .reveal:nth-child(8) { transition-delay: 1.2s; }
body.started .reveal:nth-child(9) { transition-delay: 1.4s; }
body.started .reveal:nth-child(10) { transition-delay: 1.7s; }

.kicker {
  font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); padding: 8px 16px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255, 211, 107, .07); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kicker span { color: var(--pink); }
.to-line { font-size: clamp(1.1rem, 4.5vw, 1.5rem); color: var(--muted); }
.title-hi {
  font-family: var(--hi); font-weight: 400; line-height: 1.22;
  font-size: clamp(3.3rem, 16vw, 8rem); padding: 0 .1em;
  background: linear-gradient(100deg, #ffcf5a 0%, #fff6d6 22%, #ffb22e 45%, #ff7a00 60%, #ffe39a 80%, #ffcf5a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 150, 30, .45));
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.title-en {
  font-family: var(--ui); font-weight: 800; text-transform: uppercase; letter-spacing: .42em;
  font-size: clamp(.95rem, 4.2vw, 1.5rem); color: #ffe3a3; margin: -2px 0 0 .42em;
  text-shadow: 0 0 18px rgba(255, 120, 60, .5);
}
.hero-msg { font-size: clamp(1.05rem, 4.4vw, 1.3rem); line-height: 1.6; max-width: 30em; margin-top: 16px; color: #f4e6cf; }
.from-line { font-family: var(--hi); font-size: clamp(1.15rem, 5vw, 1.6rem); color: var(--gold); margin-top: 6px; }

.diya-row { display: flex; gap: clamp(2px, 1.4vw, 14px); justify-content: center; margin-top: 28px; flex-wrap: nowrap; }
.diya-row .diya { width: clamp(42px, 11.5vw, 82px); transition: transform .2s; }
.diya-row .diya:active { transform: scale(.92); }
.diya-row .diya:not(.lit) { animation: bob 2.4s ease-in-out infinite; }
.diya-row .diya:nth-child(2n):not(.lit) { animation-delay: .4s; }
.diya-row .diya:nth-child(3n):not(.lit) { animation-delay: .8s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.hint { color: var(--muted); font-size: .95rem; min-height: 1.5em; font-family: var(--ui); }
.scroll-cue { margin-top: 18px; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 211, 107, .5); display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 16px 0; margin: 10px 0 34px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 122, 0, .10), rgba(255, 77, 141, .08), rgba(155, 92, 255, .10));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 26px; align-items: center; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--hi); font-size: clamp(1.3rem, 4.8vw, 1.9rem); color: #ffe6b0; white-space: nowrap; }
.marquee-track span:nth-of-type(even) { font-family: var(--ui); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.95rem, 3.4vw, 1.25rem);
  -webkit-text-stroke: 1px rgba(255, 211, 107, .75); color: transparent; }
.marquee-track b { color: var(--pink); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { width: min(980px, calc(100% - 32px)); margin: 0 auto 70px; }
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.fade-up.shown { opacity: 1; transform: none; }
.sec-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.sec-num {
  font-family: var(--ui); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 211, 107, .55);
}
.sec-hi { font-family: var(--hi); font-weight: 400; font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.15; color: var(--gold); }
.sec-en { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* animated glowing gradient border */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.frame {
  position: relative; border-radius: 26px; padding: 1.5px;
  background: conic-gradient(from var(--ang), rgba(255,211,107,.15), rgba(255,159,28,.9), rgba(255,77,141,.7), rgba(155,92,255,.6), rgba(255,211,107,.15) 70%, rgba(255,211,107,.15));
  animation: spinBorder 8s linear infinite;
  box-shadow: 0 30px 80px -30px rgba(255, 110, 30, .45);
}
@keyframes spinBorder { to { --ang: 360deg; } }
.frame > * { border-radius: 25px; }

/* ---------- River scene ---------- */
.scene { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0520; }
@media (min-width: 640px) { .scene { aspect-ratio: 16 / 9; } }
#river { display: block; width: 100%; height: 100%; }
.caption { position: absolute; left: 0; right: 0; top: 7%; text-align: center; padding: 0 16px; pointer-events: none;
  opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s ease; }
.caption.show { opacity: 1; transform: none; }
#capHi { font-family: var(--hi); font-size: clamp(1.35rem, 5.6vw, 2.1rem); color: #fff1cf; text-shadow: 0 0 18px rgba(255, 160, 40, .8), 0 2px 6px rgba(0, 0, 0, .6); line-height: 1.4; }
#capEn { font-family: var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-size: clamp(.7rem, 2.8vw, .85rem); text-shadow: 0 2px 6px rgba(0, 0, 0, .7); margin-top: 6px; }

/* ---------- Lanterns of Blessings ---------- */
.lsky {
  position: relative; height: clamp(520px, 130vw, 620px); overflow: hidden;
  background: radial-gradient(120% 70% at 50% 110%, #6b1d2c 0%, #2b0d33 45%, #0b0418 100%);
}
@media (min-width: 640px) { .lsky { height: 560px; } }
.lsky-moonglow { position: absolute; left: 50%; bottom: -30%; width: 140%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 150, 50, .35), transparent); filter: blur(10px); }
.lsky-stars { position: absolute; inset: 0; opacity: .8;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 32% 8%, #ffe, transparent),
    radial-gradient(1.4px 1.4px at 58% 22%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 90% 32%, #ffd, transparent), radial-gradient(1px 1px at 22% 40%, #fff, transparent),
    radial-gradient(1px 1px at 46% 46%, #fff, transparent), radial-gradient(1.3px 1.3px at 68% 38%, #fff, transparent),
    radial-gradient(1px 1px at 6% 52%, #fff, transparent), radial-gradient(1px 1px at 86% 56%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }
.lsky-city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26%; z-index: 4; }
.lsky-windows { position: absolute; inset: auto 0 0 0; height: 100%; z-index: 5; pointer-events: none; }
.lsky-windows i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffc85a;
  box-shadow: 0 0 6px 2px rgba(255, 170, 50, .7); animation: winGlow 3s ease-in-out infinite alternate; }
@keyframes winGlow { from { opacity: .35; } to { opacity: 1; } }
.lsky-line { position: absolute; left: 0; right: 0; top: 22px; z-index: 6; text-align: center; padding: 0 16px;
  font-family: var(--hi); font-size: clamp(1.05rem, 4.4vw, 1.4rem); color: #fff1cf; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.lsky-line small { font-family: var(--ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.sl { position: absolute; left: min(var(--x), calc(100% - 112px)); bottom: -150px; z-index: 3; pointer-events: none;
  animation: slRise var(--d) linear forwards; will-change: transform, opacity; }
.sl.far { z-index: 2; filter: blur(.6px) saturate(.85); }
.lsky.paused .sl, .lsky.paused .sl-sway { animation-play-state: paused; }
@keyframes slRise {
  0% { transform: translate3d(0, 0, 0) scale(var(--s)); opacity: 0; }
  8% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate3d(var(--dx), calc(-1 * var(--h)), 0) scale(calc(var(--s) * .7)); opacity: 0; }
}
.sl-sway { animation: slSway 4.5s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes slSway { from { transform: rotate(-4deg) translateX(-8px); } to { transform: rotate(4deg) translateX(8px); } }
.sl-body {
  width: 104px; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 46% 46% 22% 22% / 38% 38% 24% 24%;
  background:
    linear-gradient(90deg, transparent 29%, rgba(120, 30, 0, .14) 29% 30%, transparent 30% 70%, rgba(120, 30, 0, .14) 70% 71%, transparent 71%),
    radial-gradient(70% 60% at 50% 72%, #fff3c2 0%, #ffc04a 45%, #ff7f11 80%, #d14a00 100%);
  box-shadow: 0 0 40px 12px rgba(255, 140, 30, .45), 0 0 90px 30px rgba(255, 110, 20, .18), inset 0 -10px 18px rgba(255, 250, 220, .7), inset 0 10px 14px rgba(150, 40, 0, .35);
  animation: lanternGlow 2.6s ease-in-out infinite alternate;
}
@keyframes lanternGlow { from { filter: brightness(.95); } to { filter: brightness(1.12); } }
.sl-body b { font-family: var(--hi); font-weight: 400; font-size: 1.45rem; color: #6b1500; line-height: 1.1; text-shadow: 0 1px 0 rgba(255, 240, 200, .6); }
.sl-body small { font-family: var(--ui); font-size: .55rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a2a00; }
.sl-flame { display: block; width: 10px; height: 14px; margin: -4px auto 0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff, #ffd24a 50%, #ff7a00); box-shadow: 0 0 14px 6px rgba(255, 160, 40, .7);
  animation: flicker 1s ease-in-out infinite alternate; }

/* ---------- Wishes ---------- */
.wish-box { position: relative; min-height: 230px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 36px 26px 34px; background: linear-gradient(160deg, rgba(40, 14, 52, .94), rgba(20, 8, 32, .94)); overflow: hidden; }
.quote-mark { position: absolute; top: -22px; left: 14px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: rgba(255, 159, 28, .16); pointer-events: none; }
.wish-hi { font-size: clamp(1.3rem, 5.4vw, 1.75rem); line-height: 1.55; font-weight: 600; position: relative; }
.wish-en { color: var(--muted); font-family: var(--ui); font-size: clamp(.9rem, 3.4vw, 1.02rem); line-height: 1.55; position: relative; }
.wish-box.fade .wish-hi, .wish-box.fade .wish-en { animation: fadeUp .8s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.wish-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.wish-bar i { display: block; height: 100%; width: 100%; transform-origin: left; background: linear-gradient(90deg, var(--saffron), var(--pink)); animation: bar 6s linear; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dots { display: flex; gap: 8px; justify-content: center; position: absolute; left: 0; right: 0; bottom: -30px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255, 211, 107, .3); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button.on { background: var(--gold); width: 26px; border-radius: 6px; }

/* ---------- Sky writing ---------- */
.sky-form { display: flex; gap: 10px; padding: 12px; background: rgba(20, 8, 32, .92); }
.sky-form input {
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .3); font-size: 1.05rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.sky-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 211, 107, .2); }
.sky-form input::placeholder { color: rgba(217, 195, 165, .5); }
.btn {
  border: 0; cursor: pointer; padding: 14px 22px; border-radius: 16px; font-family: var(--ui); font-weight: 800; font-size: 1rem;
  background: linear-gradient(135deg, #ffcf5a, #ff8a00 60%, #ff4d8d); color: #2e0d00; white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(255, 120, 0, .6); transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(255, 120, 0, .75); }
.btn:active { transform: scale(.97); }

/* ---------- Footer ---------- */
footer { text-align: center; padding: 20px 16px calc(110px + env(safe-area-inset-bottom)); position: relative; z-index: 2; display: grid; gap: 10px; }
.foot-big { font-family: var(--hi); font-size: clamp(3rem, 17vw, 8rem); line-height: 1.15;
  background: linear-gradient(180deg, #ffe39a, rgba(255, 140, 30, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-sub { color: #f4e6cf; font-size: 1.05rem; }
.foot-small { font-family: var(--ui); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .8; }

/* ---------- Music button & toast ---------- */
.music-btn {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 20px; border: 1px solid rgba(255, 211, 107, .35); cursor: pointer;
  background: rgba(30, 12, 44, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4), 0 0 24px rgba(255, 140, 0, .25); display: grid; place-items: center;
}
.music-btn .eq { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.music-btn .eq i { width: 4px; background: linear-gradient(180deg, var(--gold), var(--saffron)); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.music-btn .eq i:nth-child(2) { animation-delay: .2s; } .music-btn .eq i:nth-child(3) { animation-delay: .4s; } .music-btn .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.music-btn .note { display: none; font-size: 1.6rem; font-weight: 800; }
.music-btn.off .eq { display: none; }
.music-btn.off .note { display: block; }

#toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  z-index: 60; padding: 12px 20px; border-radius: 16px; max-width: calc(100% - 32px); text-align: center;
  background: rgba(20, 8, 36, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 211, 107, .45); color: var(--text); font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .lantern, body.started #rangoli, .title-hi, .marquee-track, .frame { animation: none !important; }
}
.credit { margin-top: 18px; font-family: var(--ui); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.credit span { display: block; margin-top: 6px; font-size: 1.15rem; font-weight: 800; letter-spacing: .08em; text-transform: none;
  background: linear-gradient(90deg, #ffcf5a, #ff8a00, #ff4d8d); -webkit-background-clip: text; background-clip: text; color: transparent; }
