:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-2: #141414;
  --surface: #1a1a1a;
  --surface-hover: #232323;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --dim: #6b6b6b;
  --accent: #e50914;
  --accent-hi: #ff1c26;
  --radius: 6px;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.6);
  --max-width: 1500px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Netflix Sans", "Helvetica Neue", Helvetica, Arial,
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4vw;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: background 0.25s ease;
}

.topbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 28px;
  width: auto;
}

.buy-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
  transition:
    background 0.15s ease,
    transform 0.05s ease,
    box-shadow 0.2s ease;
}

.buy-button:hover {
  background: var(--accent-hi);
  box-shadow: 0 10px 26px rgba(229, 9, 20, 0.55);
}

.buy-button:active {
  transform: translateY(1px);
}

.buy-ticker {
  font-weight: 900;
}

.copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.95;
}

.buy-button.copied {
  background: #1a8f3c;
  box-shadow: 0 6px 20px rgba(26, 143, 60, 0.4);
}

.buy-button.copied .copy-icon {
  opacity: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 0 4vw 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1) saturate(1.05);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 11, 11, 0.45) 0%,
      rgba(11, 11, 11, 0) 25%,
      rgba(11, 11, 11, 0) 55%,
      rgba(11, 11, 11, 0.85) 92%,
      var(--bg) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 11, 11, 0.78) 0%,
      rgba(11, 11, 11, 0.4) 30%,
      rgba(11, 11, 11, 0) 60%
    );
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-bottom: 40px;
}

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #e5e5e5;
  text-transform: uppercase;
}

.kicker::before {
  content: "U";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.hero-text {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #e5e5e5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  transition:
    background 0.15s ease,
    transform 0.05s ease;
}

.primary-action {
  background: #fff;
  color: #000;
}

.primary-action:hover {
  background: rgba(255, 255, 255, 0.78);
}

.secondary-action {
  background: rgba(109, 109, 110, 0.7);
  color: #fff;
}

.secondary-action:hover {
  background: rgba(109, 109, 110, 0.45);
}

.play-icon,
.info-icon {
  font-size: 18px;
}

.meta-strip {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.meta-strip > div {
  display: flex;
  flex-direction: column;
}

.meta-strip dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta-strip dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Shelf ---------- */
.shelf {
  position: relative;
  margin: 0 auto;
  padding: 0 4vw 60px;
  max-width: var(--max-width);
}

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

.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.2s ease;
}

.episode-card:hover {
  transform: translateY(-4px);
}

.episode-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.episode-button:hover {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.75);
}

.episode-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.2s ease;
}

.episode-button:hover img {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.episode-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}

.episode-code-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #fff;
}

.play-dot {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.episode-button:hover .play-dot {
  opacity: 1;
  transform: translateY(0);
}

.episode-copy {
  padding: 14px 4px 0;
}

.episode-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.episode-meta span:first-child {
  color: var(--accent);
  font-weight: 700;
}

.episode-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.episode-copy p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #c8c8c8;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Support ---------- */
.support {
  padding: 70px 4vw 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(
      80% 60% at 50% 0%,
      rgba(229, 9, 20, 0.12) 0%,
      rgba(229, 9, 20, 0) 70%
    ),
    var(--bg);
}

.support-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.support h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.support-text {
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.donate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 56px 18px 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.05s ease;
}

.donate-card:hover {
  border-color: rgba(229, 9, 20, 0.55);
  background: var(--surface-hover);
}

.donate-card:active {
  transform: translateY(1px);
}

.donate-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.donate-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.donate-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.donate-hint {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}

.donate-address {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: #f5f5f5;
  word-break: break-all;
  line-height: 1.5;
}

.donate-copy {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d6d6d6;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.2s ease;
}

.donate-card:hover .donate-copy {
  background: rgba(229, 9, 20, 0.18);
  color: #fff;
}

.donate-card.copied {
  border-color: rgba(26, 143, 60, 0.6);
}

.donate-card.copied .donate-copy {
  background: rgba(26, 143, 60, 0.25);
  color: #6dffa0;
}

.donate-card.copied .donate-hint::after {
  content: " — copied";
  color: #6dffa0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 4vw 60px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ---------- Player modal ---------- */
.player-modal {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--text);
  width: min(1100px, 96vw);
  max-width: 96vw;
  max-height: 96vh;
  border-radius: 8px;
  overflow: visible;
}

.player-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.player-shell {
  position: relative;
  background: #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.close-player {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.close-player:hover {
  background: rgba(0, 0, 0, 0.95);
}

.player-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-info {
  padding: 22px 28px 26px;
}

.player-info .eyebrow {
  margin-bottom: 6px;
}

.player-info h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.player-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 760px;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .topbar {
    padding: 12px 4vw;
  }

  .brand img {
    height: 22px;
  }

  .buy-button {
    padding: 7px 14px;
    font-size: 11px;
    gap: 8px;
  }

  .donate-card {
    padding: 16px 50px 16px 18px;
  }

  .donate-address {
    font-size: 12.5px;
  }

  .hero {
    min-height: 80vh;
    padding-bottom: 60px;
  }

  .hero-copy {
    padding-bottom: 12px;
  }

  .meta-strip {
    gap: 18px;
  }

  .meta-strip dd {
    font-size: 16px;
  }

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

  .player-info {
    padding: 18px 18px 22px;
  }
}
