/* ============================================
   DEBUG THE HYPE — RETRO-FUTURISTIC DESIGN SYSTEM
   Tone: CRT glow meets editorial tech-noir
   Fonts: Space Grotesk (display) + General Sans (body) + JetBrains Mono (code)
   ============================================ */

/* --- CSS VARIABLES / DESIGN TOKENS --- */
:root {
  /* Palette: dark base, neon cyan accent, warm highlights */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f18;
  --bg-tertiary: #161625;
  --bg-card: #12121e;
  --bg-card-hover: #1a1a2e;

  --text-primary: #e8e8ef;
  --text-secondary: #8888a0;
  --text-tertiary: #55556a;

  --accent: #00ffd5;
  --accent-dim: rgba(0, 255, 213, 0.15);
  --accent-glow: rgba(0, 255, 213, 0.25);
  --accent-2: #ff3366;
  --accent-2-dim: rgba(255, 51, 102, 0.12);

  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 255, 213, 0.2);

  /* Fonts */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  color-scheme: dark;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

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

input, textarea {
  font-family: inherit;
  font-size: 16px; /* prevent iOS zoom */
}

::selection {
  background: var(--accent-dim);
  color: var(--accent);
}

/* --- GRAIN OVERLAY --- */
.grain::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* --- SCANLINES (CRT effect) --- */
.scanlines::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* --- ANIMATIONS --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  10% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 1px); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  30% { clip-path: inset(40% 0 30% 0); transform: translate(-1px, 2px); }
  40% { clip-path: inset(80% 0 5% 0); transform: translate(1px, -2px); }
  50% { clip-path: inset(10% 0 70% 0); transform: translate(0px, 1px); }
}

@keyframes glitchAlt {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  10% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -1px); }
  20% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
  30% { clip-path: inset(70% 0 5% 0); transform: translate(1px, 2px); }
  40% { clip-path: inset(30% 0 50% 0); transform: translate(-1px, -1px); }
  50% { clip-path: inset(5% 0 80% 0); transform: translate(2px, 0px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes waveform {
  0%, 100% { height: 4px; }
  50% { height: var(--wave-height, 16px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Orchestrated page-load animation */
.anim-fade-up {
  opacity: 0;
  animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* --- HEADER / NAV --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.2s;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-logo-bracket {
  color: var(--accent);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-lg);
  gap: var(--space-md);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-bg-glow--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  opacity: 0.35;
}

.hero-bg-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2-dim) 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-title-line {
  display: block;
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--text-primary);
}

.hero-title-line--accent {
  color: var(--accent);
  text-shadow:
    0 0 20px var(--accent-glow),
    0 0 60px rgba(0, 255, 213, 0.1);
}

/* Glitch text effect on tagline */
.glitch-text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xl);
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.glitch-text::before {
  color: var(--accent);
  animation: glitch 4s infinite linear alternate-reverse;
  opacity: 0.6;
}

.glitch-text::after {
  color: var(--accent-2);
  animation: glitchAlt 4s infinite linear alternate-reverse;
  opacity: 0.4;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

/* Hero Platforms */
.hero-platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.platforms-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.platforms-list {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.platform-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  transition: border-color 0.2s, color 0.2s;
}

.platform-tag:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

/* CRT frame corners */
.hero-crt-frame {
  position: absolute;
  inset: var(--space-xl);
  pointer-events: none;
  z-index: 1;
}

.crt-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--border-accent);
  border-style: solid;
  opacity: 0.3;
}

.crt-corner--tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.crt-corner--tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.crt-corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.crt-corner--br {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

/* --- SECTIONS (shared) --- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.label-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* --- FEATURED EPISODE CARD --- */
.featured-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s;
}

.featured-card:hover {
  border-color: var(--border-accent);
}

.featured-card-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-2xl);
}

.featured-card-meta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.episode-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.episode-date,
.episode-duration {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.featured-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.featured-card-summary {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

.featured-card-summary em {
  color: var(--text-primary);
  font-style: italic;
}

.featured-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.featured-card-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.featured-card-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.4;
  animation: waveform 1.2s ease-in-out infinite;
}

.featured-card-waveform span:nth-child(1) { --wave-height: 8px; animation-delay: 0s; }
.featured-card-waveform span:nth-child(2) { --wave-height: 16px; animation-delay: 0.1s; }
.featured-card-waveform span:nth-child(3) { --wave-height: 12px; animation-delay: 0.15s; }
.featured-card-waveform span:nth-child(4) { --wave-height: 20px; animation-delay: 0.2s; }
.featured-card-waveform span:nth-child(5) { --wave-height: 10px; animation-delay: 0.25s; }
.featured-card-waveform span:nth-child(6) { --wave-height: 18px; animation-delay: 0.3s; }
.featured-card-waveform span:nth-child(7) { --wave-height: 14px; animation-delay: 0.35s; }
.featured-card-waveform span:nth-child(8) { --wave-height: 22px; animation-delay: 0.4s; }
.featured-card-waveform span:nth-child(9) { --wave-height: 12px; animation-delay: 0.45s; }
.featured-card-waveform span:nth-child(10) { --wave-height: 16px; animation-delay: 0.5s; }
.featured-card-waveform span:nth-child(11) { --wave-height: 8px; animation-delay: 0.55s; }
.featured-card-waveform span:nth-child(12) { --wave-height: 14px; animation-delay: 0.6s; }
.featured-card-waveform span:nth-child(13) { --wave-height: 20px; animation-delay: 0.65s; }
.featured-card-waveform span:nth-child(14) { --wave-height: 10px; animation-delay: 0.7s; }
.featured-card-waveform span:nth-child(15) { --wave-height: 16px; animation-delay: 0.75s; }

.featured-card-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- EPISODE GRID --- */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.episode-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s,
              box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  transition-delay: calc(var(--stagger, 0) * 0.05s);
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--border-accent);
}

.episode-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.episode-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.episode-card-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}

.episode-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.episodes-more {
  text-align: center;
}

/* --- VALUE PROPOSITION --- */
.value-prop {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0%, var(--accent-dim) 0%, transparent 60%),
    var(--bg-secondary);
}

.value-prop-inner {
  text-align: center;
}

.value-prop-headline {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.value-prop-headline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-accent {
  color: var(--accent);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: left;
}

.value-item {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.value-item:hover {
  border-color: var(--border-accent);
}

.value-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- NEWSLETTER --- */
.newsletter {
  position: relative;
}

.newsletter-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background:
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.newsletter-card-inner {
  padding: var(--space-2xl);
}

.newsletter-badge {
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.newsletter-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  max-width: 480px;
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.newsletter-privacy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
}

/* Newsletter code decoration */
.newsletter-decoration {
  padding: var(--space-xl);
  display: flex;
  align-items: center;
}

.newsletter-code-block {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.code-line {
  display: block;
  color: var(--text-secondary);
}

.code-keyword {
  color: var(--accent-2);
}

.code-fn {
  color: var(--accent);
}

.code-cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

/* --- ABOUT --- */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.stat {
  text-align: center;
  padding: var(--space-md) 0;
}

.stat:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-built {
  font-family: var(--font-mono);
  font-size: 11px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: #33ffe0;
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn--play {
  gap: 10px;
}

/* --- RESPONSIVE: TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .episode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-stats {
    flex-direction: row;
    justify-content: center;
  }

  .stat:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .stat {
    padding: var(--space-md) var(--space-xl);
  }

  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .newsletter-decoration {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* --- RESPONSIVE: MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
    min-height: 100svh;
  }

  .hero-title-line {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-crt-frame {
    inset: var(--space-md);
  }

  .crt-corner {
    width: 24px;
    height: 24px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .featured-card-inner {
    padding: var(--space-lg);
  }

  .featured-card-waveform {
    display: none;
  }

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

  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .newsletter-card-inner {
    padding: var(--space-lg);
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* --- RESPONSIVE: SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
  :root {
    --space-lg: 20px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
  }

  .hero-title-line {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .glitch-text {
    font-size: 1rem;
  }

  .platforms-list {
    gap: 4px;
  }

  .platform-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
  }

  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* --- FOCUS STATES (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .glitch-text::before,
  .glitch-text::after {
    display: none;
  }

  .scanlines::after {
    display: none;
  }
}
