:root {
  color-scheme: dark;
  --dawn: 0;
  --gold: #ffd98a;
  --cream: #fff4d6;
  --ink: #3b1a09;
  --font: 'Hind Siliguri', 'Nunito', system-ui, sans-serif;
  --display: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --title: 'Galada', 'Baloo Da 2', cursive;
}
html[lang="en"] { --font: 'Nunito', system-ui, sans-serif; --display: 'Fraunces', Georgia, serif; --title: 'Fraunces', Georgia, serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #141943; }
body { margin: 0; min-height: 100vh; font-family: var(--font); font-size: 18px; line-height: 1.5; color: var(--cream); overflow-x: hidden; }
a { color: var(--gold); }
button { font: inherit; }
svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* Sky: night fades to dawn as the broadcast plays (--dawn 0 → 1) */
.sky, .sky > div { position: fixed; inset: 0; }
.sky { z-index: -3; }
.sky-night { background: radial-gradient(900px 600px at 50% 110%, #2a2560 0%, transparent 70%), linear-gradient(180deg, #0b0f2e 0%, #141943 45%, #2a2465 100%); }
.sky-dawn { opacity: var(--dawn); transition: opacity 3s linear;
  background: linear-gradient(180deg, #2c2a6e 0%, #6a4c93 30%, #c8728a 58%, #f6a76e 80%, #fbd59a 100%); }
.stars { opacity: calc(1 - var(--dawn) * 1.3); transition: opacity 3s linear;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 210px 150px, #fff, transparent), radial-gradient(1px 1px at 300px 40px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 360px 200px, #fff, transparent), radial-gradient(1px 1px at 80px 260px, #fff, transparent);
  background-size: 400px 320px; animation: twinkle 6s ease-in-out infinite; }
@keyframes twinkle { 50% { filter: brightness(.6); } }
.sun { opacity: var(--dawn); transition: opacity 3s linear, transform 3s linear;
  background: radial-gradient(500px 360px at 50% 100%, rgba(255, 236, 190, .95), rgba(255, 180, 110, .4) 40%, transparent 70%);
  transform: translateY(calc((1 - var(--dawn)) * 30vh)); }

.kash-wrap { position: fixed; left: 0; right: 0; bottom: 0; height: 26vh; z-index: -1; pointer-events: none; }
.kash-field { width: 100%; height: 100%; }
.kash { animation: sway 4.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
.shiuli { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.flower { position: absolute; top: -40px; animation: fall linear forwards; opacity: .95; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
@keyframes fall { to { transform: translate(var(--drift, 0), 110vh) rotate(420deg); } }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 28vh; position: relative; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { font-family: var(--title); color: var(--gold); font-size: 22px; }
.lang-btn { background: rgba(255, 255, 255, .1); color: var(--cream); border: 2px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 16px; min-height: 44px; font-weight: 700; cursor: pointer; }

.title { font-family: var(--title); color: var(--gold); text-align: center; font-weight: 400; font-size: clamp(46px, 13vw, 70px); line-height: 1.05; margin: 6px 0 4px; text-shadow: 0 0 30px rgba(255, 200, 120, .5); }
html[lang="en"] .title { font-weight: 700; }
.shloka { text-align: center; font-family: 'Hind Siliguri', sans-serif; color: rgba(255, 244, 214, .8); font-size: 15px; margin: 0 0 6px; }
.sub { text-align: center; margin: 0 auto 14px; max-width: 34ch; color: #e8e4ff; }
.invited { background: rgba(255, 217, 138, .15); border: 1px dashed var(--gold); border-radius: 14px; padding: 10px 14px; text-align: center; font-weight: 600; }

/* Radio */
.radio-wrap { margin: 0 -6px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)); }
.radio-wrap .needle { transition: transform 1.6s cubic-bezier(.3, 1.4, .5, 1); }
.radio-wrap .dial-glow, .radio-wrap .speaker-glow, .radio-wrap .freq-label { transition: opacity 1.2s ease; }
.radio-wrap.is-on .knob-r { animation: turn .9s ease-out; }
@keyframes turn { from { transform: rotate(-120deg); } }
.radio-wrap.is-on .speaker-glow { animation: hum 2.4s ease-in-out infinite; }
@keyframes hum { 50% { opacity: .35; } }
.radio-wrap.is-on { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)) drop-shadow(0 0 40px rgba(255, 190, 110, .35)); }
.radio-wrap.gold { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)) drop-shadow(0 0 30px rgba(255, 215, 120, .55)); }

/* Form + buttons */
.tune { display: grid; gap: 8px; margin-top: 12px; }
.tune label { font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.tune input { font: inherit; font-size: 20px; padding: 12px 16px; min-height: 56px; border-radius: 16px; border: 3px solid rgba(255, 217, 138, .5); background: #fffaf0; color: var(--ink); }
.tune input:focus { outline: none; border-color: var(--gold); }
.err { color: #ffb3a7; font-weight: 700; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255, 217, 138, .45); background: rgba(20, 16, 50, .85); color: var(--cream); border-radius: 999px; padding: 6px 12px; min-height: 40px; cursor: pointer; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 0 22px; border-radius: 999px; border: 0; font-size: 20px; font-weight: 800; cursor: pointer; text-decoration: none; font-family: var(--display); }
.btn:active { transform: scale(.97); }
.btn-on { margin-top: 8px; width: 100%; background: linear-gradient(180deg, #ffcf6b, #e8860c); color: #3b1a09; box-shadow: 0 0 30px rgba(255, 190, 90, .55); font-size: 22px; }
.btn-durga { width: 100%; background: linear-gradient(180deg, #c0182b, #7a0c1a); color: #ffe7a3; border: 2px solid #e8c36a; box-shadow: 0 0 24px rgba(192, 24, 43, .45); font-size: 19px; }
.tune .msg { margin: 4px 0 0; text-align: center; color: var(--gold); }
.tune .msg:empty { display: none; }
.btn-off { width: 100%; background: rgba(255, 255, 255, .1); color: var(--cream); border: 2px solid rgba(255, 255, 255, .3); }
.row { margin-top: 12px; }
.btn-status { background: linear-gradient(180deg, #2ec266, #168a45); color: #fff; }
.btn-friend { background: var(--gold); color: #3b1a09; }
.btn-ghost { background: rgba(59, 26, 9, .08); color: var(--ink); border: 2px solid rgba(59, 26, 9, .2); }

/* Calendar reminder */
.remind { margin-top: 12px; text-align: center; }
.btn-remind { width: 100%; background: rgba(255, 217, 138, .14); color: var(--gold); border: 2px solid rgba(255, 217, 138, .6); }
.card .btn-remind { background: #fff3dc; color: #8a4a14; border-color: #e8c36a; }
.remind .small { margin: 6px 0 0; }
.card .remind .small { color: #6a5040; }

/* Broadcast frame (YouTube must stay visible) */
.broadcast { margin: 18px 0; background: linear-gradient(180deg, #5e2f15, #3b1a09); border: 3px solid #c9a65a; border-radius: 20px; padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.broadcast.idle { opacity: .85; }
.onair { margin: 0 0 8px; font-weight: 800; color: #ffcf6b; display: flex; align-items: center; gap: 8px; justify-content: center; letter-spacing: .5px; }
.onair .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5a2a; box-shadow: 0 0 10px #ff5a2a; animation: blink 1.4s infinite; }
.broadcast.idle .dot { background: #5a1a10; box-shadow: none; animation: none; }
@keyframes blink { 50% { opacity: .3; } }
.player-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border-radius: 12px; overflow: hidden; background: #000; }
.player-frame iframe, .player-frame > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.novideo { margin: 0; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; }

/* Personal card */
.card { position: relative; margin-top: 8px; background: rgba(255, 250, 240, .95); color: var(--ink); border-radius: 24px; padding: 22px 18px 18px; text-align: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); border: 2px solid #e8c36a; }
.ribbon { position: absolute; top: -14px; right: 14px; background: linear-gradient(180deg, #f9e19a, #d9a83c); color: #3b1a09; font-weight: 800; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.card h2 { margin: 0; font-family: var(--title); font-weight: 400; color: #7b1e3a; font-size: 34px; line-height: 1.15; }
html[lang="en"] .card h2 { font-weight: 700; font-size: 28px; }
.station { margin: 6px 0 0; font-weight: 800; color: #8a4a14; }
.time { margin: 2px 0 10px; color: #6a5040; }
.bless { background: #fff3dc; border-radius: 16px; padding: 12px 14px; }
.bless h3 { margin: 0 0 4px; font-size: 15px; color: #b8551a; }
.bless p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.4; }
.wish { margin: 12px 0 0; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
.msg { margin: 8px 0 0; font-size: 15px; color: #6a5040; }
.msg:empty { display: none; }

/* Support + shopping */
.support, .jhuli { margin-top: 18px; background: rgba(20, 16, 50, .55); border: 1px solid rgba(255, 217, 138, .4); border-radius: 22px; padding: 16px; text-align: center; backdrop-filter: blur(6px); }
.support h3, .jhuli h3 { margin: 0 0 6px; color: var(--gold); font-family: var(--display); font-size: 21px; }
.support p { margin: 0 0 10px; }
.support.done { border-color: var(--gold); box-shadow: 0 0 24px rgba(255, 215, 120, .3); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.amt { display: grid; place-items: center; min-height: 56px; border-radius: 16px; background: linear-gradient(180deg, #ffe7a3, #d9a43c); color: #3b1a09; font-weight: 800; font-size: 20px; text-decoration: none; font-family: var(--display); }
.thanks { color: var(--gold); font-weight: 800; }
.small { font-size: 14px; color: #d9d4f2; }
.jhuli-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 6px; }
.jitem { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 250, 240, .95); color: var(--ink); text-decoration: none; font-weight: 700; text-align: left; }
.jitem span { font-size: 22px; }

footer { text-align: center; padding: 26px 0 0; font-size: 15px; color: #e8e4ff; }
footer p { max-width: 40ch; margin: 8px auto; }
.cross { display: grid; gap: 10px; margin-bottom: 10px; }
.cross a { display: block; padding: 12px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: var(--cream); text-decoration: none; font-weight: 700; }
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.page { background: rgba(255, 250, 240, .96); color: var(--ink); border-radius: 22px; padding: 20px 22px 8px; }
.page a { color: #b8551a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
