:root {
  --bg: #0b0c10;
  --card: rgba(18, 20, 27, 0.88);
  --text: #e8e8ea;
  --muted: #a9abb3;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #e10600; /* F1-ish red */
  --accent2: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0,0,0,0.35);
  --surface-1: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.04);
  --surface-3: rgba(255,255,255,0.07);
  --header-bg: rgba(11, 12, 16, 0.70);
  --modal-bg: rgba(18, 20, 27, 0.98);
  --embed-bg: #050505;
  --body-glow-1: rgba(225, 6, 0, 0.20);
  --body-glow-2: rgba(255,255,255,0.08);
}

:root[data-theme="light"] {
  --bg: #f3f2ef;
  --card: rgba(255, 255, 255, 0.92);
  --text: #17181c;
  --muted: #5b5e66;
  --border: rgba(15, 23, 42, 0.12);
  --accent: #cc0a00;
  --accent2: #111111;
  --shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  --surface-1: rgba(15, 23, 42, 0.04);
  --surface-2: rgba(15, 23, 42, 0.06);
  --surface-3: rgba(15, 23, 42, 0.10);
  --header-bg: rgba(245, 245, 247, 0.85);
  --modal-bg: rgba(255, 255, 255, 0.96);
  --embed-bg: #f0f0f2;
  --body-glow-1: rgba(225, 6, 0, 0.12);
  --body-glow-2: rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, var(--body-glow-1), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, var(--body-glow-2), transparent 60%),
              var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.9; text-decoration: underline; }

.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { border-radius: 14px; box-shadow: var(--shadow); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-weight: 800; letter-spacing: 0.3px; }
.brand-subtitle { font-size: 13px; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 14px; font-weight: 600; }
.nav a { color: var(--muted); padding: 8px 10px; border-radius: 12px; }
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }

.hero { padding: 54px 0 26px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.hero-copy h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 46px); }
.hero-copy p { margin: 0 0 18px; color: var(--muted); font-size: 18px; line-height: 1.5; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: var(--surface-3); text-decoration: none; }
.button.primary {
  background: linear-gradient(180deg, rgba(225,6,0,0.95), rgba(180,0,0,0.95));
  border-color: rgba(225,6,0,0.55);
}

.mini-links { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.mini-links span { opacity: 0.6; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card .fineprint { margin: 10px 6px 0; color: var(--muted); font-size: 13px; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stat { padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-1); }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-value { font-size: 18px; font-weight: 900; margin-top: 6px; }

.section { padding: 44px 0; }
.section h2 { margin: 0 0 16px; font-size: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.hosts-card h3 { margin-top: 0; }
.host-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.host-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); display: inline-block; }

.episodes-toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.episodes-list { display: grid; gap: 12px; }
.episode {
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.episode-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.episode-title { font-weight: 900; line-height: 1.25; }
.episode-meta { color: var(--muted); font-size: 13px; }
.episode-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.episode-actions .button { padding: 9px 12px; border-radius: 12px; font-weight: 800; }

.episodes-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.youtube-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 18px;
  align-items: start;
}
.youtube-embed {
  border-radius: 14px;
  overflow: hidden;
  background: var(--embed-bg);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
}
.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.youtube-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 800;
}
.youtube-meta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.youtube-title { font-weight: 900; }
.youtube-date { color: var(--muted); font-size: 13px; }
.youtube-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.youtube-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.youtube-list { display: grid; gap: 12px; }
.youtube-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.youtube-thumbs { display: grid; gap: 12px; }
.youtube-thumb {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface-1);
  padding: 10px;
  border-radius: 14px;
}
.youtube-thumb img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}
.youtube-thumb-title { font-weight: 800; line-height: 1.3; }
.youtube-thumb-date { color: var(--muted); font-size: 12px; margin-top: 6px; }
.youtube-thumb .youtube-badge { margin-top: 6px; }

.fineprint { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 12px 0 0; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.social-grid a {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--muted);
  font-weight: 800;
}
.social-grid a:hover { color: var(--text); text-decoration: none; background: var(--surface-3); }

.theme-toggle {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.theme-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.theme-slider {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  padding: 3px;
  transition: background 0.2s ease;
}
.theme-slider::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.theme-switch input:checked + .theme-slider::before {
  transform: translateX(18px);
}
.theme-switch input:checked + .theme-slider {
  background: var(--surface-3);
}

.footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); }

.modal {
  border: none;
  padding: 0;
  width: min(820px, calc(100% - 24px));
  border-radius: 18px;
  background: var(--modal-bg);
  color: var(--text);
  box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); }

.modal-inner { padding: 18px; position: relative; }
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.modal-description { color: var(--muted); line-height: 1.6; margin-top: 12px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

@media (max-width: 880px) {
  .hero-inner, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; } /* keep it simple on mobile */
  .youtube-grid { grid-template-columns: 1fr; }
  .youtube-thumb { grid-template-columns: 1fr; }
}
