:root {
  --bg: #0b0b0b;
  --panel: rgba(15, 15, 15, 0.85);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --dim: rgba(255, 255, 255, 0.45);
  --red: #d61d1d;
  --yellow: #f0c200;
  --grayhead: #7a7a7a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

a {
  color: var(--text);
  text-decoration: none;
}

footer a {
  color: #d9a400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/hero-bg.webp") center / cover no-repeat;
  transform: translateY(var(--hero-bg-offset, 0px));
  will-change: transform;
  z-index: 0;
}

.hero-vignette,
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-vignette {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 65%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
}

.hero-noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.5;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  position: sticky;
  top: 18vh;
  transform: translateY(var(--hero-fg-offset, 0px));
  will-change: transform;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.hero-title-group h1 {
  margin-top: 0.4rem;
}

.hero-kicker {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text);
  font-weight: 700;
  margin: 10;
}

.hero-kicker-secondary {
  margin: 0;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: 0.06em;
  margin: 0;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

.hero h1 span {
  color: var(--yellow);
  text-shadow: 0 3px 12px rgba(255, 200, 0, 0.65);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 0.7rem 1.4rem;
  text-transform: lowercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow);
}

.cta span {
  font-weight: 700;
}

.hero-scroll {
  margin-top: 1.3rem;
  font-size: 1.6rem;
  color: var(--muted);
}

main {
  position: relative;
  z-index: 2;
}

.main-surface {
  background: var(--bg);
  margin-top: 0;
  padding-top: 2.5rem;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feeds-intro-wrap {
  margin: 0 auto 0;
  padding: 0 1.25rem;
  text-align: center;
}

.feeds-intro {
  display: inline-block;
  max-width: 520px;
  width: fit-content;
  padding: 2.2rem 42px 2.4rem;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  isolation: isolate;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  background: none;
}

.feeds-intro-text {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.feeds-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 160px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 12px rgba(240, 194, 0, 0.35);
  z-index: 1;
}

.feeds-intro::before {
  content: none;
}

.feeds {
  padding: 1.5rem 1.25rem 3.5rem;
  background: var(--bg);
}

.feeds-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feed-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-head {
  padding: 0.8rem 1rem 0.7rem;
  border: 1px solid var(--stroke);
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  box-shadow: var(--shadow);
}

.feed-title {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.feed-tagline {
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.75);
}

.feed-red {
  background: var(--red);
  color: white;
}

.feed-gray {
  background: var(--grayhead);
  color: white;
}

.feed-yellow {
  background: var(--yellow);
  color: #111;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feed-status {
  font-size: 0.75rem;
  color: var(--dim);
  padding-left: 0.15rem;
}

.load-more {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--dim);
}

.card:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.card-video {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  align-items: center;
}

.thumb {
  width: 88px;
  height: 56px;
  background: #1a1a1a;
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}

.thumb-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid white;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem 2rem;
  font-size: 0.75rem;
  color: var(--dim);
}

.audio-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.audio-fab .pause-mark {
  display: none;
  width: 18px;
  height: 18px;
  position: relative;
}

.audio-fab .pause-mark::before,
.audio-fab .pause-mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 18px;
  background: var(--text);
  border-radius: 2px;
}

.audio-fab .pause-mark::before {
  left: 0;
}

.audio-fab .pause-mark::after {
  right: 0;
}

.audio-fab.is-playing .pause-mark {
  display: inline-block;
}

.audio-fab .icon {
  width: 84px;
  height: auto;
  display: block;
}

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

@media (max-width: 720px) {
  .hero {
    background-attachment: scroll;
  }

  .main-surface {
    margin-top: 0;
  }

  .hero-kicker {
    font-size: 0.9rem;
  }

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

  .load-more {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .audio-fab .label {
    display: none;
  }
}
