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

* {
  box-sizing: border-box;
}

:root {
  --background: #0a0a0d;
  --surface: #131318;
  --surface-light: #1b1b22;
  --text: #f8f8fa;
  --muted: #a2a2ad;
  --border: #2b2b35;
  --accent: #f3b51b;
  --accent-dark: #bc8100;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(243, 181, 27, 0.12), transparent 28rem),
    var(--background);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 13, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a,
.header-button,
.primary-button,
.episode-tab {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.header-button,
.primary-button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 5px;
  padding: 11px 18px;
  color: #111;
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-button:hover,
.primary-button:hover {
  background: #ffd15a;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 470px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 5vw;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -4px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 450px;
  margin: 28px 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-decoration {
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  border: 1px solid rgba(243, 181, 27, 0.45);
  border-radius: 50%;
  background: rgba(243, 181, 27, 0.05);
  transform: rotate(12deg);
}

.play-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 2rem;
  transform: rotate(-12deg);
}

.video-section,
.about-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 5vw;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2,
.about-section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.video-count {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.episode-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--border);
}

.episode-tab {
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.episode-tab:hover,
.episode-tab.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.episode-date {
  scroll-margin-top: 95px;
}

.episode-date + .episode-date {
  margin-top: 64px;
}

.date-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.date-heading h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.date-heading span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.video-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper video {
  object-fit: cover;
  background: #000;
}

.video-content {
  position: relative;
  min-height: 125px;
  padding: 20px;
}

.episode-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.video-content h3 {
  margin: 8px 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.video-content p,
.about-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.about-section {
  border-top: 1px solid var(--border);
}

.about-section p:last-child {
  max-width: 560px;
  margin-top: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 5vw;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 850px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-decoration {
    width: 210px;
    height: 210px;
  }
}

@media (max-width: 600px) {
  .topbar {
    min-height: 68px;
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .header-button {
    padding: 9px 12px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 510px;
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
    letter-spacing: -3px;
  }

  .hero-decoration {
    position: absolute;
    right: -80px;
    bottom: 35px;
    opacity: 0.45;
  }

  .video-section,
  .about-section {
    padding: 48px 20px;
  }

  .section-heading {
    display: block;
  }

  .video-count {
    margin-top: 12px;
  }

  .episode-tabs {
    margin-bottom: 32px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer {
    display: block;
    padding: 24px 20px;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}