:root {
  --bg: #0a0a0a;
  --panel: rgba(0, 0, 0, 0.66);
  --text: #cfcfcf;
  --muted: #aeaeae;
  --teal: #38bdf8;
  --magenta: #b902c4;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.88)),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.12), transparent 28%),
    radial-gradient(circle at 80% 5%, rgba(185, 2, 196, 0.15), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--white);
  border-color: var(--magenta);
}

.page-shell {
  width: min(95%, 1160px);
  margin: 0 auto;
  padding: 28px 0 54px;
  position: relative;
}

.page-shell--player {
  width: min(100% - 20px, 760px);
  padding-top: 14px;
  padding-bottom: 18px;
}

.page-header,
.panel {
  position: relative;
  z-index: 1;
}

.page-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.78));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 28px 32px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(185, 2, 196, 0.08), transparent 24%);
}

.page-header::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.player-page .page-header,
.player-page .panel {
  padding: 18px;
}

.player-page .page-header {
  margin-bottom: 14px;
}

.eyebrow,
.label,
.meta-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--white);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h3 {
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  line-height: 1.6;
}

.lede,
.launch-note,
.hero-actions,
.panel,
.mix-meta {
  margin-top: 22px;
}

.lede {
  margin-bottom: 0;
  max-width: 62ch;
  font-size: 1.02rem;
}

.panel {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.74));
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-mix {
  max-width: 760px;
}

.featured-mix h2 {
  margin-top: 10px;
}

.mix-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.mix-meta > div,
.audio-card {
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid var(--line);
}

.mix-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  color: var(--teal);
  font-weight: 600;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  color: var(--white);
  border-color: rgba(185, 2, 196, 0.3);
}

.player-stack {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.audio-card audio {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.audio-link-row {
  margin: 12px 0 0;
}

.launch-note {
  padding: 14px 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.62);
  border-left: 4px solid var(--magenta);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

code {
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1100px);
    padding-top: 18px;
  }

  .page-header,
  .panel {
    border-radius: 10px;
    padding: 18px;
  }

  .panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
