:root {
  --bg: #090b10;
  --panel: rgba(16, 20, 28, 0.82);
  --panel-border: rgba(163, 196, 255, 0.2);
  --text: #f4f7fb;
  --muted: #a8b3c6;
  --accent: #91e4ff;
  --accent-strong: #5bb2ff;
  --glow: rgba(91, 178, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(91, 178, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #06080c 0%, #0d1017 100%);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

.shell {
  width: min(920px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.hero,
.player,
.details {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 2.5rem;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(145, 228, 255, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lede {
  width: min(36rem, 100%);
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.player {
  margin-top: 1.5rem;
  padding: 1.75rem;
}

audio {
  width: 100%;
  border-radius: 18px;
  filter: drop-shadow(0 0 16px var(--glow));
}

.actions {
  margin-top: 1rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.status-chip.online {
  background: rgba(76, 201, 167, 0.14);
  color: #c9fff0;
}

.status-chip.offline {
  background: rgba(255, 102, 102, 0.14);
  color: #ffd3d3;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.status-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-panel {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.status-panel.offline {
  background: rgba(255, 102, 102, 0.08);
  color: #ffd3d3;
}

.status-panel.neutral {
  background: rgba(145, 228, 255, 0.08);
  color: var(--accent);
}

.actions a {
  color: var(--accent);
  text-decoration: none;
}

.actions a:hover {
  color: var(--text);
}

.details {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.details div {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

code,
strong {
  font-size: 0.95rem;
}

code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--accent);
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 1rem, 100%);
    padding: 1rem 0 2rem;
  }

  .hero,
  .player,
  .details {
    border-radius: 22px;
  }

  .hero,
  .player,
  .details {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .details {
    grid-template-columns: 1fr;
  }
}
