*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #e8001c;
  --ink: #08080d;
  --panel: #121219;
  --panel-2: #171720;
  --line: rgba(255,255,255,.09);
  --muted: rgba(255,255,255,.56);
  --soft: rgba(255,255,255,.76);
  --white: #f7f7f8;
  --cyan: #2dd4bf;
  --gold: #f5b642;
  --violet: #8b5cf6;
  --radius-card: 10px;
  --radius-panel: 16px;
  --radius-control: 999px;
  --focus-ring: rgba(255,255,255,.82);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(232,0,28,.12), transparent 28vw),
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.07), transparent 24vw),
    var(--ink);
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 999px; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 48px;
  background: linear-gradient(180deg, rgba(8,8,13,.9), rgba(8,8,13,.22));
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
nav.scrolled {
  background: rgba(8,8,13,.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.logo {
  flex: 0 0 auto;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
}
.logo span, .section-title span { color: var(--red); }
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: rgba(255,255,255,.07);
}
.nav-center a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 13px;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-center a.active {
  color: #fff;
  background: var(--red);
}
.nav-center a:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-icon { font-size: 18px; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-search,
.icon-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font: 700 13px/1 'Outfit', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-control);
}
.btn-search:hover,
.icon-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.11);
}
.btn-search .material-symbols-rounded { font-size: 18px; }
.icon-btn {
  width: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.discovery-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 118px 80px 82px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.discovery-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
  filter: saturate(.9) brightness(.62);
  transform: scale(1.04);
  transition: background-image .5s ease;
}
.discovery-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,13,1) 0%, rgba(8,8,13,.82) 44%, rgba(8,8,13,.48) 100%),
    linear-gradient(0deg, rgba(8,8,13,1) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8,8,13,.4), transparent 34%);
}
.discovery-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 250px) minmax(0, 720px);
  align-items: center;
  gap: 46px;
  width: 100%;
}
.hero-poster-shell {
  width: min(250px, 36vw);
  aspect-ratio: 2/3;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #111118;
  box-shadow: 0 28px 90px rgba(0,0,0,.72);
}
.hero-poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.page-eyebrow,
.section-kicker {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.page-eyebrow::before,
.section-kicker::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  vertical-align: -3px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 118px);
  line-height: .88;
  letter-spacing: 1px;
  max-width: 680px;
  overflow-wrap: anywhere;
}
.hero-desc {
  max-width: 620px;
  margin-top: 20px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-chip,
.section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-control);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}
.hero-chip.score { color: #22c55e; border-color: rgba(34,197,94,.28); background: rgba(34,197,94,.1); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.btn-primary,
.btn-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-control);
  font: 800 15px/1 'Outfit', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary {
  border: 0;
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 54px rgba(232,0,28,.25);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  background: rgba(255,255,255,.09);
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
}
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(.98);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); }

.discovery-page {
  padding: 54px 80px 72px;
}
section { margin-bottom: 70px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}
.section-heading.center {
  justify-content: center;
  text-align: center;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: 1.2px;
  line-height: .95;
}
.section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.section-action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: rgba(255,255,255,.04);
  color: var(--soft);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.section-action:hover,
.section-action:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}
.section-action:disabled {
  cursor: wait;
  opacity: .62;
}

.discovery-search-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
}
.discovery-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card);
  background: rgba(0,0,0,.22);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.discovery-search:focus-within {
  border-color: rgba(232,0,28,.48);
  background: rgba(0,0,0,.3);
  box-shadow: 0 0 0 3px rgba(232,0,28,.16);
}
.discovery-search .material-symbols-rounded { color: var(--muted); }
.discovery-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: 600 16px/1.2 'Outfit', sans-serif;
}
.discovery-search input::placeholder { color: rgba(255,255,255,.38); }
.search-results { margin-top: 24px; }
.row-title {
  margin-bottom: 14px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video-row,
.media-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 20px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x pan-y;
  cursor: grab;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.video-row::-webkit-scrollbar,
.media-row::-webkit-scrollbar {
  height: 3px;
}
.video-row::-webkit-scrollbar-track,
.media-row::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-control);
  margin-inline: 28px;
}
.video-row::-webkit-scrollbar-thumb,
.media-row::-webkit-scrollbar-thumb {
  background: rgba(232,0,28,.42);
  border-radius: var(--radius-control);
}
.video-row.is-dragging,
.media-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  -webkit-user-select: none;
  user-select: none;
}
.video-row.is-dragging > *,
.media-row.is-dragging > * {
  pointer-events: none;
}
@supports (scrollbar-width: none) {
  .video-row,
  .media-row {
    scrollbar-width: none;
  }
}
.video-row[data-at-start="true"],
.media-row[data-at-start="true"] {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
}
.video-row[data-at-end="true"],
.media-row[data-at-end="true"] {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
}
.video-card,
.media-card,
.collection-card {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  background: var(--panel);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.video-card {
  width: clamp(300px, 31vw, 455px);
  aspect-ratio: 16/9;
  padding: 0;
  font: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 18px 54px rgba(0,0,0,.28);
}
.video-thumb,
.media-card img,
.collection-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-thumb {
  position: absolute;
  inset: 0;
  filter: saturate(.86) brightness(.66);
  transition: transform .35s ease, filter .35s ease;
}
.video-card:hover .video-thumb,
.video-card:focus-visible .video-thumb {
  transform: scale(1.04);
  filter: saturate(1) brightness(.74);
}
.video-gradient,
.media-gradient,
.collection-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72), transparent 44%),
    linear-gradient(0deg, rgba(0,0,0,.88), transparent 56%);
  pointer-events: none;
}
.channel-dot {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--cyan));
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 10px 24px rgba(0,0,0,.28);
  clip-path: circle(50% at 50% 50%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .5px;
  transform: translateZ(0);
}
.video-copy {
  position: absolute;
  left: 72px;
  right: 18px;
  top: 17px;
  min-width: 0;
}
.video-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.video-source {
  margin-top: 5px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-card);
  background: #ff0000;
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 42px rgba(0,0,0,.42);
}
.video-play .material-symbols-rounded { font-size: 34px; font-variation-settings: 'FILL' 1; }
.video-footer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.video-kind,
.watch-youtube {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.watch-youtube {
  background: rgba(255,255,255,.16);
}

.media-card {
  width: clamp(255px, 24vw, 365px);
  aspect-ratio: 16/9;
}
.media-card.poster {
  width: 170px;
  aspect-ratio: 2/3;
}
.media-copy,
.collection-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 2;
}
.media-title,
.collection-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
}
.media-meta,
.collection-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}
.score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #22c55e;
  font-size: 12px;
  font-weight: 900;
}
.media-card:hover,
.collection-card:hover,
.video-card:hover,
.media-card:focus-visible,
.collection-card:focus-visible,
.video-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(232,0,28,.42);
  box-shadow: 0 20px 54px rgba(0,0,0,.44);
}
.media-card:active,
.collection-card:active,
.video-card:active {
  transform: translateY(-1px) scale(.99);
}

.brand-section {
  padding: 50px 0;
  overflow: hidden;
}
.brand-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.brand-track {
  display: flex;
  width: max-content;
  animation: brandFlow 36s linear infinite;
}
.brand-marquee.reverse .brand-track { animation-name: brandFlowReverse; }
.brand-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}
.brand-card {
  width: 198px;
  height: 120px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.035);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.brand-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.055);
}
.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track {
  animation-play-state: paused;
}
.brand-word {
  max-width: 164px;
  color: rgba(255,255,255,.88);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.2px;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.brand-word.small { font-size: 18px; letter-spacing: .4px; }
.brand-word.script { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 1.4px; }
.brand-logo {
  max-width: 138px;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.34));
}
.provider-logo {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  border-radius: 14px;
  overflow: hidden;
}
.studio-logo {
  width: auto;
  min-width: 72px;
}
.brand-label {
  max-width: 152px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-card.has-logo {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024));
}
.brand-skeleton {
  position: relative;
  overflow: hidden;
}
.brand-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%);
  animation: brandSkeleton 1.4s linear infinite;
}
@keyframes brandSkeleton {
  to { transform: translateX(100%); }
}
@keyframes brandFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes brandFlowReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.collection-card {
  min-width: 0;
  aspect-ratio: 16/9;
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.collection-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-width: 34px;
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-control);
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.skeleton,
.empty-card {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.085), rgba(255,255,255,.045));
  background-size: 220% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
.video-row .skeleton {
  width: clamp(300px, 31vw, 455px);
  aspect-ratio: 16/9;
}
.media-row .skeleton {
  width: clamp(255px, 24vw, 365px);
  aspect-ratio: 16/9;
}
.collection-grid .skeleton {
  width: 100%;
  aspect-ratio: 16/9;
}
.empty-card {
  width: min(100%, 520px);
  padding: 24px;
  animation: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.trailer-box {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-panel);
  background: #000;
  box-shadow: 0 34px 110px rgba(0,0,0,.9);
}
.trailer-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.trailer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(0,0,0,.62);
  color: #fff;
  cursor: pointer;
}
.trailer-close:hover,
.trailer-close:focus-visible {
  background: var(--red);
  border-color: var(--red);
}
.collection-modal-card {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(820px, calc(100vh - 42px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-panel);
  background: var(--bg);
  box-shadow: 0 34px 110px rgba(0,0,0,.9);
}
.collection-modal-card #collectionModalContent {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}
.collection-modal-head {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 86px 28px 24px;
  background: #050507;
}
.collection-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) brightness(.58);
}
.collection-modal-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,.88)),
    linear-gradient(90deg, rgba(0,0,0,.9), transparent 68%);
}
.collection-modal-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.collection-modal-title {
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 1.4px;
}
.collection-modal-meta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 900;
}
.collection-modal-body {
  overflow: auto;
  padding: 22px 24px 26px;
}
.collection-movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 16px;
}
.collection-movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.04);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.collection-movie-card:hover,
.collection-movie-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232,0,28,.46);
  background: rgba(255,255,255,.065);
}
.collection-movie-card img {
  width: 100%;
  aspect-ratio: 2/3;
  display: block;
  object-fit: cover;
  background: #08080d;
}
.collection-movie-copy {
  padding: 11px 12px 13px;
}
.collection-movie-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}
.collection-movie-meta {
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 800;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 460;
  min-width: 240px;
  max-width: min(520px, calc(100vw - 28px));
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-panel);
  background: rgba(20,20,26,.94);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 60px rgba(0,0,0,.44);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 80px 38px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
}
.footer-logo span { color: var(--red); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; }

@media (max-width: 1180px) {
  nav { padding-inline: 28px; }
  .discovery-hero { padding-inline: 42px; }
  .discovery-page { padding-inline: 42px; }
  footer { padding-inline: 42px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .discovery-hero {
    min-height: auto;
    padding: 110px 22px 54px;
  }
  .discovery-hero-inner {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
  .hero-poster-shell { width: 140px; }
  .hero-desc { font-size: 15px; }
  .discovery-page { padding: 34px 20px 96px; }
  section { margin-bottom: 50px; }
  .video-card { width: min(82vw, 390px); }
  .media-card { width: min(82vw, 330px); }
  .media-card.poster { width: 148px; }
  .section-heading { align-items: flex-start; }
  .brand-card { width: 160px; height: 98px; }
  .brand-word { font-size: 20px; }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px 108px;
  }
}

@media (max-width: 620px) {
  .discovery-hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-poster-shell {
    width: 126px;
    display: none;
  }
  .hero-title { font-size: clamp(54px, 18vw, 84px); }
  .hero-actions > * { flex: 1 1 100%; }
  .btn-primary,
  .btn-secondary { width: 100%; }
  .section-heading {
    flex-direction: column;
    gap: 12px;
  }
  .section-heading.center { align-items: center; }
  .discovery-search-panel { padding: 18px; }
  .discovery-search { min-height: 54px; }
  .video-copy { left: 18px; top: 66px; }
  .video-title { font-size: 15px; }
  .video-source { display: none; }
  .watch-youtube { display: none; }
  .collection-grid { grid-template-columns: 1fr; }
  .modal-overlay { padding: 12px; }
  .collection-modal-head { min-height: 190px; padding: 72px 18px 20px; }
  .collection-modal-body { padding: 16px; }
  .collection-movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
