@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --bg: #06050d;
  --bg-2: #0f1023;
  --panel: rgba(17, 18, 39, 0.82);
  --panel-2: rgba(9, 10, 25, 0.9);
  --text: #f5efff;
  --muted: #c4bcdf;
  --line: rgba(241, 201, 121, 0.18);
  --accent: #7158ff;
  --accent-2: #4f78ff;
  --accent-3: #f1c979;
  --accent-4: #a89cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(113, 88, 255, 0.26), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(79, 120, 255, 0.22), transparent 20%),
    radial-gradient(circle at 60% 30%, rgba(241, 201, 121, 0.08), transparent 18%),
    linear-gradient(180deg, #07060f 0%, #0a0b18 34%, #05050c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.85) 0 1px, transparent 1.8px),
    radial-gradient(circle at 32% 44%, rgba(255,255,255,0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 64% 22%, rgba(241,201,121,0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 76% 62%, rgba(255,255,255,0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 28%, rgba(168,156,255,0.8) 0 1.3px, transparent 2px),
    radial-gradient(circle at 18% 72%, rgba(255,255,255,0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 52% 82%, rgba(255,255,255,0.55) 0 1px, transparent 1.8px);
  background-repeat: repeat;
  background-size: 340px 340px, 420px 420px, 520px 520px, 470px 470px, 560px 560px, 500px 500px, 610px 610px;
  opacity: 0.55;
}

body::after {
  inset: auto auto -120px -90px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255,255,255,0.82) 0 24%, rgba(241,201,121,0.95) 25%, rgba(241,201,121,0.14) 34%, transparent 35%),
    radial-gradient(circle, rgba(241,201,121,0.18), transparent 60%);
  filter: blur(1px);
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
  backdrop-filter: blur(18px);
}

.site-header .shell {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(113, 88, 255, 0.45));
}

.brand strong,
.stat-card strong,
.schedule-time,
.footer-links a,
.social-list a,
.button,
.nav-link {
  font-weight: 700;
}

.brand strong {
  letter-spacing: 0.04em;
}

.brand span,
.support-copy,
.footer-shell p,
.social-list a,
.nav-link,
.chip,
.clean-list li {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  cursor: pointer;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.2rem 0 0;
}

.nav-link,
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.68rem 0.95rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
  background: linear-gradient(135deg, rgba(113, 88, 255, 0.28), rgba(79, 120, 255, 0.18));
  box-shadow: 0 0 0 1px rgba(241, 201, 121, 0.1) inset;
}

.live-ribbon,
.panel {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(113, 88, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(79, 120, 255, 0.14), transparent 28%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live-ribbon::after,
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.14) 0 1px, transparent 1.9px),
    radial-gradient(circle at 76% 24%, rgba(241,201,121,0.22) 0 1.2px, transparent 2px),
    radial-gradient(circle at 54% 78%, rgba(255,255,255,0.12) 0 1px, transparent 1.8px);
  opacity: 0.45;
  pointer-events: none;
}

.live-ribbon {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 24px;
  padding: 1rem 1.1rem;
}

.page-shell {
  padding-bottom: 2.5rem;
}

.hero,
.section,
.page-intro {
  padding: 1.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.25rem;
  align-items: start;
  min-height: calc(100vh - 180px);
}

.hero-copy,
.hero-stack {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

h1,
h2,
h3,
.feature-spotlight p:first-of-type {
  margin: 0;
}

h1,
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 7.2rem);
  margin-top: 0.45rem;
  text-shadow: 0 0 32px rgba(113, 88, 255, 0.18);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.2rem;
}

p,
li {
  line-height: 1.7;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text);
  max-width: 42rem;
}

.hero-actions,
.player-actions,
.meta-row,
.footer-links,
.social-list,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.15rem;
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #140f1f;
  background: linear-gradient(135deg, var(--accent-3), #c79c43 42%, #fff0b1);
  box-shadow: 0 12px 28px rgba(241, 201, 121, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.stats-grid,
.card-grid,
.value-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.stat-card,
.info-card,
.value-card {
  border-radius: 22px;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-3);
}

.panel {
  border-radius: var(--radius);
  padding: 1.25rem;
}

.player-panel,
.feature-spotlight,
.rich-panel {
  display: grid;
  gap: 1rem;
}

.player-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.32);
}

.player-embed {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #090914;
}

.support-row,
.section-title-row,
.schedule-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.feature-spotlight {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
}

.feature-spotlight img,
.replay-card img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0,0,0,0.24);
}

.feature-spotlight img {
  aspect-ratio: 4 / 5;
}

.replay-card img {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artist-section {
  grid-template-columns: 1.2fr 0.8fr;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.clean-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
}

.hero-badges {
  margin-top: -0.2rem;
}

.moon-phase {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.25rem;
}

.moon-phase span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7d8, #f1c979 68%, rgba(241,201,121,0.4));
  box-shadow: 0 0 18px rgba(241, 201, 121, 0.34);
}

.moon-phase span:nth-child(2) {
  box-shadow: inset -7px 0 0 #090914, 0 0 18px rgba(241, 201, 121, 0.34);
}

.moon-phase span:nth-child(3) {
  box-shadow: inset 7px 0 0 #090914, 0 0 18px rgba(241, 201, 121, 0.34);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
}

.footer-links,
.social-list {
  align-items: flex-start;
}

.social-list {
  flex-direction: column;
}

.auth-shell {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.auth-card {
  display: grid;
  gap: 1.25rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

.auth-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  resize: vertical;
}

.auth-form input::placeholder {
  color: var(--muted);
}

.auth-message {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.auth-message[data-tone='success'] {
  border-color: rgba(126, 225, 216, 0.35);
}

.auth-message[data-tone='error'] {
  border-color: rgba(255, 108, 140, 0.4);
}

.account-panel {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
}

.account-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.account-preview {
  display: grid;
  gap: 0.75rem;
}

.submission-gate,
.submission-card {
  display: grid;
  gap: 0.8rem;
}

.submission-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.download-slot a {
  color: var(--accent-3);
  font-weight: 700;
}

.live-feed {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.live-card {
  gap: 0.65rem;
}

.episode-audio {
  width: 100%;
  margin-top: 0.35rem;
}

.admin-subsection {
  margin-top: 1.5rem;
}

.avatar-preview {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.auth-links {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .feature-spotlight,
  .three-up,
  .two-up,
  .stats-grid,
  .footer-shell,
  .artist-section,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .moon-phase {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header .shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .live-ribbon {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-embed {
    min-height: 520px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  body::after {
    width: 250px;
    height: 250px;
  }
}
