:root {
  color-scheme: light;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --ink: #0b1f32;
  --muted: #5f7185;
  --line: #d5e3ed;
  --accent: #01b4e4;
  --accent-dark: #0b83c9;
  --accent-2: #90cea1;
  --deep: #032541;
  --soft: #edf6fb;
  --gold: #e7ad42;
  --shadow: 0 18px 45px rgba(17, 24, 32, .12);
  --shadow-soft: 0 12px 30px rgba(17, 24, 32, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 360px),
    var(--bg);
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 44px;
  background: var(--deep);
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(3, 37, 65, .18);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand-logo {
  display: block;
  width: min(288px, 100%);
  height: auto;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
}

.brand small {
  color: rgba(255, 255, 255, .64);
  margin-top: 2px;
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 30px;
  justify-content: start;
  width: max-content;
  max-width: 100%;
  color: #fff;
  font-weight: 700;
}

.site-nav a,
.nav-dropdown > a,
.nav-dropdown > button {
  display: block;
  padding: 18px 0;
  border-bottom: 0;
  transition: color .18s ease;
}

.nav-dropdown > button {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
}

.site-nav a:hover,
.nav-dropdown:hover > a,
.nav-dropdown > a:focus-visible,
.nav-dropdown:hover > button,
.nav-dropdown > button:focus-visible {
  color: var(--accent-2);
}

.header-search-button {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--accent);
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.header-search-panel {
  position: absolute;
  z-index: 30;
  inset: 100% 0 auto;
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 max(18px, calc((100% - 1160px) / 2));
  overflow: hidden;
  background: rgba(2, 9, 18, .98);
  opacity: 0;
  transition: grid-template-rows .22s ease, opacity .22s ease, padding .22s ease;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
}

.site-header.search-open .header-search-panel {
  grid-template-rows: 1fr;
  padding-block: 16px;
  opacity: 1;
}

.header-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.header-search-form input {
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font: inherit;
  outline: none;
}

.header-search-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1, 180, 228, .18);
}

.header-search-form button {
  min-width: 92px;
  border: 0;
  border-radius: 8px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-weight: 900;
  cursor: pointer;
}

.header-search-form .header-search-close {
  min-width: 46px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 25px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-page {
  min-height: 72vh;
  background: #f3f6f8;
}

.search-results-section {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 62px 28px 80px;
}

.search-results-head h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(30px, 5vw, 50px);
}

.search-results-head p {
  margin: 10px 0 30px;
  color: var(--muted);
  font-weight: 700;
}

.search-results-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.search-empty {
  grid-column: 1 / -1;
  padding: 54px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  background: #fff;
}

.search-empty h2,
.search-empty p {
  margin: 0;
}

.search-empty p {
  margin-top: 8px;
  color: var(--muted);
}

.header-search-button::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 999px;
  transform: translate(-2px, -2px);
}

.header-search-button::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(9px, 9px) rotate(45deg);
  transform-origin: center;
}

.header-search-button:hover,
.header-search-button:focus-visible {
  color: var(--accent-2);
  background: rgba(1, 180, 228, .12);
}

.header-search-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  grid-template-columns: 220px minmax(420px, 560px);
  gap: 26px;
  width: min(820px, calc(100vw - 44px));
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(17, 24, 32, .18);
}

.nav-dropdown:first-of-type .mega-menu {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  display: grid;
}

.mega-menu h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
}

.mega-menu a {
  display: block;
  padding: 8px 0;
  border: 0;
  font-weight: 700;
  transition: color .16s ease, transform .16s ease;
}

.mega-menu a:hover {
  transform: translateX(2px);
}

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

.search {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search input,
.search button,
.subscribe input,
.subscribe button {
  border: 0;
  min-height: 42px;
}

.search input,
.subscribe input {
  min-width: 0;
  padding: 0 14px;
}

.search button,
.subscribe button {
  padding: 0 18px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 72px 44px 46px;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 37, 65, .96) 0%, rgba(3, 37, 65, .62) 52%, rgba(3, 37, 65, .82) 100%),
    linear-gradient(0deg, rgba(1, 180, 228, .18), transparent 38%),
    url("https://media.watchrove.com/site/assets/editorial/hero-cinema/w1280.webp") center / cover;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent-2);
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  line-height: 1.7;
}

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

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(680px, 100%);
  margin-top: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .26);
}

.hero-search input,
.hero-search button {
  min-height: 56px;
  border: 0;
}

.hero-search input {
  min-width: 0;
  padding: 0 18px;
}

.hero-search button {
  padding: 0 24px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--deep);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
}

main > section:not(.hero) {
  padding: 56px 44px;
}

.directory-hero {
  min-height: 260px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 37, 65, .94), rgba(3, 37, 65, .58)),
    linear-gradient(0deg, rgba(1, 180, 228, .18), transparent 44%),
    url("https://media.watchrove.com/site/assets/editorial/hero-cinema/w1280.webp") center / cover;
}

.directory-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1;
  text-wrap: balance;
}

.genre-intro {
  padding-top: 34px;
  padding-bottom: 26px;
  background:
    linear-gradient(90deg, var(--deep) 0%, #06446e 68%, #02182d 100%);
  color: #fff;
}

.genre-intro h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.genre-intro p {
  max-width: 1180px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.45;
}

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

.section-head.compact {
  align-items: start;
  margin-bottom: 18px;
}

.section-head.genre-tools {
  justify-content: flex-end;
}

.section-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  text-wrap: balance;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.provider-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  position: relative;
  min-height: 86px;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: #c8d1dc;
  box-shadow: var(--shadow);
}

.category-tile strong,
.category-tile span {
  display: block;
}

.category-tile strong {
  position: relative;
  line-height: 1.2;
}

.category-tile span {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.provider-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.provider-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 180, 228, .36);
  box-shadow: var(--shadow);
}

.provider-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--deep), #06446e);
  overflow: hidden;
}

.provider-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-logo .provider-initials {
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
}

.provider-card strong,
.provider-card span {
  display: block;
}

.provider-card span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(250px, auto) repeat(2, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.segmented button,
.filters select {
  min-height: 44px;
  border: 0;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.segmented button {
  cursor: pointer;
}

.segmented button + button {
  border-left: 1px solid var(--line);
}

.segmented button.active {
  background: linear-gradient(135deg, var(--deep), #06446e);
  color: #fff;
}

.filters select {
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.year-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #475467;
  font-weight: 800;
}

.year-filter select {
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
}

.title-card {
  min-width: 0;
}

.poster-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #d8dee6;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(17, 24, 32, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.poster-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}

.poster-button:hover img {
  transform: scale(1.05);
}

.poster-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 24, 32, .22);
}

.poster-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 48px 12px 12px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent);
  font-weight: 900;
}

.title-card h3 {
  margin: 12px 0 4px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.title-meta span {
  min-width: 0;
}

.provider-pill {
  display: none !important;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2f7ee;
  color: #026077;
  font-weight: 900;
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  background: #edf1f5;
}

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

.feature-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
  opacity: .72;
  transition: transform .22s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .84), transparent);
}

.feature-card strong,
.feature-card small {
  display: block;
}

.feature-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.feature-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .76);
}

.platform-streaming {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-row + .platform-row {
  margin-top: 46px;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 16px;
}

.placeholder-grid {
  display: grid;
  gap: 12px;
}

.placeholder-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.placeholder-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 180, 228, .34);
  box-shadow: var(--shadow);
}

.placeholder-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.placeholder-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.watchlist,
.ranking {
  min-width: 0;
}

.watchlist-items {
  display: grid;
  gap: 10px;
}

.watch-item,
.ranking li {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.watch-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 7px;
}

.watch-item h3,
.watch-item p,
.ranking h3,
.ranking p {
  margin: 0;
}

.watch-item p,
.ranking p {
  color: var(--muted);
  margin-top: 4px;
}

.watch-item button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}

.watch-item button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.empty-state {
  padding: 22px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #b9c2cf;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.ranking ol,
.ranking li {
  list-style: none;
}

.ranking ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: rank;
}

.ranking li {
  grid-template-columns: 40px 1fr auto;
  counter-increment: rank;
}

.ranking li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--deep), #06446e);
  color: #fff;
  font-weight: 900;
}

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

.news article {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.news article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.news time,
.news h3 {
  display: block;
  padding: 0 18px;
}

.news time {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.news h3 {
  margin: 8px 0 18px;
  line-height: 1.35;
}

.subscribe {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  align-items: center;
  gap: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--deep) 0%, #06446e 58%, #0b83c9 100%);
}

.subscribe h2,
.subscribe p {
  margin: 0;
}

.subscribe p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
}

.subscribe form {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.subscribe button {
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 42px 44px;
  color: rgba(255, 255, 255, .76);
  background:
    linear-gradient(180deg, var(--deep), #02182d);
}

.footer-about {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  line-height: 1.7;
}

.credits-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
}

.credits-page h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: 0;
}

.credits-page > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.7;
}

.credits-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.credits-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.credits-table-wrap th,
.credits-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.credits-table-wrap th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.credits-table-wrap a {
  color: var(--accent-2);
  text-decoration: underline;
}

.legal-page {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1;
}

.legal-page .updated {
  margin: 14px 0 34px;
  color: var(--muted);
  font-weight: 700;
}

.legal-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.legal-section p,
.legal-section li {
  color: #4b5563;
  line-height: 1.75;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-contact a,
.legal-contact span {
  display: block;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: start;
  gap: 12px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, .72);
  transition: color .16s ease;
}

.footer-links a:hover {
  color: #fff;
}

.detail-dialog {
  width: min(920px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-dialog::backdrop {
  background: rgba(8, 10, 13, .66);
}

.close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  font-size: 24px;
  cursor: pointer;
}

.detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 520px;
  background: #fff;
}

.detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body {
  padding: 34px;
}

.detail-body h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.detail-meta,
.detail-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.detail-meta span,
.detail-genres span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: #344054;
  font-weight: 800;
}

.detail-body p {
  color: #4b5563;
  line-height: 1.75;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-actions button,
.detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.detail-actions button {
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.detail-actions a {
  color: #fff;
  background: var(--deep);
}

.detail-header {
  display: flex;
}

.static-nav {
  justify-content: start;
}

.watch-detail {
  background: var(--deep);
}

.watch-backdrop {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 72px;
  padding: 34px 44px 44px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(3, 37, 65, .28), rgba(3, 37, 65, .92)),
    linear-gradient(90deg, rgba(3, 37, 65, .9), rgba(3, 37, 65, .36)),
    var(--detail-bg) center / cover;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 800;
}

.inline-breadcrumb {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .78);
}

.page-breadcrumb {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 24px 0 64px;
  font-size: 15px;
  line-height: 1.35;
}

.detail-breadcrumb a:hover {
  color: #fff;
}

.inline-breadcrumb a:hover {
  color: var(--accent);
}

.watch-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.watch-title h1 {
  width: 100%;
  margin: 0 0 4px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .96;
  text-wrap: balance;
}

.watch-title span {
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.watch-title .tagline {
  color: rgba(255, 255, 255, .68);
  font-style: italic;
}

.watch-detail-body {
  position: relative;
  min-height: 620px;
  padding: 0 26px 56px;
  overflow: hidden;
  color: #fff;
  background: #020912;
}

.watch-detail-body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 330px;
  background:
    linear-gradient(180deg, rgba(3, 37, 65, .22), rgba(2, 9, 18, .98)),
    linear-gradient(90deg, rgba(3, 37, 65, .88), rgba(3, 37, 65, .34)),
    var(--detail-bg) center / cover;
  opacity: .98;
}

.watch-detail-body::after {
  content: "";
  position: absolute;
  inset: 154px 0 auto;
  height: 88px;
  background: rgba(2, 9, 18, .72);
  backdrop-filter: blur(2px);
}

.watch-sidebar {
  grid-area: sidebar;
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.watch-poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: 0 22px 50px rgba(17, 24, 32, .22);
}

.watch-poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.watch-poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  background: rgba(3, 37, 65, .24);
  opacity: 0;
  transition: opacity .18s ease;
}

.watch-poster-card:hover .watch-poster-overlay {
  opacity: 1;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.watch-options {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.watch-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
}

.watch-provider img {
  width: min(130px, 55%);
  height: 53px;
  object-fit: contain;
}

.watch-route img {
  width: 64px;
  height: 42px;
  object-fit: cover;
}

.watch-now {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  justify-items: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-weight: 900;
}

.watch-now::before {
  content: "";
  width: 28px;
}

.watch-now span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.watch-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.5;
}

.watch-group-title {
  margin: 18px 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

.watch-route {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 800;
}

.watch-route > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.watch-route > span b,
.watch-route > span small {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.35;
}

.watch-route.is-rent-buy {
  grid-template-columns: 92px minmax(0, 1fr);
}

.watch-route.is-rent-buy img {
  width: 88px;
  object-fit: contain;
}

.watch-route + .watch-route {
  margin-top: 5px;
}

.watch-route > strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.landing-watch-open {
  overflow: hidden;
}

.landing-watch-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(2px);
}

.landing-watch-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .48)),
    linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .82)),
    var(--landing-bg, none) center / cover;
  opacity: .34;
  filter: blur(1px) saturate(.9);
  transform: scale(1.02);
}

.landing-watch-modal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 216px minmax(280px, 1fr);
  align-items: center;
  gap: 30px;
  width: min(700px, calc(100vw - 36px));
  min-height: 335px;
  padding: 52px 48px;
  color: #fff;
  background: #151515;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .48);
  overflow: hidden;
}

.landing-watch-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--landing-bg, none) center / cover;
  opacity: .58;
  filter: saturate(.95) contrast(1.02) brightness(1.08);
  transform: scale(1.04);
}

.landing-watch-modal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .34)),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .6));
}

.landing-watch-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgba(255, 255, 255, .92);
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.landing-watch-art,
.landing-watch-copy {
  position: relative;
  z-index: 2;
}

.landing-watch-art {
  display: grid;
  place-items: center;
}

.landing-watch-poster {
  display: block;
  width: 186px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}

.landing-watch-play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #d93035;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .45);
  font-size: 21px;
  text-indent: 4px;
}

.landing-watch-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.08;
}

.landing-watch-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 120px;
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.landing-watch-meta span + span {
  position: relative;
  padding-left: 12px;
}

.landing-watch-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .42);
  transform: translateY(-50%);
}

.landing-watch-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
}

.landing-watch-provider img {
  width: 78px;
  max-height: 36px;
  object-fit: contain;
}

.landing-watch-cta {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  justify-items: center;
  width: min(274px, 100%);
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  color: #fff;
  background: #d9363e;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .34);
}

.landing-watch-cta span {
  font-size: 20px;
}

.watch-route small {
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.cast-crew-panel {
  grid-area: cast;
  margin-top: 8px;
}

.cast-crew-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  text-transform: none;
}

.cast-crew-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 136px));
  gap: 12px;
  justify-content: start;
}

.cast-card {
  min-width: 0;
  width: 100%;
  max-width: 136px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-soft);
}

.cast-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 35% 25%, hsla(var(--avatar-hue), 78%, 72%, .95), transparent 32%),
    linear-gradient(145deg, hsl(var(--avatar-hue), 44%, 38%), hsl(calc(var(--avatar-hue) + 42), 34%, 20%));
  font-size: 34px;
  font-weight: 900;
}

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

.cast-avatar span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}

.cast-card-body {
  min-height: 128px;
  padding: 13px 11px 14px;
}

.cast-card h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.cast-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
}

.cast-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.watch-info {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 268px) minmax(0, 1fr);
  grid-template-areas:
    "sidebar title"
    "sidebar stats"
    "sidebar summary"
    "sidebar cast";
  align-items: start;
  gap: 0 28px;
  min-width: 0;
  width: min(100%, 1160px);
  margin: -44px auto 0;
  padding: 18px 0 0;
  background: linear-gradient(180deg, rgba(2, 9, 18, .84), #020912 34%);
}

.watch-mobile-title {
  grid-area: title;
  min-width: 0;
  padding: 0 0 8px;
}

.watch-mobile-hero,
.watch-mobile-overview,
.mobile-media-fallback {
  display: none;
}

.watch-mobile-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.watch-mobile-title p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .76);
  font-weight: 800;
}

.watch-stats {
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
  color: #fff;
  font-weight: 900;
}

.watch-stats span {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
}

.watch-summary-grid {
  grid-area: summary;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 36px;
}

.watch-detail-meta {
  justify-self: stretch;
  width: min(100%, 430px);
}

.watch-online-section {
  grid-column: 1 / -1;
  min-width: 0;
}

.watch-online-prime {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 430px);
  margin: 14px 0 22px;
}

.watch-online-prime img {
  width: 128px;
  height: 40px;
  object-fit: contain;
}

.watch-online-prime .watch-now {
  flex: 1;
  margin-top: 0;
}

.watch-summary-grid h2 {
  margin: 22px 0 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.watch-summary-grid h2:first-child {
  margin-top: 0;
}

.watch-summary-grid p {
  margin: 0;
  color: #fff;
  line-height: 1.58;
}

.watch-summary-grid a {
  color: var(--accent-2);
  font-weight: 800;
}

.inline-media {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.inline-media-main {
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  aspect-ratio: 16 / 9;
  max-height: 640px;
  box-shadow: var(--shadow-soft);
}

.inline-media-main img,
.inline-media-main iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.inline-stills {
  display: flex;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  padding: 4px 0 10px;
  scrollbar-color: #b9c2cf transparent;
}

.inline-media-thumb {
  position: relative;
  display: block;
  flex: 0 0 min(190px, 48vw);
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
  padding: 0;
  border: 2px solid transparent;
  background: var(--deep);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}

.inline-media-thumb:hover,
.inline-media-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .7);
}

.inline-media-thumb.is-active {
  border-color: var(--accent);
}

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

.inline-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .28));
}

.inline-video-thumb span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-size: 14px;
  line-height: 1;
}

.media-showcase {
  padding: 54px 44px;
  background: #f4f6f8;
  border-top: 1px solid var(--line);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 22px;
}

.trailer-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.trailer-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  opacity: .72;
  transition: transform .22s ease, opacity .22s ease;
}

.trailer-preview:hover img {
  transform: scale(1.04);
  opacity: .86;
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  font-weight: 900;
}

.trailer-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 22px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(3, 37, 65, .86), transparent);
}

.trailer-caption strong,
.trailer-caption small {
  display: block;
}

.trailer-caption strong {
  font-size: 22px;
  line-height: 1.2;
}

.trailer-caption small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.still-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.still-grid img {
  width: 100%;
  height: 174px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.movie-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 36px;
  min-height: calc(100vh - 76px);
  padding: 84px 44px 56px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 37, 65, .94), rgba(3, 37, 65, .74)),
    linear-gradient(0deg, rgba(1, 180, 228, .16), transparent 44%),
    var(--detail-bg) center / cover;
}

.movie-detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.movie-detail-copy {
  align-self: center;
  max-width: 860px;
}

.movie-detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

.movie-detail-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.75;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.facts div {
  padding: 16px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.facts dt,
.facts dd {
  margin: 0;
}

.facts dt {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.facts dd {
  margin-top: 6px;
  color: #fff;
  font-weight: 800;
}

.detail-related {
  padding: 56px 44px;
}

.detail-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 18px;
  }

  .provider-row,
  .grid,
  .poster-row,
  .category-grid,
  .placeholder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cast-crew-grid {
    grid-template-columns: repeat(3, minmax(0, 148px));
  }

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

@media (min-width: 980px) and (max-width: 1080px) {
  .site-header {
    padding-inline: 32px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  main > section.watch-detail-body {
    padding: 0 0 42px;
    background: #020912;
  }

  .watch-detail-body::before,
  .watch-detail-body::after,
  .page-breadcrumb {
    display: none;
  }

  .watch-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mobilehero"
      "mobileoverview"
      "sidebar"
      "summary"
      "cast";
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #020912;
  }

  .watch-mobile-title,
  .watch-stats {
    display: none;
  }

  .watch-mobile-hero {
    grid-area: mobilehero;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

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

  .watch-mobile-overview {
    grid-area: mobileoverview;
    display: grid;
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin: 26px 28px 28px;
  }

  .watch-mobile-poster {
    width: 100%;
    display: block;
    border-radius: 8px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

  .watch-mobile-facts {
    min-width: 0;
  }

  .watch-mobile-facts h2 {
    margin: 4px 0 14px;
    color: #fff;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.12;
  }

  .watch-mobile-facts p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.55;
  }

  .watch-mobile-genres {
    display: block;
    line-height: 1.58;
  }

  .watch-mobile-genres a {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--accent-2);
    font-size: 16px;
    font-weight: 800;
    line-height: inherit;
  }

  .watch-sidebar {
    grid-template-columns: 1fr;
    width: auto;
    max-width: none;
    margin: 0 28px 36px;
  }

  .watch-poster-card {
    display: none;
  }

  .watch-provider {
    justify-content: center;
  }

  .watch-now {
    min-height: 62px;
    justify-content: center;
    gap: 18px;
    font-size: 19px;
  }

  .watch-note {
    text-align: center;
  }

  .watch-summary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 28px;
  }

  .watch-detail-meta {
    width: 100%;
  }

  .cast-crew-grid {
    grid-template-columns: repeat(2, minmax(138px, 148px));
    justify-content: center;
  }

  .cast-card {
    justify-self: center;
  }

  .cast-crew-panel {
    margin-inline: 28px;
  }

  .inline-media-main iframe,
  .inline-video-thumb {
    display: none;
  }

  .inline-media-main .mobile-media-fallback {
    display: block;
  }
}

@media (max-width: 760px) {
  .landing-watch-overlay {
    padding: 18px;
  }

  .landing-watch-modal {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
    min-height: 260px;
    padding: 42px 18px 24px;
  }

  .landing-watch-poster {
    width: 116px;
  }

  .landing-watch-play {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

  .landing-watch-meta {
    margin-bottom: 42px;
    gap: 7px;
    font-size: 13px;
  }

  .landing-watch-provider {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .landing-watch-provider img {
    width: 70px;
  }

  .landing-watch-cta {
    min-height: 48px;
    padding: 0 18px;
    font-size: 16px;
  }

  .header-search-panel {
    padding-inline: 14px;
  }

  .header-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-search-form button[type="submit"] {
    display: none;
  }

  .header-search-form .header-search-close {
    min-width: 44px;
  }

  .search-results-section {
    padding: 38px 16px 60px;
  }

  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .site-header {
    min-height: 58px;
    padding: 0 14px;
    gap: 12px;
  }

  .header-left {
    gap: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 36px;
  }

  .brand > span:last-child {
    display: none;
  }

  .nav-toggle {
    display: none;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    display: flex;
    width: auto;
    gap: 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .site-nav a {
    padding: 18px 0;
  }

  .header-search-button {
    width: 38px;
    height: 38px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > a,
  .nav-dropdown > button {
    padding: 8px 0;
  }

  .mega-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu {
    display: grid;
  }

  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 460px;
    padding: 58px 18px 30px;
  }

  main > section:not(.hero),
  .site-footer {
    padding: 42px 18px;
  }

  .provider-row,
  .grid,
  .poster-row,
  .feature-strip,
  .news-grid,
  .split-section,
  .subscribe,
  .legal-contact,
  .site-footer,
  .detail,
  .movie-detail-hero,
  .facts,
  .watch-detail-body,
  .watch-summary-grid,
  .media-layout {
    grid-template-columns: 1fr;
  }

  .watch-backdrop {
    min-height: 300px;
    gap: 44px;
    padding: 28px 18px 34px;
  }

  main > section.watch-detail-body {
    padding: 0 0 42px;
    background: #020912;
  }

  .watch-detail-body::before {
    display: none;
  }

  .watch-detail-body::after {
    display: none;
  }

  .page-breadcrumb {
    display: none;
  }

  .watch-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mobilehero"
      "mobileoverview"
      "sidebar"
      "summary"
      "cast";
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #020912;
  }

  .watch-mobile-title,
  .watch-stats {
    display: none;
  }

  .watch-mobile-hero {
    grid-area: mobilehero;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

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

  .watch-mobile-overview {
    grid-area: mobileoverview;
    display: grid;
    grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin: 18px 16px 20px;
  }

  .watch-mobile-poster {
    width: 100%;
    display: block;
    border-radius: 6px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

  .watch-mobile-facts {
    min-width: 0;
  }

  .watch-mobile-facts h2 {
    margin: 2px 0 10px;
    color: #fff;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.12;
  }

  .watch-mobile-facts p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.45;
  }

  .watch-mobile-genres {
    display: block;
    line-height: 1.58;
  }

  .watch-mobile-genres a {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--accent-2);
    font-size: 14px;
    font-weight: 800;
    line-height: inherit;
  }

  .watch-sidebar {
    grid-template-columns: 1fr;
    width: auto;
    max-width: none;
    margin: 0 16px 30px;
  }

  .watch-poster-card {
    display: none;
  }

  .watch-provider {
    justify-content: center;
  }

  .watch-now {
    min-height: 58px;
    justify-content: center;
    gap: 18px;
    font-size: 18px;
  }

  .watch-note {
    text-align: center;
  }

  .watch-summary-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 16px;
  }

  .watch-detail-meta {
    width: 100%;
  }

  .cast-crew-grid {
    grid-template-columns: repeat(2, minmax(138px, 148px));
    justify-content: center;
  }

  .cast-card {
    justify-self: center;
  }

  .cast-crew-panel {
    margin-inline: 16px;
  }

  .inline-media-main iframe,
  .inline-video-thumb {
    display: none;
  }

  .inline-media-main .mobile-media-fallback {
    display: block;
  }

  .media-showcase {
    padding: 42px 18px;
  }

  .trailer-preview,
  .trailer-preview img {
    min-height: 240px;
  }

  .still-grid img {
    height: 130px;
  }

  .inline-stills {
    grid-auto-columns: minmax(170px, 78vw);
  }

  .inline-media-thumb img {
    height: 120px;
  }

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

  .grid {
    gap: 22px 14px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .detail img {
    height: 420px;
  }

  .detail-body {
    padding: 24px;
  }

  .movie-detail-hero {
    min-height: 0;
    padding: 42px 18px;
  }

  .movie-detail-poster {
    max-width: 320px;
  }

  .detail-related {
    padding: 42px 18px;
  }

  .detail-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .grid,
  .poster-row,
  .category-grid,
  .placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 46px;
  }

  .subscribe form,
  .hero-search {
    grid-template-columns: 1fr;
  }

  .search button,
  .subscribe button,
  .hero-search button {
    min-height: 44px;
  }
}

main > section.providers {
  padding-bottom: 20px;
}

main > section.catalog {
  padding-top: 24px;
}

/* TV detail reuses the movie detail first-screen shell. */
.tv-detail-page { background: #020912; color: #fff; }
.tv-watch-info { grid-template-areas: "sidebar title" "sidebar stats" "sidebar summary"; }
.tv-episodes-panel { grid-area: summary; min-width: 0; padding-bottom: 36px; }
.tv-episodes-panel > h2 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.tv-show-details { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.tv-cast-crew { margin-top: 42px; }
.season-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border: 3px solid var(--accent); background: rgba(3, 37, 65, .72); }
.season-tabs button { width: 44px; height: 44px; padding: 0; border: 3px solid var(--accent); border-radius: 50%; background: #020912; color: #fff; font-size: 18px; font-weight: 900; cursor: pointer; }
.season-tabs button:hover { border-color: var(--accent-2); }
.season-tabs button.active { border-color: var(--accent-2); color: var(--deep); background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.episode-card { margin-bottom: 6px; background: #191919; }
.episode-card summary { min-height: 40px; padding: 9px 12px; display: flex; justify-content: space-between; gap: 18px; list-style: none; background: #292929; cursor: pointer; font-weight: 800; }
.episode-card summary::-webkit-details-marker { display: none; }
.episode-card time { white-space: nowrap; font-size: 12px; }
.episode-content { display: grid; grid-template-columns: 150px minmax(0, 1fr) 220px; align-items: center; gap: 14px; padding: 14px; }
.episode-content > img { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; }
.episode-content > p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.5; }
.episode-watch { display: grid; gap: 10px; }
.episode-watch img { width: 144px; height: 46px; margin: auto; object-fit: contain; }
.episode-watch a { min-height: 42px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 16px; border-radius: 999px; color: var(--deep); background: linear-gradient(135deg, var(--accent-2), var(--accent)); font-weight: 900; }

@media (max-width: 760px) {
  .tv-watch-info { grid-template-areas: "mobilehero" "mobileoverview" "sidebar" "summary"; }
  .tv-episodes-panel { margin: 0 16px; padding-bottom: 12px; }
  .season-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .season-tabs button { flex: 0 0 42px; }
  .episode-content { grid-template-columns: 112px minmax(0, 1fr); }
  .episode-content > img { width: 112px; }
  .episode-watch { grid-column: 1 / -1; }
  .episode-watch a { width: 100%; }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .tv-watch-info { grid-template-areas: "mobilehero" "mobileoverview" "sidebar" "summary"; }
  .tv-episodes-panel { margin: 0 28px; padding-bottom: 20px; }
}
