/* ========================================
   THE FAIRFAX FILES - Main Stylesheet
   Color System: Red (#CC0000) / Black (#0D0D0D) / White
   Fonts: Barlow (headings), DIN Next (body)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #CC0000;
  --red-bright: #ED1C24;
  --red-dark: #9C0303;
  --red-darker: #6D0707;
  --red-deepest: #3D0A0A;
  --black: #0D0D0D;
  --black-light: #1A1A1A;
  --black-lighter: #2A2A2A;
  --white: #FFFFFF;
  --gray: #999999;
  --gray-light: #CCCCCC;
  --gray-dark: #444444;

  --font-heading: 'Barlow', sans-serif;
  --font-body: 'DIN Next W01 Light', 'Barlow', sans-serif;

  --header-height: 72px;
  --max-width: 1200px;
  --section-padding: 100px 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-light);
}

.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red);
}

/* --- Buttons --- */
.btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.7rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-logo {
  display: block;
  margin-bottom: 20px;
}

.footer-logo img {
  display: block;
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--red);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--red);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--black));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero .label {
  margin-bottom: 20px;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero .label::before {
  background: var(--white);
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title .files {
  color: var(--white);
  opacity: 0.9;
  display: block;
}

.hero-tags {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-tags span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: default;
  transition: color 0.3s;
}

.hero-tags span:hover { color: var(--white); }

.hero-tags span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.hero-description {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 1.1s;
}

/* --- Stats Section --- */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--black-lighter);
  border-bottom: 1px solid var(--black-lighter);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--black-lighter);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* --- About Section --- */
.about {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content .label {
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
}

.host-card {
  background: var(--black-light);
  border: 1px solid var(--black-lighter);
  padding: 40px;
  position: relative;
}

.host-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.host-photo {
  width: 100%;
  height: 280px;
  background: var(--black-lighter);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--red-darker);
  background: linear-gradient(135deg, var(--black-lighter), var(--black));
}

.host-card h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.host-card .host-title {
  font-size: 0.8rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.host-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Categories Section --- */
.categories {
  padding: 80px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  color: var(--black);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}

.category-card h4 {
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: var(--black);
}

.category-card p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* --- Episodes Grid --- */
.episodes-section {
  padding: var(--section-padding);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.section-header-text .label { margin-bottom: 12px; }
.section-header-text h2 { margin-bottom: 8px; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--black-lighter);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Episode Cards */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.episode-card {
  background: var(--black-light);
  border: 1px solid var(--black-lighter);
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-darker);
}

.episode-card-thumb {
  position: relative;
  padding-top: 56.25%;
  background: var(--black-lighter);
  overflow: hidden;
}

.episode-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.episode-card:hover .episode-card-thumb img {
  transform: scale(1.05);
}

.episode-card-thumb .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.episode-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  margin-left: 3px;
}

.episode-card-body {
  padding: 24px;
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.episode-number {
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-heading);
}

.episode-category-tag {
  background: var(--red-deepest);
  color: var(--red);
  padding: 2px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.episode-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

.episode-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--black-lighter);
}

.episode-duration {
  font-size: 0.75rem;
  color: var(--gray);
}

.episode-link {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.episode-link:hover { gap: 12px; }

.episode-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Featured Episode (Latest) --- */
.featured-episode {
  padding: 80px 0;
  background: var(--black-light);
  border-top: 1px solid var(--black-lighter);
  border-bottom: 1px solid var(--black-lighter);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-video {
  position: relative;
  padding-top: 56.25%;
  background: var(--black);
  border: 1px solid var(--black-lighter);
  overflow: hidden;
}

.featured-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.featured-info .label { margin-bottom: 12px; }

.featured-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  text-transform: none;
  line-height: 1.2;
}

.featured-info p {
  margin-bottom: 24px;
}

/* Podcast platform links */
.platform-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--black-lighter);
  border: 1px solid var(--gray-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: all 0.3s;
}

.platform-link:hover {
  border-color: var(--red);
  color: var(--white);
}

.platform-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Episode Detail Page --- */
.episode-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  background: linear-gradient(to bottom, var(--red-deepest), var(--black));
}

.episode-hero .label { margin-bottom: 12px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gray);
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--red); }

.breadcrumb .sep { color: var(--gray-dark); }

.episode-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: none;
  line-height: 1.15;
  margin-bottom: 16px;
}

.episode-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 0.8rem;
  color: var(--gray);
}

.episode-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.episode-detail-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
}

/* Video Player */
.video-section {
  padding: 40px 0 60px;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: var(--black-light);
  border: 1px solid var(--black-lighter);
  margin-bottom: 32px;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Transcript Section */
.transcript-section {
  padding: 60px 0 100px;
  border-top: 1px solid var(--black-lighter);
}

.transcript-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 32px;
  padding: 16px 0;
  border-bottom: 2px solid var(--black-lighter);
  width: 100%;
  text-align: left;
}

.transcript-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
  transition: transform 0.3s;
}

.transcript-toggle.open svg {
  transform: rotate(180deg);
}

.transcript-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.transcript-content.open {
  max-height: 10000px;
}

.transcript-text {
  max-width: 800px;
}

.transcript-text .speaker {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red);
  display: block;
  margin-top: 24px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transcript-text .speaker:first-child {
  margin-top: 0;
}

.transcript-text p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  z-index: 999;
  transition: width 0.1s linear;
}

/* --- About Page --- */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: linear-gradient(to bottom, var(--red), var(--red-dark) 40%, var(--black) 100%);
  text-align: center;
}

.page-hero .label {
  justify-content: center;
  margin-bottom: 16px;
}

.page-hero .label::before { display: none; }

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-page-content {
  padding: var(--section-padding);
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-page-content h2 {
  margin-bottom: 24px;
}

.about-page-content p {
  margin-bottom: 16px;
}

.about-image {
  width: 100%;
  height: 400px;
  background: var(--black-lighter);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--red-darker);
  background: linear-gradient(135deg, var(--black-lighter), var(--black));
}

/* Timeline */
.timeline {
  padding: 60px 0;
  border-top: 1px solid var(--black-lighter);
}

.timeline-items {
  position: relative;
  padding-left: 40px;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--black-lighter);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  text-transform: none;
}

.timeline-item .year {
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

/* --- Footer --- */
.site-footer {
  border-top: 3px solid var(--red);
}

.footer-top {
  padding: 80px 0 60px;
  background: var(--black-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-dark);
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--red);
  background: var(--red);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--gray-light);
}

.social-link:hover svg {
  fill: var(--white);
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--red);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--black);
  border: 1px solid var(--gray-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
  color: var(--gray);
}

.newsletter-form input:focus {
  border-color: var(--red);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--red-dark);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--black-lighter);
  background: var(--black);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-bottom a {
  color: var(--gray);
  transition: color 0.3s;
}

.footer-bottom a:hover { color: var(--red); }

.footer-legal {
  display: flex;
  gap: 24px;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--red);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-banner .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .about-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --header-height: 64px;
  }

  .container { padding: 0 20px; }

  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-item:not(:last-child)::after { display: none; }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 90vh;
    padding-bottom: 60px;
  }

  .hero-tags {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .episode-detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .platform-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }

  .hero-title { font-size: 3rem; }
}
