:root {
  --bg0: #07090f;
  --bg1: #0d121c;
  --ink: #eef2ff;
  --muted: #9aa6bf;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3de0c0;
  --accent-2: #5b8cff;
  --danger: #ff6b7a;
  --glass: rgba(16, 22, 34, 0.62);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg0);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(91, 140, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(61, 224, 192, 0.16), transparent 55%),
    linear-gradient(160deg, #07090f 0%, #0b1020 45%, #0a0e16 100%);
  z-index: -2;
}

.orb {
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a {
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.55), transparent 70%);
}
.orb-b {
  right: -10%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(61, 224, 192, 0.45), transparent 70%);
  animation-duration: 22s;
  animation-delay: -4s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

.shell {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 1.75rem;
  padding: 2.5rem 0 2rem;
}

.brand-mark {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 20%, #b8c7ff 55%, #7ef0d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-in 0.9s ease both;
}
.brand-sub {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: brand-in 0.9s ease 0.12s both;
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.stage {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.35rem;
  animation: brand-in 0.9s ease 0.2s both;
}

.live-row { display: flex; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.live-pill[data-state="on"] {
  border-color: rgba(61, 224, 192, 0.35);
  color: var(--accent);
}
.live-pill[data-state="off"] { color: var(--danger); }
.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}
.live-pill[data-state="on"] .live-dot {
  box-shadow: 0 0 0 0 rgba(61, 224, 192, 0.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 224, 192, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 224, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 224, 192, 0); }
}

.now-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.now-title {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.player {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.play-btn {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #061018;
  background: linear-gradient(135deg, var(--accent), #7ef0d5 40%, var(--accent-2));
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.play-btn:hover { transform: scale(1.04); filter: brightness(1.05); }
.play-btn:active { transform: scale(0.98); }
.hidden { display: none !important; }

.vol { flex: 1; min-width: 160px; }
.vol input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.meta div {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.meta dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meta dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
  font-size: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.link {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.link:hover {
  border-color: rgba(61, 224, 192, 0.45);
  background: rgba(61, 224, 192, 0.08);
}

.foot {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.sep { opacity: 0.5; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 640px) {
  .meta { grid-template-columns: 1fr; }
  .shell { padding-top: 1.5rem; }
}
