:root {
  --bg: #060708;
  --bg-raised: #0d0f12;
  --ink: #f7fafc;
  --soft: #b6c0ca;
  --muted: #7f8b96;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --blue: #37a8ff;
  --cyan: #a5eeff;
  --ember: #ff7a2f;
  --rose: #ff4f86;
  --lime: #c8ff46;
  --gold: #ffd166;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #060708 0%, #0b0c0f 42%, #050506 100%);
  background-size: 76px 76px, 76px 76px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(55, 168, 255, 0.10) 36%, transparent 48%),
    linear-gradient(245deg, transparent 0%, rgba(255, 122, 47, 0.09) 32%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 25%, rgba(255, 255, 255, 0.02));
  mix-blend-mode: screen;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

.motion-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(6, 7, 8, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 238, 255, 0.38);
  border-radius: 8px;
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--soft);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--soft);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero-section {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 74px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--ember);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.95;
  max-width: 720px;
}

h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
}

h3 {
  margin: 0;
}

p {
  color: var(--soft);
  line-height: 1.7;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 19px;
}

.hero-actions,
.contact-actions,
.rss-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #051012;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 18px 42px rgba(165, 238, 255, 0.15);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(165, 238, 255, 0.30);
  background: rgba(165, 238, 255, 0.08);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(255, 122, 47, 0.42);
  background: rgba(255, 122, 47, 0.10);
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 760px;
}

.pulse-strip span {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.pulse-strip strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.hero-visual {
  min-width: 0;
}

.visual-frame {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(55, 168, 255, 0.13), transparent 28%),
    linear-gradient(225deg, rgba(255, 122, 47, 0.15), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.visual-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 70, 0.85), rgba(55, 168, 255, 0.85), transparent);
  animation: scanLine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.tv-topline,
.tv-caption,
.tv-controls,
.tv-screen {
  position: relative;
  z-index: 2;
}

.tv-topline,
.tv-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tv-topline span:first-child,
.tv-caption strong {
  color: var(--cyan);
}

.tv-screen {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 48%, rgba(55, 168, 255, 0.10), transparent 48%),
    #020306;
  aspect-ratio: 16 / 10;
}

.tv-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 28%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.38;
}

.tv-media-slot,
.tv-media,
.tv-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-media-slot {
  display: grid;
  place-items: center;
}

.tv-media {
  object-fit: cover;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.40));
}

.beat-stack {
  position: absolute;
  inset: auto 14px 12px;
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 5px;
  align-items: end;
  height: 54px;
  z-index: 5;
  opacity: 0.78;
}

.beat-stack span {
  display: block;
  min-height: 14px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--lime), var(--cyan) 48%, var(--blue));
  transform-origin: bottom;
  animation: beat 900ms ease-in-out infinite;
}

.tv-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: center;
}

.tv-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.tv-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.tv-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
}

.tv-thumb {
  width: 58px;
  min-width: 58px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(55, 168, 255, 0.24), rgba(255, 122, 47, 0.18)),
    #101214;
  cursor: pointer;
  opacity: 0.68;
}

.tv-thumb.active {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(200, 255, 70, 0.16);
  opacity: 1;
}

.section-band {
  padding: 88px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.section-band-bright {
  background: rgba(255, 255, 255, 0.035);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.latest-main,
.latest-side,
.loading-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.82);
}

.latest-main {
  min-height: 390px;
  padding: 26px;
}

.latest-side {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.loading-panel {
  grid-column: 1 / -1;
  padding: 30px;
  color: var(--soft);
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.episode-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.latest-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.episode-summary {
  max-width: 740px;
  margin: 18px 0 0;
}

.rss-audio {
  width: 100%;
  margin-top: 24px;
  accent-color: var(--lime);
}

.meter {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 6px;
  align-items: end;
}

.meter span {
  display: block;
  min-height: 12px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--rose), var(--ember));
  animation: beat 850ms ease-in-out infinite;
}

.side-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.side-number {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 44px;
  font-weight: 900;
}

.platform-card,
.archive-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.74);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.platform-card {
  min-height: 230px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 70, 0.40);
  background: rgba(255, 255, 255, 0.075);
}

.platform-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #051012;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  font-weight: 900;
}

.platform-card strong {
  display: block;
  font-size: 22px;
}

.platform-card p {
  margin-bottom: 0;
}

.archive-top {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 800;
}

.search-field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  padding: 0 14px;
  outline: none;
}

.search-field input:focus {
  border-color: rgba(165, 238, 255, 0.65);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.archive-card {
  min-height: 260px;
  padding: 18px;
}

.archive-card h3 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.archive-card p {
  font-size: 15px;
}

.contact-section {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(55, 168, 255, 0.14), transparent 35%),
    linear-gradient(270deg, rgba(255, 122, 47, 0.16), transparent 38%),
    #070809;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 34px;
  align-items: center;
}

.contact-layout h2 {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanLine {
  0%, 100% {
    transform: translateY(-160px);
    opacity: 0.15;
  }
  50% {
    transform: translateY(160px);
    opacity: 0.72;
  }
}

@keyframes beat {
  0%, 100% {
    transform: scaleY(0.38);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .visual-frame {
    min-height: 440px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .latest-layout,
  .archive-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 7, 8, 0.96);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-section {
    padding-top: 48px;
  }

  .pulse-strip,
  .platform-grid,
  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .pulse-strip,
  .platform-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .visual-frame {
    min-height: 320px;
  }

  .beat-stack {
    grid-template-columns: repeat(16, 1fr);
    height: 42px;
  }

  .latest-main,
  .latest-side {
    padding: 18px;
  }

  .latest-title {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
