:root {
  --ink: #f5f7f3;
  --muted: rgba(245, 247, 243, 0.72);
  --faint: rgba(245, 247, 243, 0.48);
  --line: rgba(245, 247, 243, 0.2);
  --glass: rgba(16, 34, 43, 0.48);
  --accent: #8fb4d8;
  --accent-bright: #c8e0f4;
  --night: #101e28;
  --pointer-x: 0px;
  --pointer-y: 0px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--night);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--night); }
button, a { font: inherit; }
button { border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.scene, .scene > div { position: fixed; inset: 0; pointer-events: none; }
.scene { z-index: 0; overflow: hidden; background: var(--night); }
.scene__image {
  background: url("assets/mountain-ride-final.png") center / cover no-repeat;
  filter: saturate(.9) contrast(1.04);
  transform: translate3d(calc(var(--pointer-x) * -1), calc(var(--pointer-y) * -1), 0) scale(1.045);
  animation: scene-drift 24s ease-in-out infinite alternate;
  will-change: transform;
}
.scene__veil { background: transparent; }
.scene__mist { background: radial-gradient(ellipse at 72% 24%, rgba(176, 202, 199, .16), transparent 35%), linear-gradient(90deg, rgba(4, 15, 18, .25), transparent 62%); mix-blend-mode: screen; animation: mist-drift 15s ease-in-out infinite alternate; }
.scene__grain { opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.rain { z-index: 2; overflow: hidden; opacity: .82; transition: opacity .35s ease; }
.rain-off .rain { opacity: 0; }
.drop { position: absolute; top: -14vh; left: var(--x); z-index: 2; width: 1.5px; height: var(--length); opacity: var(--opacity); background: linear-gradient(transparent, rgba(225, 242, 255, .98)); transform: rotate(14deg); animation: rain-fall var(--speed) linear var(--delay) infinite; }
@keyframes rain-fall { to { transform: translate3d(-10vw, 120vh, 0) rotate(14deg); } }
@keyframes scene-drift { from { background-position: 48% 50%; } to { background-position: 52% 48%; } }
@keyframes mist-drift { from { opacity: .62; transform: translate3d(-1%, 0, 0) scale(1); } to { opacity: .95; transform: translate3d(2%, -1%, 0) scale(1.05); } }

.site-shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; padding: 10px 38px 28px; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; }
.time-pill { display: inline-flex; align-items: baseline; gap: 7px; width: max-content; padding: 10px 0; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.time-pill__zone { color: var(--faint); font-size: 9px; letter-spacing: .15em; }
.live-badge { display: flex; align-items: center; gap: 8px; padding-top: 7px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.live-badge__dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #afd08e; box-shadow: 0 0 10px rgba(175, 208, 142, .75); }
.live-badge__dot::before { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(175, 208, 142, .6); border-radius: 50%; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 75%, 100% { opacity: 0; transform: scale(2.3); } }
.live-badge__label { color: var(--ink); font-weight: 500; }
.platform-links { display: flex; justify-content: flex-end; gap: 10px; }
.platform-links a { padding: 10px 0 10px 15px; color: var(--ink); font-size: 12px; font-weight: 500; transition: .2s ease; }
.platform-links a:hover { color: var(--accent-bright); transform: translateY(-1px); }
.platform-links > a > span:last-child { color: var(--accent); }
.platform-icon { display: none; }
.platform-icon svg { display: block; width: 19px; height: 19px; }

.hero { display: flex; flex-direction: column; align-items: center; width: min(100%, 1000px); margin: 0 auto; padding: 88px 6vw 7vh; text-align: center; animation: hero-in .9s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { color: var(--accent-bright); font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.hero h1 { max-width: 1000px; margin: 0; font-family: "Yatra One", "Noto Sans Devanagari", sans-serif; font-size: clamp(58px, 10vw, 148px); font-weight: 400; letter-spacing: .015em; line-height: .84; text-shadow: 0 10px 35px rgba(0,0,0,.38); }
.hero h1 .hero-word { display: inline-block; color: var(--accent-bright); }
.hero h1 .hero-word--tilted { transform: translateY(-.04em) rotate(-3deg); }
.hero h1 .hero-word--straight { position: relative; top: -.14em; margin-left: 0; margin-right: -.38em; color: var(--ink); font-size: .68em; transform: none; }
.hero__copy { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.hero__meta { display: flex; gap: 24px; margin-top: 30px; color: var(--faint); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hero__meta i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.player-wrap { position: relative; width: min(100%, 680px); margin: auto auto 0; padding: 0 0 2px; }
.youtube-player { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.up-next { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; min-width: 0; margin: 0 auto -1px; padding: 9px 14px 8px; border: 1px solid rgba(248,244,237,.12); border-bottom: 0; border-radius: 18px 18px 0 0; background: rgba(7, 19, 24, .4); backdrop-filter: blur(18px); color: var(--muted); font-size: 11px; }
.up-next > span { color: var(--accent); font-size: 9px; letter-spacing: .18em; }
.up-next strong { color: var(--ink); font-weight: 500; }
.mini-button { margin-left: auto; padding: 4px 0 4px 12px; background: none; color: var(--faint); font-size: 11px; }
.mini-button span { color: var(--accent-bright); font-size: 16px; }
.player { position: relative; display: flex; align-items: center; gap: 15px; min-height: 122px; padding: 12px 18px 12px 12px; border: 1px solid rgba(245,247,243,.28); border-radius: 68px; background: linear-gradient(110deg, rgba(20, 45, 55, .36), rgba(102, 115, 104, .18)); box-shadow: 0 18px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2); backdrop-filter: blur(25px) saturate(140%); -webkit-backdrop-filter: blur(25px) saturate(140%); }
.player.is-playing { animation: player-breathe 4.5s ease-in-out infinite alternate; }
body.track-change .player { animation: track-flash .8s cubic-bezier(.2,.8,.2,1); }
.player__cover-wrap { position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; }
.player__cover { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; object-fit: cover; object-position: center; transform: scale(1.32); box-shadow: 0 9px 25px rgba(0,0,0,.4); animation: spin 9s linear infinite; animation-play-state: paused; }
.is-playing .player__cover { animation-play-state: running; }
.player__cover-hole { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(3, 10, 12, .8); }
@keyframes spin { from { transform: scale(1.32) rotate(0deg); } to { transform: scale(1.32) rotate(360deg); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes player-breathe { from { box-shadow: 0 18px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.16); } to { box-shadow: 0 22px 74px rgba(5, 24, 30, .55), 0 0 0 1px rgba(216,184,121,.14), inset 0 1px 0 rgba(255,255,255,.2); } }
@keyframes track-flash { 0% { filter: brightness(1); transform: scale(1); } 34% { filter: brightness(1.16); transform: scale(1.012); } 100% { filter: brightness(1); transform: scale(1); } }
.player__details { min-width: 0; flex: 1; }
.player__title, .player__artist { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player__title { color: var(--ink); font-size: 14px; font-weight: 700; }
.player__artist { margin-top: 3px; color: var(--muted); font-size: 12px; }
.timeline { margin-top: 17px; }
.seek { position: relative; display: block; width: 100%; height: 14px; padding: 0; background: transparent; }
.seek__rail { position: absolute; top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%); overflow: hidden; border-radius: 99px; background: rgba(248,244,237,.2); }
.seek__progress { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent-bright); }
.seek__thumb { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); opacity: 0; transition: opacity .2s; }
.seek:hover .seek__thumb { opacity: 1; }
.time-row { display: flex; justify-content: space-between; margin-top: 5px; color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.player__controls { display: flex; align-items: center; gap: 4px; }
.icon-button { width: 34px; height: 34px; border-radius: 50%; background: transparent; color: rgba(248,244,237,.78); font-size: 12px; transition: .2s ease; }
.icon-button:hover { background: rgba(255,255,255,.1); color: var(--ink); }
.play-button { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #122126; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s ease; }
.play-button:hover { transform: scale(1.05); }
.is-hidden { display: none; }
.player-footer { display: flex; justify-content: center; align-items: center; padding: 12px 18px 0; color: var(--faint); font-size: 10px; }
.rain-toggle { padding: 0; background: none; color: var(--muted); font-size: 11px; }
.rain-toggle__icon { color: var(--accent); font-size: 16px; }
.rain-toggle[aria-pressed="false"] { color: var(--faint); }

.playlist-panel { position: absolute; right: 0; bottom: 56px; left: 0; z-index: 5; max-height: 0; overflow: hidden; border: 1px solid transparent; border-radius: 24px; background: rgba(5, 17, 22, .92); backdrop-filter: blur(28px); opacity: 0; transform: translateY(14px); transition: max-height .38s ease, opacity .25s ease, transform .38s ease, border-color .25s ease; pointer-events: none; }
.playlist-panel.is-open { max-height: min(520px, 68vh); border-color: var(--line); opacity: 1; transform: translateY(0); pointer-events: auto; }
.playlist-panel__header { display: flex; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.playlist-panel h2 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
.close-button { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--muted); font-size: 23px; }
.playlist-list { max-height: 400px; padding: 8px 10px 12px; overflow-y: auto; }
.playlist-track { display: grid; grid-template-columns: 28px 46px minmax(0, 1fr); align-items: center; width: 100%; gap: 10px; padding: 9px 10px; border-radius: 13px; background: transparent; text-align: left; transition: .15s ease; }
.playlist-track:hover, .playlist-track.is-current { background: rgba(255,255,255,.09); }
.playlist-track__number { color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.playlist-track.is-current .playlist-track__number { color: var(--accent-bright); }
.playlist-track__cover { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.playlist-track__title, .playlist-track__artist { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-track__title { color: var(--ink); font-size: 12px; font-weight: 600; }
.playlist-track__artist { margin-top: 3px; color: var(--muted); font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 760px) {
  .site-shell { padding: 8px 18px 24px; }
  .topbar { grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; }
  .live-badge { justify-self: center; padding: 0; font-size: 10px; gap: 5px; }
  .platform-links { min-width: 54px; gap: 10px; }
  .platform-links a { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-width: 22px; gap: 3px; padding: 8px 0; font-size: 0; }
  .platform-links a > span:last-child { display: none; }
  .platform-label { display: none; }
  .platform-icon { display: inline-flex; flex: 0 0 20px; width: 20px; min-width: 20px; color: var(--ink); line-height: 1; }
  .platform-icon--spotify svg { width: 20px; height: 20px; }
  .platform-icon--youtube svg { width: 20px; height: 20px; }
  .hero { padding: 88px 3vw 7vh; }
  .hero h1 { font-size: clamp(58px, 18vw, 100px); }
  .hero__copy { font-size: 13px; }
  .hero__meta { gap: 14px; font-size: 9px; }
  .up-next { width: max-content; max-width: 100%; }
  .player { gap: 10px; padding-right: 10px; }
  .player__cover-wrap { width: 70px; height: 70px; }
  .player__title { font-size: 12px; }
  .player__artist { font-size: 10px; }
  .timeline { margin-top: 10px; }
  .player__controls { gap: 0; }
  .icon-button { width: 27px; font-size: 10px; }
  .play-button { width: 42px; height: 42px; font-size: 13px; }
  .player-footer { padding-inline: 12px; }
  .playlist-panel { bottom: 50px; }
}
