/* ============================================================================
   TIVI NETWORK — DESIGN TOKENS (single source of truth)
   These exact values must be mirrored in every TIVI surface — web, iOS,
   Roku BrightScript, Fire TV, Samsung Tizen, LG webOS. The system is:
   gold + black = canvas | rainbow stripe = signature | T badge = seal
   ============================================================================ */
:root {
  /* SURFACES — used identically on every platform */
  --bg: #000000;
  --surface: #0A0A0A;
  --surface-2: #141414;
  --surface-3: #1C1C1C;
  --text: #FFFFFF;
  --text-muted: #B8B8B8;
  --text-dim: #6E6E6E;

  /* BRUSHED GOLD — TIVI brand color, never lemon yellow */
  --gold-hi:    #D4B27A;   /* polished highlight */
  --gold:       #A88547;   /* mid brass          */
  --gold-light: #C9A876;   /* legacy alias       */
  --gold-mid:   #876A38;   /* warm shadow        */
  --gold-deep:  #4F3B1E;   /* antique depth      */
  --gold-shadow:#2A1F0F;   /* near-black bronze  */

  --gold-metal: linear-gradient(180deg,
    var(--gold-hi)   0%,
    var(--gold)     32%,
    var(--gold-mid) 58%,
    var(--gold-deep) 100%);

  --gold-brush: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='40'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='2.4 0.02' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>");

  /* RAINBOW STRIPE — the TIVI signature (lifted from the logo bar) */
  --rainbow: linear-gradient(90deg,
    #2E5DAF 0%,    /* blue   */
    #2E8B57 22%,   /* green  */
    #F4D03F 48%,   /* yellow */
    #E67E22 72%,   /* orange */
    #C0392B 100%   /* red    */);

  /* GOLD + RAINBOW edge accents used on TV focus rings + Originals frame */
  --gold-glow: rgba(168, 133, 71, 0.22);
  --border: rgba(168, 133, 71, 0.16);
  --border-strong: rgba(168, 133, 71, 0.34);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);

  /* SPATIAL */
  --radius: 4px;
  --radius-lg: 10px;
  --nav-h: 68px;
}

/* Utility: metallic gold text + the rainbow underline / signature stripe */
.gold-text, .metallic {
  background: var(--gold-metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.tivi-stripe {
  display: inline-block;
  height: 3px;
  background: var(--rainbow);
  border-radius: 2px;
  width: 64px;
}
.tivi-stripe--wide { width: 120px; height: 4px; }
.tivi-stripe--thin { height: 2px; width: 48px; }

/* Metallic gold text — apply to headings/labels for the "real" brushed look */
.gold-text,
.metallic {
  background: var(--gold-metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 36px;
  background: linear-gradient(180deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.7) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: 12px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a.is-active { color: var(--text); }

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__icon:hover { color: var(--gold); background: rgba(201, 169, 97, 0.08); }

.nav__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-metal);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #1A0F03;
  border: 1px solid var(--gold-mid);
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.5), inset 0 -2px 3px rgba(42,31,15,0.4);
  text-shadow: 0 1px 0 rgba(255,235,200,0.4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--gold-metal), var(--gold);
  color: #1A0F03;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(255,235,200,0.35);
  border: 1px solid var(--gold-mid);
  box-shadow:
    inset 0 1px 0 rgba(255,240,200,0.45),
    inset 0 -2px 4px rgba(42,31,15,0.45),
    0 6px 16px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gold-brush);
  background-size: 200px 40px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.btn--primary:hover { filter: brightness(1.08) saturate(1.05); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(201,169,97,0.12);
  border-color: var(--border-strong);
  color: var(--gold-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  padding: 0 56px;
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #0A0805;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 75% 30%, rgba(201,169,97,0.18) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, transparent 50%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(0,0,0,0.4) 30%, transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 0 64px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 18px;
  color: var(--text);
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero__meta .badge {
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}
.hero__desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.6;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Rows ---------- */
.section { padding: 44px 56px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.section__title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--gold-metal);
  margin-right: 12px;
  vertical-align: -2px;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.4);
}
.section__link {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section__link:hover { color: var(--gold-light); }

.row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card:hover .card__art { border-color: var(--border-strong); box-shadow: 0 12px 28px rgba(0,0,0,0.6), 0 0 0 1px var(--gold-glow); }
.card__art {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.85) 100%);
}
.card__label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold-light);
  text-transform: uppercase;
}
.card__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text);
}
.card__sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* Tall poster variant for "Originals" row */
.card--poster { flex-basis: 180px; }
.card--poster .card__art { aspect-ratio: 2 / 3; }

/* Continue watching progress bar */
.card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}
.card__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-hi) 100%);
}

/* ---------- Card artwork — black + gold variations ---------- */
.art-a { background: radial-gradient(120% 100% at 30% 30%, rgba(201,169,97,0.35) 0%, transparent 55%), linear-gradient(135deg, #1A1408 0%, #000 100%); }
.art-b { background: radial-gradient(100% 100% at 70% 40%, rgba(201,169,97,0.22) 0%, transparent 60%), linear-gradient(135deg, #0E0E0E 0%, #000 100%); }
.art-c { background: radial-gradient(110% 90% at 50% 80%, rgba(232,201,123,0.28) 0%, transparent 55%), linear-gradient(135deg, #14100A 0%, #000 100%); }
.art-d { background: radial-gradient(90% 90% at 20% 60%, rgba(139,115,64,0.35) 0%, transparent 60%), linear-gradient(135deg, #0A0805 0%, #000 100%); }
.art-e { background: radial-gradient(100% 100% at 80% 20%, rgba(201,169,97,0.3) 0%, transparent 55%), linear-gradient(135deg, #100C06 0%, #000 100%); }
.art-f { background: radial-gradient(120% 80% at 50% 50%, rgba(232,201,123,0.18) 0%, transparent 60%), linear-gradient(135deg, #1C1408 0%, #000 100%); }
.art-g { background: radial-gradient(80% 100% at 40% 30%, rgba(201,169,97,0.25) 0%, transparent 55%), linear-gradient(135deg, #0E0A05 0%, #000 100%); }
.art-h { background: radial-gradient(100% 100% at 60% 70%, rgba(139,115,64,0.4) 0%, transparent 60%), linear-gradient(135deg, #14100A 0%, #000 100%); }

/* ---------- Browse page ---------- */
.page-head {
  padding: 36px 56px 8px;
}
.page-head h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}
.page-head h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
  border-radius: 1px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 56px 28px;
  border-bottom: 1px solid var(--border);
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.chip:hover { color: var(--gold-light); border-color: var(--border-strong); }
.chip.is-active {
  background: var(--gold-metal);
  color: #1A0F03;
  font-weight: 700;
  border-color: var(--gold-mid);
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.4), inset 0 -2px 3px rgba(42,31,15,0.3);
  text-shadow: 0 1px 0 rgba(255,235,200,0.35);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px 16px;
  padding: 36px 56px 80px;
}
.grid .card { flex: unset; }

/* ---------- Detail page ---------- */
.detail-hero {
  position: relative;
  min-height: 72vh;
  padding: 0 56px;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  overflow: hidden;
}
.detail-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #0A0805;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.detail-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Strong left + gentle top shadow so the title/credits stay readable over a real
     backdrop — and the bottom still fades to black (kept, per owner). */
  background:
    /* bottom fade ON TOP → the very bottom is pure #000 across the FULL width, so it matches the
       page black below it exactly (no seam at the hero/tab boundary) */
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(0,0,0,0.5) 76%, #000 94%, #000 100%),
    /* left shadow for text legibility (sits below the bottom fade) */
    linear-gradient(90deg, rgba(6,5,4,0.90) 0%, rgba(6,5,4,0.70) 32%, rgba(6,5,4,0.22) 62%, transparent 82%);
}
.detail-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.detail-hero__title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
}
.detail-hero__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.detail-hero__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 640px;
}
.detail-hero__credits {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  font-size: 13px;
  margin-bottom: 28px;
  max-width: 640px;
}
.detail-hero__credits dt { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; padding-top: 2px; }
.detail-hero__credits dd { color: var(--text); }

.episodes {
  padding: 36px 56px 80px;
  max-width: 1100px;
}
.episodes h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.episodes h2::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--gold-metal);
  margin-right: 12px;
  vertical-align: -2px;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.4);
}
.episode {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: pointer;
  transition: padding 0.2s ease;
}
.episode:hover { padding-left: 8px; }
.episode:hover .episode__title { color: var(--gold-light); }
.episode__art {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.episode__art::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--gold-light);
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.episode:hover .episode__art::after { opacity: 1; }
.episode__num {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.episode__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}
.episode__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.episode__time {
  font-size: 13px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* ---------- Player ---------- */
.player {
  min-height: 100vh;
  background: #000;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.player__stage {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(201,169,97,0.06) 0%, #000 80%);
  display: grid;
  place-items: center;
}
.player__stage::before {
  content: "";
  width: clamp(180px, 32vw, 460px);
  height: clamp(70px, 13vw, 180px);
  background: url("assets/tivi-logo.png") center / contain no-repeat;
  opacity: 0.12;
  filter: grayscale(0.3);
}
.player__top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  z-index: 2;
}
.player__back {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
.player__back:hover { background: rgba(201,169,97,0.12); color: var(--gold-light); }
.player__title-wrap { line-height: 1.2; }
.player__series {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.player__ep {
  font-size: 16px;
  font-weight: 600;
}
.player__controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  z-index: 2;
}
.player__scrub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.player__track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  transition: height 0.1s ease;
}
.player__track:hover { height: 5px; }
.player__fill {
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-hi) 100%);
  border-radius: 2px;
  position: relative;
}
.player__fill::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  background: radial-gradient(circle at 30% 30%, var(--gold-hi), var(--gold-mid));
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168,133,71,0.7), inset 0 1px 0 rgba(255,240,200,0.6);
}
.player__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.player__spacer { flex: 1; }
.player__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}
.player__btn:hover { background: rgba(201,169,97,0.12); color: var(--gold-light); }
.player__btn--play {
  width: 58px; height: 58px;
  background: var(--gold-metal);
  color: #1A0F03;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid var(--gold-mid);
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.5), inset 0 -2px 4px rgba(42,31,15,0.45), 0 8px 20px rgba(0,0,0,0.5);
  text-shadow: 0 1px 0 rgba(255,235,200,0.4);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.player__btn--play::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gold-brush);
  background-size: 200px 40px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}
.player__btn--play:hover { filter: brightness(1.08); color: #1A0F03; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 56px 32px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
}
.footer__logo {
  height: 28px;
  margin-bottom: 18px;
  opacity: 0.85;
}
.footer__row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer__row a { color: var(--text-muted); }
.footer__row a:hover { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 0 20px; gap: 16px; }
  .nav__links { display: none; }
  .hero, .detail-hero { padding-left: 24px; padding-right: 24px; }
  .section, .page-head, .chips, .grid, .episodes, .footer { padding-left: 24px; padding-right: 24px; }
  .card { flex-basis: 200px; }
  .episode { grid-template-columns: 140px 1fr; }
  .episode__time { grid-column: 2; }
}

/* ========================================================================
   MODERN NETWORK OVERLAY — punch, motion, premium texture
   ======================================================================== */

/* Subtle film grain on the body — premium tactile feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Promo marquee strip — anchors the "live network" feeling */
.promo-strip {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, #000 0%, #1A1408 50%, #000 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}
.promo-strip__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 100vw;
}
.promo-strip__item {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.promo-strip__item strong {
  color: var(--gold-light);
  font-weight: 700;
}
.promo-strip__item .live-dot {
  width: 7px; height: 7px;
  background: #FF3B3B;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-red 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255,59,59,0.7);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

/* Hero overhaul — ken burns + larger type + premiere stamp */
.hero { min-height: 92vh; }
.hero__bg {
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -2%); }
}
.hero__bg::after {
  background:
    radial-gradient(80% 70% at 70% 30%, rgba(201,169,97,0.22) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, transparent 45%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(0,0,0,0.5) 35%, transparent 65%);
}
.hero__title {
  font-size: clamp(56px, 8vw, 104px);
  letter-spacing: -3px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.hero__premiere {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  background: rgba(201,169,97,0.1);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__premiere .live-dot {
  width: 8px; height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-light);
  animation: pulse-gold 2s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.8); }
}
.hero__critic {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 560px;
}
.hero__critic .stars {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.hero__critic blockquote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}
.hero__critic blockquote cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

/* Primary CTA gold sheen sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen {
  0%, 70% { left: -120%; }
  100%    { left: 220%; }
}

/* Stronger card hover — gold edge glow + scale */
.card { transition: transform 0.25s ease; }
.card:hover {
  transform: translateY(-6px) scale(1.04);
  z-index: 2;
}
.card:hover .card__art {
  border-color: var(--gold);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.7),
    0 0 0 1px var(--gold-light),
    0 0 36px rgba(201,169,97,0.35);
}

/* TOP 10 row — Netflix-style bleeding outlined numerals */
.top10 { padding-bottom: 12px; }
.top10__row {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.top10__row::-webkit-scrollbar { display: none; }
.top10__item {
  flex: 0 0 280px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: end;
  position: relative;
  cursor: pointer;
  margin-right: -4px;
}
.top10__rank {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 200px;
  line-height: 0.82;
  letter-spacing: -12px;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold-deep);
  text-stroke: 2px var(--gold-deep);
  user-select: none;
  pointer-events: none;
  transform: translate(8px, 8px);
  transition: -webkit-text-stroke-color 0.2s ease;
}
.top10__item:hover .top10__rank {
  -webkit-text-stroke-color: var(--gold-light);
}
.top10__poster {
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  background: var(--surface-2) center / cover no-repeat;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.top10__item:hover .top10__poster {
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* Featured premiere billboard — full-bleed cinematic interrupt */
.billboard {
  position: relative;
  margin: 60px 0;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.billboard__bg {
  position: absolute;
  inset: 0;
  background: var(--surface) center / cover no-repeat;
  z-index: 0;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.billboard__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 20% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.billboard__inner {
  position: relative;
  z-index: 1;
  padding: 80px 56px;
  max-width: 620px;
}
.billboard__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold-light);
  color: #1A1206;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 18px;
}
.billboard__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.billboard__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}
.billboard__meta {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Talent / quote pull block */
.spotlight {
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(180deg, transparent 0%, rgba(201,169,97,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--border);
}
.spotlight__quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  line-height: 1.3;
  color: var(--text);
  position: relative;
  padding-left: 40px;
}
.spotlight__quote::before {
  content: "“";
  position: absolute;
  left: 0; top: -20px;
  font-size: 96px;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
}
.spotlight__quote cite {
  display: block;
  margin-top: 22px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.spotlight__art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--surface-2) center / cover no-repeat;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,169,97,0.08);
}
.spotlight__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8) 100%);
  border-radius: inherit;
}
.spotlight__caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* New This Week strip */
.new-strip {
  padding: 18px 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, rgba(201,169,97,0.06) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.new-strip__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-right: 18px;
  border-right: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.new-strip__items {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.new-strip__items::-webkit-scrollbar { display: none; }
.new-strip__item {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  font-weight: 500;
}
.new-strip__item span {
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.new-strip__item:hover { color: var(--gold-light); }

/* Section titles — punchier, larger */
.section__title { font-size: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .billboard__inner { padding: 60px 24px; }
  .new-strip { padding: 16px 24px; }
  .top10__item { flex-basis: 240px; grid-template-columns: 80px 1fr; }
  .top10__rank { font-size: 150px; -webkit-text-stroke-width: 1.5px; }
}

/* ========================================================================
   HULU-STYLE EDITORIAL LAYER — magazine, not library
   Big colored collection panels, oversized typography, asymmetric grids
   ======================================================================== */

/* Jewel-tone accent palette for collection panels (works with gold) */
:root {
  --jewel-emerald: #0B3D2E;
  --jewel-crimson: #5C1A1B;
  --jewel-navy:    #0F1F3C;
  --cream:         #F4E9D1;
  --cream-ink:     #1A0F03;
}

/* Massive editorial section header */
.section--editorial { padding: 80px 56px 40px; }
.section--editorial .section__title {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.92;
  margin-bottom: 12px;
}
.section--editorial .section__title::before { display: none; }
.section--editorial .section__intro {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* Live TV channel strip — modern network signature */
.livetv {
  padding: 36px 56px 56px;
  border-top: 1px solid var(--border);
}
.livetv__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.livetv__head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.livetv__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: #FF3B3B;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
}
.livetv__strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.livetv__strip::-webkit-scrollbar { display: none; }
.livetv__channel {
  flex: 0 0 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.livetv__channel:hover {
  border-color: var(--gold-mid);
  transform: translateY(-3px);
}
.livetv__channel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.livetv__channel-logo {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--gold-metal);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900;
  color: #1A0F03;
  letter-spacing: 0;
  border: 1px solid var(--gold-mid);
}
.livetv__channel-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.livetv__channel-sub {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.livetv__now-label {
  font-size: 10px;
  color: var(--gold-hi);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.livetv__now-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.livetv__bar {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.livetv__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi));
}
.livetv__next {
  font-size: 12px;
  color: var(--text-muted);
}
.livetv__next strong {
  color: var(--text);
  font-weight: 600;
}

/* Full-bleed collection panel — colored editorial block, magazine-style */
.collection {
  position: relative;
  padding: 80px 56px;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1.2fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}
.collection--emerald { background: linear-gradient(135deg, var(--jewel-emerald) 0%, #051A14 100%); }
.collection--crimson { background: linear-gradient(135deg, var(--jewel-crimson) 0%, #1A0808 100%); }
.collection--cream {
  background: linear-gradient(135deg, var(--cream) 0%, #E5D6B5 100%);
  color: var(--cream-ink);
}
.collection--cream .collection__kicker { color: var(--gold-mid); }
.collection--cream .collection__title  { color: var(--cream-ink); }
.collection--cream .collection__desc   { color: rgba(26,15,3,0.78); }

.collection__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--gold-hi);
  margin-bottom: 18px;
}
.collection__kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.collection__title {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 0.95;
  margin-bottom: 22px;
  color: #fff;
}
.collection__desc {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 480px;
}

/* Magazine-style asymmetric poster lockup: 1 large + 4 small */
.lockup {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 380px;
}
.lockup__a {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  background: var(--surface-2) center / cover no-repeat;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.lockup__b, .lockup__c, .lockup__d, .lockup__e {
  border-radius: var(--radius);
  background: var(--surface-2) center / cover no-repeat;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.lockup > div:hover { transform: scale(1.03); }
.lockup__a::after,
.lockup__b::after,
.lockup__c::after,
.lockup__d::after,
.lockup__e::after {
  content: attr(data-cap);
  position: absolute;
  bottom: 10px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.lockup > div { position: relative; }

/* Reset hero min-height inside our magazine layout (less tall) */
.section--editorial + .section { padding-top: 0; }

/* Recommendation row — themed "If you liked X" */
.rec-row {
  padding: 32px 56px 48px;
  border-top: 1px solid var(--border);
}
.rec-row__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.rec-row__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.rec-row__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.rec-row__title em {
  font-style: normal;
  background: var(--gold-metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* "NEW EPISODE" overlay badge */
.tag-new {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  padding: 3px 7px;
  background: #FF3B3B;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Magazine-style 2-up feature row */
.feature2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 48px 56px;
}
.feature2__card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--surface-2) center / cover no-repeat;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.2s ease;
}
.feature2__card:hover { border-color: var(--gold-mid); transform: translateY(-4px); }
.feature2__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.feature2__caption {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 1;
}
.feature2__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 6px;
}
.feature2__title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.feature2__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 480px;
}

/* Responsive */
@media (max-width: 1000px) {
  .collection { grid-template-columns: 1fr; gap: 36px; padding: 60px 24px; }
  .lockup { height: 320px; }
  .feature2 { grid-template-columns: 1fr; padding: 32px 24px; }
  .livetv { padding-left: 24px; padding-right: 24px; }
  .section--editorial { padding-left: 24px; padding-right: 24px; }
}

/* ========================================================================
   APPLE TV+ AESTHETIC LAYER — restrained, cinematic, spacious
   Quiet luxury. Gold reserved for TIVI Original badge + footer mark only.
   ======================================================================== */

/* Hide all the Hulu-era components */
.promo-strip,
.livetv,
.collection,
.feature2,
.spotlight,
.rec-row,
.billboard,
.new-strip,
.hero__critic { display: none !important; }

/* Body — very subtle warm undertone, not pure black (Apple's trick) */
body { background: #050505; }
.section, .nav { background: transparent; }

/* Nav — quieter, more spacious */
.nav {
  height: 76px;
  padding: 0 64px;
  border-bottom: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0) 100%);
}
.nav__logo img { height: 32px; }
.nav__links { gap: 36px; }
.nav__links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: rgba(255,255,255,0.65);
}
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: #fff; }
.nav__avatar { box-shadow: none; border: none; background: linear-gradient(135deg, var(--gold-hi), var(--gold-mid)); }

/* HERO — bigger, quieter, more cinematic */
.hero { min-height: 96vh; padding: 0 64px; }
.hero__bg { animation: kenburns 30s ease-in-out infinite alternate; }
.hero__bg::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, #050505 100%),
    linear-gradient(90deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.3) 40%, transparent 70%);
}
.hero__inner { max-width: 680px; padding: 100px 0 96px; }
.hero__title {
  font-size: clamp(56px, 7.5vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero__desc {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 600px;
}
.hero__meta { font-size: 13px; color: rgba(255,255,255,0.55); }
.hero__meta .badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: #fff; }

/* Gold TIVI Original badge — the *only* prominent gold moment */
.hero__premiere {
  background: transparent;
  border: 1px solid var(--gold-mid);
  padding: 7px 14px;
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--gold-hi);
  margin-bottom: 26px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.hero__premiere .live-dot {
  background: var(--gold-hi);
  box-shadow: 0 0 8px var(--gold-hi);
  width: 6px; height: 6px;
}

/* Primary CTA — Apple style: WHITE button on dark, not flooded gold */
.btn--primary {
  background: #fff;
  color: #000;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  text-shadow: none;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
}
.btn--primary::before,
.btn--primary::after { display: none !important; }
.btn--primary:hover { background: #fff; filter: brightness(0.95); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,0.16);
  border: none;
  color: #fff;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
}
.btn--ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }

/* Sections — more breathing room between */
.section { padding: 56px 64px; }
.section__head { margin-bottom: 24px; }
.section__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
}
.section__title::before { display: none; }
.section__link {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.section__link:hover { color: #fff; }

/* Cards — large, rounded, no overlay text on art */
.row { gap: 18px; }
.card { flex-basis: 320px; }
.card__art {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.card__art::after { display: none; }
.card__label { display: none; }
.card__title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 4px;
  color: #fff;
}
.card__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.card:hover .card__art {
  border: none;
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,255,255,0.4);
}
.card { transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1); }
.card:hover { transform: scale(1.04); }

/* Poster (2:3) cards */
.card--poster { flex-basis: 240px; }
.card--poster .card__art { aspect-ratio: 2 / 3; }

/* Continue watching — subtle gold underline instead of overlay bar */
.card__progress {
  position: static;
  height: 2px;
  margin-top: 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 1px;
}
.card__progress span {
  background: var(--gold-metal);
  border-radius: 1px;
}
.tag-new {
  background: #fff;
  color: #000;
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

/* ========== FEATURE3 — Apple TV+ signature 3-up big cards with logo lockup ========== */
.feature3 {
  padding: 80px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature3__card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--surface-2) center / cover no-repeat;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.feature3__card:hover { transform: scale(1.02); }
.feature3__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 78%, rgba(0,0,0,0.95) 100%);
}
.feature3__inner {
  position: absolute;
  bottom: 36px; left: 36px; right: 36px;
  z-index: 1;
}
.feature3__kicker {
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-hi);
  margin-bottom: 14px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--gold-mid);
  border-radius: 2px;
}
.feature3__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.feature3__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  max-width: 360px;
}

/* TOP 10 — keep but quieter, lighter outline */
.top10__rank {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  text-stroke: 1.5px rgba(255,255,255,0.18);
  font-size: 200px;
}
.top10__item:hover .top10__rank {
  -webkit-text-stroke-color: var(--gold-mid);
}
.top10__poster { border-radius: 10px; border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.top10__item:hover .top10__poster { border: none; box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,255,255,0.4); }

/* Footer — quieter */
.footer { padding: 80px 64px 48px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__logo { height: 24px; opacity: 0.7; }

/* Responsive */
@media (max-width: 1100px) {
  .feature3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 0 24px; }
  .hero { padding: 0 24px; }
  .hero__title { font-size: clamp(40px, 9vw, 56px); }
  .section, .feature3, .footer { padding-left: 24px; padding-right: 24px; }
  .feature3 { grid-template-columns: 1fr; }
  .card { flex-basis: 240px; }
}

/* ========================================================================
   APPLE × NETFLIX HYBRID LAYER
   Apple's restraint + Netflix's density, motion, and signature badges
   ======================================================================== */

/* HERO CAROUSEL — Netflix-style rotating featured shows */
.hero { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 64px;
  padding-top: var(--nav-h);
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero__slide .hero__bg {
  position: absolute;
  inset: 0;
  background-color: #050505;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__slide .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, #050505 100%),
    linear-gradient(90deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.3) 40%, transparent 70%);
}
.hero__slide.is-active .hero__bg { animation: kenburns 30s ease-in-out infinite alternate; }

/* Carousel indicator dots */
.hero__dots {
  position: absolute;
  bottom: 36px; left: 64px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero__dot.is-active {
  background: var(--gold-metal);
  width: 56px;
}

/* home hero polish (2026-06-12): Play gets the detail's white sheen; tuck the slide-dots
   to the far right so they don't sit under the Play/icon row */
.hero .hero__cta .btn--primary{
  background:linear-gradient(180deg, #FFFFFF 0%, #ECE8DF 100%) !important;
  color:#19150F !important; border:1px solid rgba(255,255,255,0.9);
  box-shadow:0 9px 24px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,1), inset 0 -3px 8px rgba(0,0,0,0.06); }
.hero .hero__cta .btn--primary:hover{ filter:brightness(0.97); transform:translateY(-1px); }
.hero__dots{ left:auto; right:56px; bottom:28px; }

/* phone-only (2026-06-12): the rating/IMDb chips AND the cast names carried desktop sizing into a
   tiny layout and read way too big vs the title — scale them down hard into a quiet info line */
@media (max-width: 600px) {
  .hero__meta { font-size: 10.5px; gap: 6px; }
  .hero__meta .badge, .mrating { font-size: 9.5px !important; font-weight: 700; padding: 1px 6px; letter-spacing: .2px; }
  .imdb-badge { font-size: 9.5px; font-weight: 600; padding: 1px 6px; gap: 3px; }
  .imdb-badge .imdb-mark { font-weight: 800; }
  .imdb-badge .imdb-score { font-weight: 600; }
  .imdb-badge .imdb-score small { font-size: .7em; }
  /* cast + director credits — much smaller + lighter (were 14px bold) */
  .detail-hero__director, .detail-hero__starring { font-size: 10.5px !important; line-height: 1.45; margin-bottom: 2px; }
  .detail-hero__director strong, .detail-hero__starring strong { font-weight: 600 !important; }
}

/* phones: fit the hero action row (Play + 5 glass icons) on a narrow screen — Play on top,
   icons wrap beneath; shrink the circles; hide the slide-dots */
@media (max-width:600px){
  .hero .hero__cta{ flex-wrap:wrap; gap:14px 16px; }
  .hero .icon-actions{ gap:13px; flex-wrap:wrap; flex-basis:100%; padding-top:6px; }
  .hero .icon-btn{ font-size:10.5px; gap:6px; }
  .hero .icon-btn__ic{ width:44px; height:44px; }
  .hero .icon-btn__ic svg{ width:20px; height:20px; }
  .hero__dots{ display:none; }
}

/* TIVI Original — small brushed-gold "T" badge (Netflix's N equivalent) */
.tivi-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  width: 26px; height: 26px;
  border-radius: 4px;
  background: var(--gold-metal);
  border: 1px solid var(--gold-mid);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: #1A0F03;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,240,200,0.5);
  text-shadow: 0 1px 0 rgba(255,235,200,0.4);
}

/* TOP 10 ribbon badge (corner triangle banner, Netflix-style) */
.top10-ribbon {
  position: absolute;
  top: 0; right: 0;
  z-index: 3;
  width: 38px;
  height: 56px;
  background: linear-gradient(180deg, #E50914 0%, #B0060F 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  display: grid;
  place-items: center;
  padding-bottom: 8px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.top10-ribbon span { display: block; }
.top10-ribbon strong { font-size: 14px; font-weight: 900; }

/* CARD HOVER EXPANSION — Netflix signature */
.row { gap: 14px; padding-top: 8px; padding-bottom: 80px; overflow-y: visible; }
.card { flex-basis: 280px; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; }
.card__art {
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.card__art-img {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
}

/* Hover reveal panel — appears below art on hover */
.card__hover {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #1A1A1A;
  border-radius: 0 0 10px 10px;
  padding: 14px 16px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 5;
}
.card:hover {
  transform: scale(1.18);
  z-index: 10;
}
.card:hover .card__hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.card:hover .card__art { box-shadow: 0 20px 40px rgba(0,0,0,0.7); border-radius: 10px 10px 0 0; }
.card:hover .card__art-img { border-radius: 10px 10px 0 0; }
.card__hover-controls {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.card__hover-btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.card__hover-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.08); }
.card__hover-btn--play {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.card__hover-btn--play:hover { background: #fff; filter: brightness(0.9); }
.card__hover-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.card__hover-meta .match { color: var(--gold-hi); font-weight: 700; }
.card__hover-meta .rating {
  padding: 1px 6px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  font-size: 10px;
}
.card__hover-genres {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.card__hover-genres span:not(:last-child)::after { content: " · "; opacity: 0.5; }

/* Hide the static title/sub when hovering to make room for hover card */
.card .card__title, .card .card__sub { transition: opacity 0.2s ease; }
.card:hover .card__title, .card:hover .card__sub { opacity: 0; }

/* Hide carousel hero__slide styling overrides need correct .hero__bg refs */
.hero > .hero__bg { display: none; }  /* old single-bg, replaced by slide bgs */
.hero > .hero__inner { display: none; }  /* old single-inner, replaced by slide inners */

/* Section spacing rebalance for denser hybrid */
.section { padding: 32px 64px; }
.section + .section { padding-top: 0; }
.section__head { margin-bottom: 16px; }

/* Top 10 row tweaks for hybrid */
.top10 { padding-bottom: 80px; }
.top10__item { overflow: visible; }

/* Responsive */
@media (max-width: 760px) {
  .hero__slide { padding-left: 24px; padding-right: 24px; }
  .hero__dots { left: 24px; }
  .card { flex-basis: 220px; }
  .card:hover { transform: scale(1.08); }
}

/* ========================================================================
   TOP 10 — bring back the big bleeding ranking numerals (Netflix style)
   ======================================================================== */
.top10 { padding-bottom: 96px; }
.top10__row {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  padding: 8px 0 24px;
}
.top10__row::-webkit-scrollbar { display: none; }

.top10__item {
  flex: 0 0 320px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: end;
  position: relative;
  cursor: pointer;
  margin-right: -10px;
  overflow: visible;
}

.top10__rank {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 240px;
  line-height: 0.82;
  letter-spacing: -16px;
  color: transparent;
  -webkit-text-stroke: 3px var(--gold);
          text-stroke: 3px var(--gold);
  user-select: none;
  pointer-events: none;
  transform: translate(14px, 14px);
  text-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: -webkit-text-stroke-color 0.25s ease, transform 0.25s ease;
}
/* "10" is two digits — give it more room */
.top10__item:last-child {
  flex-basis: 380px;
  grid-template-columns: 200px 1fr;
}
.top10__item:last-child .top10__rank {
  font-size: 230px;
  letter-spacing: -22px;
}

.top10__item:hover .top10__rank {
  -webkit-text-stroke-color: var(--gold-hi);
          text-stroke-color: var(--gold-hi);
  transform: translate(14px, 10px) scale(1.02);
}

.top10__poster {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: var(--surface-2) center / cover no-repeat;
  border: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  position: relative;
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease;
}
.top10__item:hover .top10__poster {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 22px 50px rgba(0,0,0,0.7), 0 0 0 2px rgba(255,255,255,0.4);
}

@media (max-width: 760px) {
  .top10__item { flex-basis: 240px; grid-template-columns: 80px 1fr; }
  .top10__rank { font-size: 160px; -webkit-text-stroke-width: 2px; letter-spacing: -10px; }
  .top10__item:last-child { flex-basis: 280px; grid-template-columns: 120px 1fr; }
  .top10__item:last-child .top10__rank { font-size: 150px; letter-spacing: -14px; }
}

/* ========================================================================
   PERFORMANCE PATCH — kill expensive effects that tank scroll perf
   ======================================================================== */

/* Kill full-viewport grain blend (was the worst scroll-perf offender) */
body::before { display: none !important; }

/* Kenburns only on the visible hero slide (was running on all 3 simultaneously) */
.hero__bg,
.hero__slide .hero__bg { animation: none; }
.hero__slide.is-active .hero__bg { animation: kenburns 30s ease-in-out infinite alternate; }

/* Reduce paint cost on hover transforms */
.card,
.card__art,
.feature3__card,
.top10__poster { will-change: auto; }
.card:hover,
.top10__item:hover .top10__poster { will-change: transform; }

/* ========================================================================
   BIGGER LANDSCAPE CARDS — only the 16:9 horizontal rows
   Posters (2:3), Top 10, and feature3 stay exactly as they are.
   ======================================================================== */
.card { flex-basis: 640px; }                /* was 280px → 2.3× */
.card--poster { flex-basis: 240px !important; }  /* preserve tall poster size */

/* Tighten hover scale on the now-large landscape cards so they don't blow out */
.card:not(.card--poster):hover { transform: scale(1.06); }

/* Bigger landscape cards = make the hover info panel a little roomier */
.card:not(.card--poster) .card__hover { padding: 18px 22px 20px; }
.card:not(.card--poster) .card__hover-meta { font-size: 12px; }
.card:not(.card--poster) .card__hover-genres { font-size: 12px; }

/* Mobile: keep cards reasonable */
@media (max-width: 900px) {
  .card { flex-basis: 380px; }
}
@media (max-width: 600px) {
  .card { flex-basis: 280px; }
}

/* ========================================================================
   DIFFERENTIATOR LAYER — Scene Search · Mood Tags · Audio Preview
   ======================================================================== */

/* ---------- SCENE SEARCH OVERLAY (#3) ---------- */
.scene-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.scene-search.is-open {
  opacity: 1;
  pointer-events: auto;
}
.scene-search__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 56px 120px;
}
.scene-search__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.scene-search__icon {
  color: var(--gold-hi);
  margin-top: 14px;
}
.scene-search__input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold-mid);
  color: #fff;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -1px;
  padding: 12px 0;
  outline: none;
}
.scene-search__input::placeholder { color: rgba(255,255,255,0.35); font-weight: 300; }
.scene-search__close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  cursor: pointer;
  margin-top: 8px;
}
.scene-search__close:hover { background: rgba(255,255,255,0.18); }
.scene-search__hint {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  margin-left: 36px;
}
.scene-search__hint strong { color: var(--gold-hi); font-weight: 600; }

.scene-search__suggests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  margin-left: 36px;
}
.scene-search__chip {
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.scene-search__chip:hover {
  background: rgba(201,169,97,0.12);
  border-color: var(--gold-mid);
  color: var(--gold-hi);
}

.scene-search__results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.scene-result {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 24px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.scene-result:hover {
  background: rgba(201,169,97,0.06);
  border-color: var(--gold-mid);
  transform: translateX(4px);
}
.scene-result__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--surface-2) center / cover no-repeat;
  position: relative;
}
.scene-result__time {
  position: absolute;
  bottom: 8px; right: 8px;
  padding: 3px 7px;
  background: rgba(0,0,0,0.85);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-hi);
  border-radius: 3px;
}
.scene-result__meta { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.scene-result__show {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-hi);
}
.scene-result__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.scene-result__dialogue {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.scene-result__play {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.scene-result:hover .scene-result__play {
  background: var(--gold-metal);
  color: #1A0F03;
  border-color: var(--gold-mid);
}

/* ---------- MOOD GRID (#4) ---------- */
.moods {
  padding: 60px 64px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.moods__head { margin-bottom: 24px; display: flex; align-items: baseline; gap: 16px; }
.moods__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.moods__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}
.moods__sub strong {
  background: var(--gold-metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 600;
}
.moods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.mood {
  position: relative;
  padding: 22px 20px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  text-align: left;
}
.mood::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 30% 100%, var(--mood-color, var(--gold-deep)) 0%, transparent 60%);
  opacity: 0.35;
  transition: opacity 0.2s ease;
}
.mood:hover {
  border-color: var(--gold-mid);
  transform: translateY(-3px);
  background: rgba(201,169,97,0.06);
}
.mood:hover::before { opacity: 0.6; }
.mood__label {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.mood__count {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ---------- AUDIO PREVIEW EQ VISUALIZER (#7) ---------- */
.card__art { position: relative; }
.card__eq {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 4;
  display: none;
  gap: 2px;
  height: 18px;
  padding: 4px 6px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}
.card.is-previewing .card__eq { display: flex; }
.card__eq span {
  display: block;
  width: 2px;
  background: var(--gold-hi);
  border-radius: 1px;
  animation: eqBar 0.6s ease-in-out infinite;
}
.card__eq span:nth-child(1) { animation-duration: 0.42s; }
.card__eq span:nth-child(2) { animation-duration: 0.58s; }
.card__eq span:nth-child(3) { animation-duration: 0.36s; }
.card__eq span:nth-child(4) { animation-duration: 0.52s; }
@keyframes eqBar {
  0%, 100% { height: 4px; }
  50%      { height: 14px; }
}

/* Audio toggle in nav */
.audio-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  position: relative;
}
.audio-toggle:hover { color: var(--gold-hi); background: rgba(201,169,97,0.08); }
.audio-toggle.is-off::after {
  content: "";
  position: absolute;
  top: 50%; left: 18%; right: 18%;
  height: 2px;
  background: var(--gold-hi);
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 1px;
}

@media (max-width: 760px) {
  .moods { padding: 40px 24px 24px; }
  .scene-search__inner { padding: 60px 24px 80px; }
  .scene-result { grid-template-columns: 1fr; }
  .scene-result__play { justify-self: start; }
}

/* ========================================================================
   FEATURE OVERHAUL — remove old #3/#7, add #1/#2/#5/#6
   ======================================================================== */

/* Kill removed features */
.scene-search,
.audio-toggle,
.card__eq { display: none !important; }

/* ---------- #1 CINEMA MODE — blackout transition ---------- */
.cinema-fade {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.cinema-fade.is-active {
  opacity: 1;
  pointer-events: auto;
}
.cinema-fade__mark {
  width: 280px;
  max-width: 60vw;
  opacity: 0;
  filter: drop-shadow(0 0 24px rgba(168,133,71,0.25));
  transform: scale(0.96);
}
.cinema-fade__caption {
  opacity: 0;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-hi);
}
.cinema-fade.is-active .cinema-fade__mark {
  animation: cinemaMark 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards;
}
.cinema-fade.is-active .cinema-fade__caption {
  animation: cinemaCap 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}
@keyframes cinemaMark {
  0%   { opacity: 0; transform: scale(0.96); }
  35%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}
@keyframes cinemaCap {
  0%   { opacity: 0; transform: translateY(8px); letter-spacing: 6px; }
  40%  { opacity: 0.85; transform: translateY(0); letter-spacing: 4px; }
  80%  { opacity: 0.85; }
  100% { opacity: 0; }
}

/* ---------- #2 CARD-MORPH — card expanding to fill viewport ---------- */
.card.is-morphing {
  position: relative;
  z-index: 900;
  pointer-events: none;
}
.card.is-morphing .card__hover { display: none !important; }
.card.is-morphing .card__title,
.card.is-morphing .card__sub,
.card.is-morphing .card__progress { display: none; }
.card.is-morphing .card__art {
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s ease;
}

/* ---------- #5 PAUSE-TO-DISCUSS — sidebar panel (watch.html) ---------- */
.discuss {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(168,133,71,0.18);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0, 0.2, 1);
  z-index: 80;
  display: flex;
  flex-direction: column;
}
.discuss.is-open { transform: translateX(0); }
.discuss__head {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.discuss__time {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-hi);
}
.discuss__title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-top: 8px;
  color: #fff;
}
.discuss__sub {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-style: italic;
}
.discuss__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
}
.discuss__close:hover { background: rgba(255,255,255,0.15); }
.discuss__list {
  flex: 1;
  overflow-y: auto;
  padding: 18px 28px 28px;
}
.discuss__item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.discuss__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-metal);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #1A0F03;
  border: 1px solid var(--gold-mid);
  text-shadow: 0 1px 0 rgba(255,235,200,0.4);
}
.discuss__user {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.discuss__user strong { color: #fff; font-weight: 600; }
.discuss__text {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}
.discuss__actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.discuss__actions button {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55);
  background: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}
.discuss__actions button:hover { color: var(--gold-hi); }

/* ---------- #6 VERTICAL CHAPTER SCRUBBER (watch.html) ---------- */
.chapters {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 340px;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(168,133,71,0.18);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.2, 0, 0.2, 1);
  z-index: 80;
  display: flex;
  flex-direction: column;
}
.chapters.is-open { transform: translateX(0); }
.chapters__head {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.chapters__head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
}
.chapters__head small {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-hi);
  font-weight: 700;
  margin-bottom: 6px;
}
.chapters__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
}
.chapters__close:hover { background: rgba(255,255,255,0.15); }
.chapters__list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.chapters__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px 24px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.chapters__item:hover {
  background: rgba(168,133,71,0.06);
  border-left-color: var(--gold-mid);
}
.chapters__item.is-active {
  background: rgba(168,133,71,0.1);
  border-left-color: var(--gold-hi);
}
.chapters__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: var(--surface-2) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.chapters__num {
  position: absolute;
  top: 4px; left: 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-hi);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.chapters__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.chapters__time {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .discuss { width: 100vw; }
  .chapters { width: 88vw; }
}

/* ========================================================================
   TIVI SIGNATURE EXTENSIONS — rainbow stripe + gold frame system
   These same values become the design spec for Roku/Fire/Samsung apps.
   ======================================================================== */

/* (1) SECTION TITLES — rainbow stripe underline as TIVI signature */
.section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section__title::after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 64px;
  height: 3px;
  background: var(--rainbow);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(244, 208, 63, 0.25);
}
.section__title::before { display: none !important; } /* drop the old gold bar */

/* Same treatment on the moods header + episodes header + page-head */
.moods__title,
.episodes h2,
.page-head h1 {
  position: relative;
  padding-bottom: 12px;
}
.moods__title::after,
.episodes h2::after,
.page-head h1::after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 64px;
  height: 3px;
  background: var(--rainbow);
  border-radius: 2px;
}
.episodes h2::before { display: none !important; }
.page-head h1::after { width: 80px; height: 4px; }

/* (2) TIVI ORIGINALS — brushed-gold frame + rainbow stripe under poster */
.card.card--poster .card__art:has(.tivi-badge),
.card .card__art:has(.tivi-badge) {
  position: relative;
}
/* Brushed-gold 1px frame on Originals */
.card .card__art:has(.tivi-badge)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gold-metal);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
/* Rainbow stripe under every Original card */
.card:has(.tivi-badge) .card__art::after {
  content: "" !important;
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  height: 3px !important;
  background: var(--rainbow) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 4;
}
/* Hide the dark vignette gradient on Originals so the rainbow reads */
.card:has(.tivi-badge):hover .card__art { box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 0 2px var(--gold-hi); }

/* TIVI T badge — refined gold seal */
.tivi-badge {
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
  position: relative;
}
.tivi-badge::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 1.5px;
  background: var(--rainbow);
  border-radius: 1px;
  opacity: 0.95;
}

/* (3) HERO — rainbow underline tying the title to the brand mark */
.hero__title { position: relative; padding-bottom: 18px; }
.hero__title::after {
  content: "";
  display: block;
  margin-top: 18px;
  width: 96px;
  height: 4px;
  background: var(--rainbow);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(244, 208, 63, 0.3);
}

/* (4) CINEMA MODE — rainbow stripe sweeps across the gold logo */
.cinema-fade__stripe {
  width: 280px;
  max-width: 60vw;
  height: 4px;
  background: var(--rainbow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  margin-top: 8px;
}
.cinema-fade.is-active .cinema-fade__stripe {
  animation: cinemaStripe 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.65s forwards;
}
@keyframes cinemaStripe {
  0%   { transform: scaleX(0);    opacity: 0; }
  30%  { transform: scaleX(1);    opacity: 1; }
  70%  { transform: scaleX(1);    opacity: 1; }
  100% { transform: scaleX(1);    opacity: 0; }
}

/* (5) FOCUS STATE — for TV apps via :focus-visible (web + Roku/Fire/Samsung)
       This is the design rule TV apps must implement: D-pad focused element
       gets brushed-gold outline + rainbow underline. Same in every platform. */
.card:focus-visible,
.card:focus-visible .card__art,
.top10__poster:focus-visible,
.feature3__card:focus-visible,
.btn:focus-visible,
.nav__links a:focus-visible,
.mood:focus-visible,
.chapters__item:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
  position: relative;
}
/* Rainbow underline below any focused element */
.card:focus-visible::after,
.btn:focus-visible::after,
.mood:focus-visible::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -12px;
  height: 3px;
  background: var(--rainbow);
  border-radius: 2px;
}

/* Loading bar — animated rainbow stripe (for use anywhere data loads) */
.tivi-loading {
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.tivi-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rainbow);
  width: 30%;
  animation: tiviLoading 1.6s ease-in-out infinite;
}
@keyframes tiviLoading {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

/* Footer logo — add the rainbow stripe underneath the wordmark to reinforce */
.footer__logo { margin-bottom: 4px; }
.footer__stripe {
  display: block;
  width: 90px;
  height: 3px;
  background: var(--rainbow);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* TV-APP DESIGN NOTES (for whoever builds Roku / Fire TV / Samsung Tizen):
   1. Use the same color tokens above. Same hex values, no substitutions.
   2. Tizen + webOS apps can reuse this CSS directly with a viewport scale.
   3. Roku BrightScript & Fire TV (Android) need parallel implementations
      of the same tokens — translate the CSS variables into platform SDKs.
   4. Replace mouse :hover with D-pad :focus. Focus = brushed-gold outline
      + rainbow underline. Same animation timings.
   5. Left-rail navigation on TV (not top-nav). Same labels, vertical layout.
   6. Cinema Mode (the gold logo + rainbow stripe sweep + caption) plays at
      app launch as the splash screen — same animation, ~1.5s.
   7. Strip ken-burns + grain noise on lower-end TV chipsets (Roku Express).
   8. T badge top-left of all Originals — same position, same color, same
      rainbow underline. This is the trademark across every screen.
   ============================================================================ */

/* ========================================================================
   TITLE TREATMENTS — custom logotype per show in the hero slot
   In production: each show's catalog row has a `title_treatment.svg` field.
   The hero renders that asset in place of system-font text. This prototype
   demonstrates the SLOT + visual standard with CSS-driven typography per show.
   ======================================================================== */

/* Clear default hero__title styling for title-art versions */
.hero__title.title-art {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-shadow: none;
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 18px;
}
.hero__title.title-art::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  background: var(--rainbow);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(244, 208, 63, 0.3);
  margin-top: 22px;
}

/* ---------- "After the Block" — urban / industrial / weighty ---------- */
.title-art--block {
  font-family: 'Anton', 'Oswald', sans-serif;
  color: #fff;
}
.title-art--block .ta-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 26px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: -8px;
  margin-left: 4px;
}
.title-art--block .ta-main {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-size: clamp(68px, 10vw, 132px);
  font-weight: 400;   /* Anton is naturally heavy */
  letter-spacing: 4px;
  line-height: 0.94;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
/* Brushed-gold bracket frame on the right side of "BLOCK" */
.title-art--block .ta-main::after {
  content: "";
  position: absolute;
  right: -22px; top: 12%; bottom: 12%;
  width: 4px;
  background: var(--gold-metal);
  border-radius: 2px;
}

/* ---------- "Saturdays at Sylvia's" — diner script + condensed serif ---------- */
.title-art--sylvias {
  color: #fff;
  align-items: flex-start;
}
.title-art--sylvias .ta-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 104px);
  background: var(--gold-metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  line-height: 0.85;
  letter-spacing: -1px;
  transform: rotate(-2.5deg);
  margin-left: -4px;
  margin-bottom: -10px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.title-art--sylvias .ta-at {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 30px);
  color: rgba(255,255,255,0.65);
  margin-left: 36px;
  margin-top: 14px;
  margin-bottom: -4px;
}
.title-art--sylvias .ta-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 92px);
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  position: relative;
}
/* Diner-awning stripe above SYLVIA'S */
.title-art--sylvias .ta-stripe {
  display: block;
  width: 140px;
  height: 8px;
  margin-bottom: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-hi) 0 18px,
    #F4E9D1     18px 36px
  );
  border-radius: 2px;
  margin-left: 2px;
}

/* ---------- "Crown Heights" — regal / classic drama / crest ---------- */
.title-art--crown {
  color: #fff;
  align-items: flex-start;
}
.title-art--crown .ta-crest {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  margin-left: 2px;
}
.title-art--crown .ta-crest svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.title-art--crown .ta-crest-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-hi) 0%, transparent 100%);
  max-width: 240px;
}
.title-art--crown .ta-regal {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(52px, 7.5vw, 108px);
  letter-spacing: 6px;
  line-height: 0.96;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 50%, var(--gold-hi) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
/* Subtle gold rule underneath the wordmark */
.title-art--crown .ta-rule {
  display: block;
  height: 2px;
  width: 70%;
  background: linear-gradient(90deg, var(--gold-hi) 0%, var(--gold-mid) 50%, transparent 100%);
  margin-top: 8px;
}

@media (max-width: 760px) {
  .title-art--block .ta-eyebrow { letter-spacing: 4px; }
  .title-art--sylvias .ta-at { margin-left: 18px; }
}

/* ============================================================
   PHONE FIT — hero wordmarks were floored too tall (clamp mins
   of 52–68px + 4–6px tracking) so they ran off the right edge on
   phones. Scale the title art to the viewport, tighten tracking,
   wrap the meta row. Tablets/desktop keep the big billboard sizes.
   ============================================================ */
@media (max-width: 600px) {
  .hero__title.title-art { padding-bottom: 10px; margin-bottom: 12px; }
  .hero__title.title-art::after { margin-top: 14px; width: 72px; height: 3px; }

  /* After the Block */
  .title-art--block .ta-eyebrow { font-size: clamp(12px, 3.6vw, 16px); letter-spacing: 4px; margin-bottom: -4px; }
  .title-art--block .ta-main    { font-size: clamp(40px, 13vw, 60px); letter-spacing: 1px; }
  .title-art--block .ta-main::after { right: -12px; width: 3px; }

  /* Saturdays at Sylvia's */
  .title-art--sylvias .ta-script { font-size: clamp(40px, 13vw, 60px); }
  .title-art--sylvias .ta-at     { font-size: clamp(14px, 4vw, 18px); margin-left: 12px; margin-top: 8px; }
  .title-art--sylvias .ta-serif  { font-size: clamp(28px, 9vw, 44px); letter-spacing: 2px; }
  .title-art--sylvias .ta-stripe { width: 100px; height: 6px; }

  /* Crown Heights */
  .title-art--crown .ta-regal     { font-size: clamp(28px, 9vw, 46px); letter-spacing: 2px; }
  .title-art--crown .ta-crest svg { width: 26px; height: auto; }
  .title-art--crown .ta-crest-rule{ max-width: 96px; }
  .title-art--crown .ta-rule      { width: 60%; }

  /* meta + synopsis must wrap, never spill */
  .hero__meta { flex-wrap: wrap; gap: 8px 10px; font-size: 12px; }
  .hero__desc { display: none; }   /* keep the mobile hero compact — synopsis lives on the detail page */

  /* ---- BACKDROP FITS THE SCREEN — full-width image band on top, content below ----
     The landscape backdrop was stretched to fill 92vh and got zoom-cropped (that giant
     "R"). On phones, show the WHOLE image at its natural 16:9 across the top — exactly
     like Prime / Tubi / the TIVI app — then stack the title art, meta, and buttons
     beneath it on black. Carousel still works (active slide swaps in place). */
  .hero { min-height: 0; height: auto; display: block; padding: var(--nav-h) 0 0;
          align-items: stretch; overflow-x: clip; }
  .hero__slide { display: none; position: static; inset: auto; padding: 0;
                 opacity: 1; pointer-events: auto; transition: none; }
  .hero__slide.is-active { display: block; }
  .hero__slide .hero__bg {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 3 / 2; background-position: center top; animation: none !important;
  }
  .hero__slide .hero__bg::after {
    background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.55) 84%, #000 100%);
  }
  .hero__inner { max-width: 100%; padding: 16px 20px 6px; }
  .hero__premiere { margin-bottom: 10px; }
  .hero__cta { margin-top: 8px; gap: 10px; }
  .hero__cta .btn { flex: 1; justify-content: center; padding-top: 13px; padding-bottom: 13px; }
  .hero__dots { position: static; justify-content: center; left: auto; bottom: auto; margin: 16px 0 4px; }
}

/* ============================================================
   JET-BLACK BACKGROUNDS, SITEWIDE (owner directive 2026-06-10).
   Kills the burgundy/warm wash behind featured sections — the
   page and every section container render pure #000. Cards,
   hero art, and gold accents are untouched.
   ============================================================ */
html, body { background: #000 !important; }
.section, .section--featured, .section--editorial,
.feature2, .feature3, [data-genre], #rows-mount, main, .home { background: #000 !important; }
.section::before, .section::after,
.section--featured::before, .section--featured::after,
.section--editorial::before, .section--editorial::after { background: none !important; background-image: none !important; }

/* Hero fades smoothly into the jet-black page (was a hard edge fading to #050505) */
.hero__slide .hero__bg::after, .hero__bg::after {
  background:
    radial-gradient(80% 70% at 74% 28%, rgba(201,169,97,0.16) 0%, transparent 55%),
    linear-gradient(90deg, #000 0%, rgba(0,0,0,0.5) 35%, transparent 66%),
    linear-gradient(180deg, transparent 0%, transparent 28%, rgba(0,0,0,0.62) 66%, #000 100%) !important;
}

/* ============================================================
   IMDb RATING BADGE — the genuine IMDb score (pulled via OMDb).
   Shown as TEXT per IMDb brand terms (no lifted logo): amber
   "IMDb" wordmark + score, tuned to the TIVI dark/gold theme.
   ============================================================ */
.imdb-badge{ display:inline-flex; align-items:center; gap:6px; padding:3px 9px; border-radius:5px;
  background:transparent; border:1px solid rgba(255,255,255,0.34); font-size:13px; font-weight:700;
  line-height:1; vertical-align:middle; white-space:nowrap; }
.imdb-badge .imdb-mark{ color:#fff; font-weight:900; letter-spacing:-0.2px; }
.imdb-badge .imdb-score{ color:#fff; font-weight:700; }
.imdb-badge .imdb-score small{ color:var(--text-dim); font-weight:600; font-size:0.78em; margin-left:1px; }
/* compact, on the face of a card */
.card__imdb{ display:inline-flex; align-items:center; gap:4px; margin-top:3px; font-size:11px; font-weight:700; line-height:1; }
.card__imdb .imdb-mark{ color:#F5C518; font-weight:900; }
.card__imdb .imdb-score{ color:var(--text-dim); }

/* ============================================================
   MATURITY RATING — tropical-green chip (#2ED175) + white border.
   Mann moved this from a solid red chip to green (approved rebrand look)
   so the meta strip reads cleaner. Applies wherever the rating shows.
   ============================================================ */
.mrating, .card__hover-meta .rating {
  display:inline-block; color:#2ED175 !important; background:transparent;
  border:1px solid rgba(255,255,255,0.34); border-radius:4px; padding:1px 8px;
  font-weight:800; font-size:0.9em; letter-spacing:.3px; line-height:1.35; vertical-align:middle;
}
.hero__meta .badge { background:transparent !important; border:1px solid rgba(255,255,255,0.34) !important; color:#2ED175 !important; }

/* Critics' row — Rotten Tomatoes + Metacritic (via the same OMDb call) + quality badges */
.rt-badge{ display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:5px;
  background:rgba(0,0,0,0.42); border:1px solid rgba(250,70,50,0.40); color:#fff; font-size:13px; font-weight:700;
  line-height:1; vertical-align:middle; white-space:nowrap; }
.metac-badge{ display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:5px;
  background:rgba(0,0,0,0.42); border:1px solid rgba(110,180,90,0.45); color:#bfe6ad; font-size:13px; font-weight:700;
  line-height:1; vertical-align:middle; white-space:nowrap; }
.metac-badge b{ color:#fff; }
.quality-chip{ display:inline-block; padding:2px 7px; border-radius:4px; border:1px solid var(--border-strong);
  color:var(--gold-light); font-size:11px; font-weight:800; letter-spacing:.6px; vertical-align:middle; }

/* ============================================================
   "LOOK MAJOR-LEAGUE" title-page details: quality+accessibility
   badges row, festival laurel + critic pull-quote, cast row.
   ============================================================ */
.detail-hero__badges{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:12px 0 24px; }
.a11y-chip{ display:inline-block; padding:2px 7px; border-radius:4px; border:1px solid rgba(255,255,255,0.22);
  color:#cfc8ba; font-size:11px; font-weight:800; letter-spacing:.5px; vertical-align:middle; }

.detail-hero__prestige{ max-width:680px; margin:2px 0 24px; }
.laurel{ display:inline-flex; align-items:center; gap:10px; color:var(--gold-hi); font-weight:700; font-size:14px;
  letter-spacing:.3px; padding:7px 16px; border:1px solid rgba(201,169,97,0.34); border-radius:999px; background:rgba(201,169,97,0.06); }
.laurel__leaf{ color:var(--gold-mid); font-size:15px; transform:scaleX(-1); }
.laurel__leaf--r{ transform:none; }
.critic-quote{ margin:16px 0 0; padding-left:16px; border-left:3px solid var(--gold-mid);
  font-family:'Playfair Display', Georgia, serif; font-style:italic; font-size:21px; line-height:1.42; color:#efeae0; }
.critic-quote cite{ display:block; margin-top:8px; font-family:'Inter', sans-serif; font-style:normal;
  font-size:13px; font-weight:700; color:var(--text-dim); letter-spacing:.3px; }

.detail-cast{ max-width:940px; margin:22px 0 30px; }
.detail-cast__head{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.detail-cast__head span{ font-size:15px; font-weight:800; color:var(--text); }
.detail-cast__xray{ background:rgba(255,255,255,0.06); border:1px solid var(--border-strong); color:var(--gold-hi);
  border-radius:999px; padding:6px 14px; font-size:12.5px; font-weight:700; cursor:pointer; transition:background .15s ease, color .15s ease; }
.detail-cast__xray:hover{ background:var(--gold-metal); color:#1A0F03; }
.detail-cast__row{ display:flex; gap:16px; overflow-x:auto; padding-bottom:6px; scrollbar-width:none; }
.detail-cast__row::-webkit-scrollbar{ display:none; }
.cast-card{ flex:0 0 66px; width:66px; text-align:center; cursor:pointer; }
.cast-av{ width:54px; height:54px; border-radius:50%; background-size:cover; background-position:center;
  display:grid; place-items:center; font-size:18px; font-weight:800; color:#fff; letter-spacing:.5px;
  border:1.5px solid rgba(201,169,97,0.30); box-shadow:0 4px 12px rgba(0,0,0,.4); margin:0 auto 8px; transition:border-color .15s ease, transform .15s ease; }
.cast-card:hover .cast-av{ border-color:var(--gold-hi); transform:translateY(-3px); }
.cast-nm{ font-size:11.5px; font-weight:700; color:var(--text); line-height:1.2; }
.cast-ch{ font-size:10.5px; color:var(--text-dim); margin-top:2px; }

/* ============================================================
   DETAIL-PAGE ACTION BUTTONS — premium "liquid glass" depth.
   Scoped to .detail-hero so the home hero buttons are untouched.
   ============================================================ */
.detail-hero__director{ margin:6px 0 22px; font-size:14px; color:var(--text-dim); letter-spacing:.2px; }
.detail-hero__director strong{ color:var(--gold-hi); font-weight:800; }

.detail-hero .hero__cta{ gap:12px; flex-wrap:wrap; align-items:center; margin-top:6px; }
.detail-hero .hero__cta .btn{ padding:13px 24px; border-radius:12px; font-weight:800; font-size:14.5px;
  letter-spacing:.2px; transition:transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }

/* secondary = gold-rimmed liquid glass: warm tint, bright top sheen, inner depth */
.detail-hero .hero__cta .btn--ghost{
  background:linear-gradient(180deg, rgba(74,70,62,0.55) 0%, rgba(26,24,21,0.60) 100%);
  -webkit-backdrop-filter:blur(16px) saturate(1.5); backdrop-filter:blur(16px) saturate(1.5);
  border:1px solid rgba(201,169,97,0.32); color:#f5efe3; text-shadow:0 1px 2px rgba(0,0,0,0.45);
  box-shadow:0 8px 22px rgba(0,0,0,0.50), inset 0 1.5px 0 rgba(255,255,255,0.50), inset 0 -10px 16px rgba(0,0,0,0.32); }
.detail-hero .hero__cta .btn--ghost:hover{
  background:linear-gradient(180deg, rgba(201,169,97,0.32) 0%, rgba(92,68,32,0.48) 100%);
  border-color:rgba(212,178,122,0.78); transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,178,122,0.35), inset 0 1.5px 0 rgba(255,255,255,0.6); }

/* primary (Play) = gold glass with sheen + depth */
.detail-hero .hero__cta .btn--primary{
  background:linear-gradient(180deg, #FFFFFF 0%, #ECE8DF 100%) !important;
  color:#19150F; border:1px solid rgba(255,255,255,0.9);
  box-shadow:0 9px 24px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,1), inset 0 -3px 8px rgba(0,0,0,0.06); }
.detail-hero .hero__cta .btn--primary::before, .detail-hero .hero__cta .btn--primary::after{ display:none !important; }
.detail-hero .hero__cta .btn--primary:hover{
  filter:brightness(1.05); transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(168,133,71,0.55), inset 0 1px 0 rgba(255,255,255,0.78); }

.detail-hero .hero__cta .btn[data-rate]{ padding:12px 15px; font-size:16px; }

/* credits as clean text lines (cast listed regular, not avatars) */
.detail-hero__director{ margin:10px 0 4px; }
.detail-hero__starring{ margin:0 0 22px; font-size:14px; color:var(--text-dim); letter-spacing:.2px; }
.detail-hero__starring strong{ color:var(--text); font-weight:600; }

/* streaming-network action buttons: big Play + labeled icon circles */
.detail-hero .hero__cta{ align-items:flex-start; gap:22px; }
.icon-actions{ display:flex; gap:20px; align-items:flex-start; padding-top:1px; }
.icon-btn{ display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer;
  text-decoration:none; font-size:11.5px; font-weight:600; letter-spacing:.2px; }
.icon-btn__ic{ width:50px; height:50px; border-radius:50%; display:grid; place-items:center; color:#f3efe6;
  background:linear-gradient(180deg, rgba(74,70,62,0.50), rgba(26,24,21,0.55));
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border:1px solid rgba(201,169,97,0.34);
  box-shadow:0 6px 16px rgba(0,0,0,0.45), inset 0 1.5px 0 rgba(255,255,255,0.40);
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease; }
.icon-btn__ic svg{ width:22px; height:22px; }
.icon-btn__lb{ color:var(--text-dim); transition:color .15s ease; }
.icon-btn:hover .icon-btn__ic{ border-color:var(--gold-hi); color:var(--gold-hi); transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,0.55), inset 0 1.5px 0 rgba(255,255,255,0.5); }
.icon-btn:hover .icon-btn__lb{ color:var(--text); }

/* ============================================================
   PHONE LIBRARY PROPORTIONS (owner feedback 2026-06-11).
   Desktop cards are 220–280px wide — on a ~360px phone that's
   basically ONE giant card per row, which reads as goofy /
   misproportionate. Size the rows like a real mobile app:
   several posters across with a peek, tighter gutters, smaller
   rank numbers. This is the LAST block in the file so it wins the
   many earlier .card width overrides. Phones only (≤600px);
   tablet + desktop are untouched.
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 18px 16px 2px; }
  .section__title { font-size: 18px; margin-bottom: 12px; }
  .row { gap: 10px; scroll-padding-left: 16px; padding-bottom: 12px; }   /* phones don't hover-zoom — reclaim the 80px gap */

  .card        { flex: 0 0 56vw; }     /* landscape 16:9 → ~1.8 across, cinematic (matches Prime + the TIVI app) */
  .card--poster{ flex: 0 0 36vw; }     /* portrait  2:3  → ~2.7 across */
  .card__title { font-size: 14px; line-height: 1.25; margin-top: 8px; }
  .card__sub   { font-size: 11.5px; }

  .top10__item { flex: 0 0 56vw; grid-template-columns: 40px 1fr; gap: 6px; }
  .top10__rank { font-size: 88px; -webkit-text-stroke-width: 1px; }
}
