:root {
  --bg-main: #050914;
  --bg-alt: #0b0f19;
  --panel: #1a1f2bcc;
  --text-main: #e8ecff;
  --text-dim: #a7afcf;
  --cyan: #00f0ff;
  --magenta: #b829ff;
  --pink: #ff007f;
  --gold: #ffb300;
  --line: #2f3758;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Chakra Petch", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 15% 20%, #0b1730 0%, transparent 30%),
    radial-gradient(circle at 80% 10%, #241042 0%, transparent 35%),
    linear-gradient(160deg, var(--bg-main), var(--bg-alt));
  overflow-x: hidden;
}

.bg-grid,
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at center, transparent 70%, rgba(0, 0, 0, 0.65) 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.bg-noise {
  z-index: -1;
  opacity: 0.2;
  background-image: repeating-linear-gradient(
    30deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.02) 3px,
    transparent 4px
  );
}

.section {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto 2.8rem;
}

.glass {
  background: var(--panel);
  border: 1px solid rgba(0, 240, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(0, 240, 255, 0.1);
}

.cut-corner {
  clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.8rem 0;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.88), rgba(5, 9, 20, 0.4), transparent);
}

.nav {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 14px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--text-main);
  text-decoration: none;
}

.logo-mark {
  font-family: "Orbitron", sans-serif;
  color: var(--cyan);
  font-size: 1.35rem;
  text-shadow: 0 0 12px var(--cyan);
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.58rem 1rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, rgba(0, 240, 255, 0.28), rgba(0, 240, 255, 0.08));
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
}

.btn-secondary {
  background: linear-gradient(120deg, rgba(184, 41, 255, 0.3), rgba(255, 0, 127, 0.16));
  border-color: rgba(184, 41, 255, 0.7);
  box-shadow: 0 0 14px rgba(184, 41, 255, 0.36);
}

.btn-gold {
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.3), rgba(255, 170, 0, 0.14));
  border-color: rgba(255, 179, 0, 0.8);
  color: #fff4c8;
  box-shadow: 0 0 14px rgba(255, 179, 0, 0.4);
}

.hero {
  margin-top: 1.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.14em;
  font-family: "Roboto Mono", monospace;
  font-size: 0.76rem;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
  text-shadow:
    0 0 10px rgba(0, 240, 255, 0.34),
    0 0 26px rgba(184, 41, 255, 0.2);
}

h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.sub {
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: 1rem;
}

.hero-status {
  padding: 1rem;
  border-radius: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: "Roboto Mono", monospace;
  margin-bottom: 0.6rem;
}

.status-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35ff90;
  box-shadow: 0 0 10px #35ff90;
}

.status-pill.offline .dot {
  background: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
}

.player-panel {
  padding: 1.15rem;
}

.waveform {
  height: 84px;
  display: flex;
  align-items: end;
  gap: 5px;
  margin: 0.9rem 0 1.1rem;
}

.waveform span {
  width: 8px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 9px rgba(0, 240, 255, 0.7);
  border-radius: 3px 3px 0 0;
  animation: pulse 1s ease-in-out infinite;
}

.waveform span:nth-child(odd) {
  animation-duration: 1.2s;
}

.waveform span:nth-child(3n) {
  animation-duration: 0.8s;
}

@keyframes pulse {
  0%,
  100% {
    height: 14%;
  }
  40% {
    height: 90%;
  }
}

.radio-stream-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.player-deck {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0.85rem 0.5rem 0.25rem;
  border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.player-toggle {
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.85);
  background: radial-gradient(circle at 30% 25%, rgba(0, 240, 255, 0.35), rgba(11, 15, 25, 0.95));
  color: var(--cyan);
  font-size: 1.35rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(184, 41, 255, 0.25),
    0 0 22px rgba(0, 240, 255, 0.45),
    inset 0 0 20px rgba(0, 240, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.player-toggle:hover {
  transform: scale(1.04);
  border-color: var(--magenta);
  box-shadow:
    0 0 0 1px rgba(255, 0, 127, 0.35),
    0 0 28px rgba(184, 41, 255, 0.5),
    inset 0 0 24px rgba(0, 240, 255, 0.12);
}

.player-toggle-icon {
  grid-area: 1 / 1;
  line-height: 1;
}

.player-toggle-pause {
  display: none;
}

.player-toggle.is-playing .player-toggle-play {
  display: none;
}

.player-toggle.is-playing .player-toggle-pause {
  display: block;
}

.player-deck-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.player-live-tag {
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #35ff90;
  text-shadow: 0 0 10px rgba(53, 255, 144, 0.7);
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.player-volume-label {
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.player-volume input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.35), rgba(184, 41, 255, 0.35));
  border-radius: 3px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.player-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #0b0f19;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.9);
  cursor: pointer;
}

.player-volume input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #0b0f19;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.9);
  cursor: pointer;
}

.panel,
.schedule,
.card,
.host {
  padding: 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.schedule {
  display: grid;
  gap: 0.5rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: 0.8rem;
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.schedule-row span:first-child {
  color: var(--cyan);
  font-family: "Roboto Mono", monospace;
}

.card-grid,
.hosts-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

a {
  color: var(--cyan);
}

a:hover {
  color: #81f7ff;
}

.site-footer {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto 1.6rem;
}

.footer-inner {
  padding: 1rem;
  text-align: center;
}

.brand {
  font-family: "Orbitron", sans-serif;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tiny {
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .card-grid,
  .hosts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    right: 1rem;
    flex-direction: column;
    background: #0d1323;
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 0.8rem;
    border-radius: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav .btn {
    display: none;
  }

  .split,
  .card-grid,
  .hosts-grid {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 72px 1fr;
  }

  .schedule-row span:last-child {
    grid-column: 1 / -1;
    color: var(--pink);
  }

  .player-deck {
    flex-direction: column;
    align-items: stretch;
  }

  .player-toggle {
    align-self: center;
  }
}
