:root {
  --bg: #0c0a08;
  --panel: #14110d;
  --ink: #f3e6c8;
  --muted: #9a8b72;
  --gold: #e8b84a;
  --gold-dim: #a37d28;
  --red: #c41e2a;
  --red-glow: #ff3b3b;
  --line: rgba(232, 184, 74, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Figtree, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, #2a1c10 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, #1a0c0c 0%, transparent 40%),
    var(--bg);
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.09;
  z-index: 8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.85'/></svg>");
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 8vw;
  position: relative;
  z-index: 2;
}

.lamp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

.lamp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a2a2a;
  box-shadow: none;
}

.lamp.live .lamp-dot {
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow), 0 0 22px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

.lamp.live .lamp-label { color: #ffd0d0; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.clock-wrap { text-align: right; }
.clock-city, .clock-zone {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
#clock {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin: 0.15rem 0;
}

.stage {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 4vh auto 0;
  padding: 0 1.5rem 3rem;
  text-align: center;
}

.badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  padding: 0.2rem 0.55rem 0.05rem;
  margin-bottom: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.4rem, 12vw, 6.4rem);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(232, 184, 74, 0.15);
}

.lede {
  margin: 1rem auto 2.2rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.02rem;
}

.play {
  appearance: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: inherit;
}

.play-icon {
  color: var(--gold);
  display: block;
  filter: drop-shadow(0 0 12px rgba(232, 184, 74, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.play:hover .play-icon,
.play:focus-visible .play-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px rgba(232, 184, 74, 0.55));
}

.play:focus-visible { outline: none; }
.play-text {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  color: var(--ink);
}

.eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 28px;
  margin: 1.4rem 0 0;
  opacity: 0.25;
}

.eq span {
  width: 4px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

.eq.on {
  opacity: 1;
}

.eq.on span {
  animation: eq 0.9s ease-in-out infinite;
}

.eq.on span:nth-child(1) { animation-delay: 0.05s; }
.eq.on span:nth-child(2) { animation-delay: 0.22s; }
.eq.on span:nth-child(3) { animation-delay: 0.1s; }
.eq.on span:nth-child(4) { animation-delay: 0.28s; }
.eq.on span:nth-child(5) { animation-delay: 0.16s; }
.eq.on span:nth-child(6) { animation-delay: 0.32s; }
.eq.on span:nth-child(7) { animation-delay: 0.12s; }

@keyframes eq {
  0%, 100% { height: 6px; }
  50% { height: 26px; }
}

.now {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.now-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.45rem;
}

.now-title {
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.now-artist {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.progress-wrap { margin-top: 1.6rem; }

.progress {
  height: 3px;
  background: rgba(243, 230, 200, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(232, 184, 74, 0.6);
}

.times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.volume-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: min(16rem, 70vw);
  height: 3px;
  background: rgba(243, 230, 200, 0.18);
  border-radius: 99px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 0;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 0;
}

.upnext {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.2em;
}

.status {
  margin-top: 0.7rem;
  color: #d97878;
  font-size: 0.9rem;
  min-height: 1.2em;
}

footer {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 0 1.5rem 3rem;
}

@media (max-width: 540px) {
  .top { padding: 1rem 1.2rem; }
  .stage { margin-top: 2vh; }
}
