:root,
html[data-theme="dark"],
html[data-theme="light"] {
  --bg: #030a12;
  --bg-2: #06111d;
  --surface: #081522;
  --surface-2: #0c1c2b;
  --surface-3: #102334;
  --text: #f7f9fc;
  --muted: #8795a7;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --accent: #ef1d2f;
  --accent-dark: #b80f1d;
  --accent-soft: rgba(239,29,47,.14);
  --success: #1fb27c;
  --warning: #f3b538;
  --shadow: 0 18px 55px rgba(0,0,0,.34);
  --radius: 14px;
  --content: 1540px;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% -10%, rgba(18,62,99,.20), transparent 35%),
    linear-gradient(180deg, #03101a 0, #020810 46%, #030a12 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  background: rgba(2, 9, 16, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,29,47,.30), transparent);
}
.topbar-inner {
  max-width: var(--content);
  margin: 0 auto;
  min-height: 76px;
  padding: 9px 34px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  width: 138px;
  min-width: 138px;
}
.brand-logo {
  width: 132px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}
.brand-copy { display: none; }

.desktop-nav {
  display: flex;
  align-items: stretch;
  height: 58px;
  gap: 6px;
  flex: 1;
}
.nav-link {
  position: relative;
  border: 0;
  background: transparent;
  color: #c8d0db;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .55px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform .18s ease;
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: #d6dde7;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
  display: inline-grid;
  place-items: center;
}
.icon-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.search-toggle { font-size: 25px; line-height: 1; }
.header-heart { font-size: 21px; }
.profile-trigger { padding: 2px; border: 1px solid var(--line-strong); border-radius: 50%; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}

.btn {
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 7px;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .25px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.btn-primary,
.btn-accent {
  color: #fff;
  background: linear-gradient(180deg, #f12436, #d71224);
  border-color: #f12436;
}
.btn-primary:hover,
.btn-accent:hover {
  background: linear-gradient(180deg, #ff3041, #e81729);
  box-shadow: 0 10px 30px rgba(239,29,47,.25);
}
.btn-danger { color: #fff; background: #b71625; border-color: #d52836; }
.btn-ghost { background: rgba(5,14,24,.58); border-color: rgba(255,255,255,.24); color: #fff; }
.btn-small { padding: 8px 13px; min-height: 34px; font-size: 11px; }
.btn-signin { background: transparent; border-color: rgba(255,255,255,.28); }
.btn-signup { min-width: 74px; }

.app-main {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 34px 80px;
  min-height: calc(100vh - 76px);
}
.page { animation: fadeIn .2s ease; }
@keyframes fadeIn {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.page-loading {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}
.spinner {
  width: 34px; height: 34px;
  border: 3px solid rgba(255,255,255,.10);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 34px;
  margin-bottom: 22px;
}
.page-head h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.8px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
}
.page-head p { color: var(--muted); margin: 7px 0 0; }

/* HERO */
.hero {
  position: relative;
  min-height: 520px;
  margin: 0 -34px 20px;
  overflow: hidden;
  background: #07111c;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,8,15,.96) 0%, rgba(2,8,15,.74) 36%, rgba(2,8,15,.27) 70%, rgba(2,8,15,.35) 100%),
    linear-gradient(0deg, #030a12 0%, rgba(3,10,18,.22) 38%, rgba(3,10,18,.18) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(0deg, #030a12, transparent);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 690px;
  min-height: 520px;
  padding: 84px 76px 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .7px;
}
.hero-kicker {
  margin: 0 0 10px !important;
  color: #a7b8cb !important;
  font-size: 12px !important;
  font-weight: 750;
  letter-spacing: 1.1px;
}
.hero h1 {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -2.5px;
  text-transform: uppercase;
}
.hero-content > p:not(.hero-kicker) {
  max-width: 590px;
  margin: 0 0 24px;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-watch { min-width: 136px; }
.hero-details { min-width: 110px; }
.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.hero-dot {
  width: 7px; height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.30);
}
.hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

/* SECTIONS */
.section { margin: 0; padding: 26px 0 28px; border-bottom: 1px solid rgba(255,255,255,.055); }
.section:last-child { border-bottom: 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.section-accent {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(239,29,47,.32);
}
.section-title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .3px;
}
.section-sub { color: var(--muted); font-size: 13px; }
.section-link {
  border: 0;
  background: transparent;
  color: #8797aa;
  font-size: 11px;
  font-weight: 750;
}
.section-link:hover { color: #fff; }

.media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  grid-template-rows: 1fr;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 1px 1px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.14) transparent;
}
.media-row.portrait-row { grid-auto-columns: minmax(165px, 198px); }
.media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 15px;
}
.media-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, #091724, #07111b);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239,29,47,.48);
  box-shadow: 0 18px 34px rgba(0,0,0,.34);
}
.media-visual { position: relative; overflow: hidden; }
.media-thumb {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  background: #0d1c2a;
  transition: transform .3s ease, filter .3s ease;
}
.media-card:hover .media-thumb { transform: scale(1.035); filter: brightness(.86); }
.media-card.portrait .media-thumb { aspect-ratio: 2/3; }
.media-shade {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(1,7,13,.78), transparent);
  opacity: .75;
}
.play-float {
  position: absolute;
  left: 50%; top: 50%;
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 3px;
  color: #fff;
  background: rgba(0,0,0,.48);
  opacity: 0;
  transform: scale(.8);
  transition: .18s ease;
}
.media-card:hover .play-float { opacity: 1; transform: scale(1); }
.media-body { padding: 11px 11px 12px; }
.media-title {
  color: #f4f7fb;
  font-weight: 820;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-meta {
  margin-top: 6px;
  color: #7f8da0;
  font-size: 10.5px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.card-badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .35px;
  color: #fff;
  background: rgba(4,10,16,.85);
  border: 1px solid rgba(255,255,255,.16);
}
.premium-badge { background: #a67714; border-color: #d9a52e; }
.fav-btn {
  position: absolute;
  z-index: 3;
  top: 8px; right: 8px;
  width: 31px; height: 31px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(1,7,13,.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.fav-btn:hover { background: var(--accent); border-color: var(--accent); }
.progress {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}
.progress > i { display: block; height: 100%; background: var(--accent); }

/* CATEGORIES */
.category-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.category-chip {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #081521;
  color: #dfe6ef;
  font-weight: 800;
  font-size: 12px;
}
.category-chip:hover { border-color: rgba(239,29,47,.48); background: #0b1c2a; }
.category-chip img { width: 28px; height: 28px; object-fit: cover; border-radius: 5px; }

/* MATCHES */
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.match-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -20%, rgba(25,78,119,.18), transparent 48%),
    linear-gradient(180deg, #091725, #06111b);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.match-card:hover { border-color: rgba(239,29,47,.42); }
.match-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 14px;
}
.match-league {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c6d0db;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}
.live-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 3px 6px;
  border-radius: 3px;
  color: #fff;
  background: var(--accent);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .5px;
}
.match-date {
  flex: none;
  color: #6f8194;
  font-size: 9px;
  text-align: right;
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 76px;
}
.team {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.team img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255,255,255,.04);
}
.vs {
  display: grid;
  place-items: center;
  color: #748397;
  font-size: 9px;
  font-weight: 950;
}
.vs span {
  width: 31px; height: 31px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.match-watch { width: 100%; margin-top: 13px; min-height: 35px; font-size: 10px; }
.match-coming {
  width: 100%;
  margin-top: 13px;
  padding: 10px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 6px;
  color: #6e7d8f;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

/* DETAIL / PLAYER */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px,.75fr);
  gap: 22px;
  align-items: start;
  padding-top: 34px;
}
.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}
.player-shell video,
.player-shell iframe { width: 100%; height: 100%; border: 0; }
.player-shell audio { width: min(720px,90%); }
.player-poster { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #091725, #07121d);
}
.detail-panel h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.05; }
.detail-panel h2 { margin-top: 0; }
.detail-panel p { color: #8d9bad; line-height: 1.65; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }

.season-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; }
.season-tab {
  border: 1px solid var(--line);
  background: #081522;
  color: #aeb9c6;
  padding: 9px 13px;
  border-radius: 6px;
  font-weight: 800;
}
.season-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.episode-list { display: grid; gap: 10px; }
.episode {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: #071420;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.episode:hover { border-color: rgba(239,29,47,.42); }
.episode img { width: 170px; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; background: var(--surface-2); }
.episode h3 { margin: 0 0 5px; }
.episode p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FORMS / PROFILE / PLANS */
.form-wrap {
  max-width: 520px;
  margin: 60px auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  background: linear-gradient(180deg, #0a1825, #06111b);
  box-shadow: var(--shadow);
}
.form-wrap h1 { margin: 0 0 6px; text-transform: uppercase; }
.form-wrap > p { color: var(--muted); margin-top: 0; }
.form-group { display: grid; gap: 7px; margin: 15px 0; }
.form-group label { font-weight: 800; font-size: 12px; color: #c7d0db; }
.input {
  width: 100%;
  outline: 0;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #030b13;
  color: #fff;
}
.input:focus {
  border-color: rgba(239,29,47,.75);
  box-shadow: 0 0 0 3px rgba(239,29,47,.10);
}
.form-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.form-error {
  color: #ff9da6;
  background: rgba(239,29,47,.11);
  border: 1px solid rgba(239,29,47,.28);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
}
.form-success { color: #64d7ae; }

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 20px;
  background: #081522;
}
.profile-card .avatar { width: 78px; height: 78px; }
.profile-card h2 { margin: 0 0 4px; }
.profile-card p { margin: 0; color: var(--muted); }

.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, #0a1826, #06111a);
}
.plan-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.plan-card h3 { margin: 0 0 8px; font-size: 22px; }
.plan-price { margin: 10px 0; font-size: 35px; font-weight: 950; }
.plan-features { min-height: 80px; padding-left: 18px; color: var(--muted); }
.payment-unavailable { margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.gateway-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.cms-page {
  max-width: 900px;
  margin: 36px auto 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 30px;
  line-height: 1.75;
  background: #081522;
}
.cms-page img { max-width: 100%; height: auto; }

.empty {
  min-height: 210px;
  border: 1px dashed rgba(255,255,255,.13);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #75869a;
  text-align: center;
  background: rgba(255,255,255,.015);
}
.error-state { color: #ff7d8a; }
.search-bar { display: flex; gap: 8px; max-width: 760px; margin-bottom: 22px; }
.search-bar .input { flex: 1; }

/* MODALS */
.toast-root {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 22px;
  display: grid;
  gap: 9px;
}
.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #081521;
  color: #fff;
  box-shadow: var(--shadow);
  animation: toastIn .2s ease;
}
.toast.error { background: #57141d; }
.toast.success { background: #0b4e39; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(7px);
}
.modal {
  width: min(660px,100%);
  max-height: 92vh;
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #07131f;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.52);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.modal-head h3 { margin: 0; text-transform: uppercase; letter-spacing: .3px; }

.external-source-fallback {
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(239,29,47,.12), transparent 42%),
    #03070b;
}
.external-source-icon {
  width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
}
.external-source-fallback h4 { margin: 0; font-size: 17px; }
.external-source-fallback p { max-width: 430px; margin: 0 0 8px; color: var(--muted); line-height: 1.5; }

/* FOOTER */
.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  background: #02070d;
}
.site-footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 34px 34px 28px;
  display: grid;
  grid-template-columns: 1.35fr repeat(2, .75fr);
  gap: 34px;
}
.footer-brand img {
  width: 135px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer-brand p {
  max-width: 390px;
  margin: 14px 0 0;
  color: #6f7f90;
  line-height: 1.65;
  font-size: 12px;
}
.footer-col h4 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .7px;
}
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #79889a; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--content);
  margin: 0 auto;
  padding: 16px 34px 22px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: #556476;
  font-size: 10px;
  text-align: center;
}

.bottom-nav { display: none; }

@media (max-width: 1200px) {
  .media-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .match-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plan-grid { grid-template-columns: repeat(2,1fr); }
  .nav-link { padding: 0 11px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .topbar-inner { padding-inline: 20px; }
  .app-main { padding-inline: 20px; }
  .hero { margin-inline: -20px; min-height: 450px; }
  .hero-content { min-height: 450px; padding: 62px 34px 65px; }
  .detail { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .site-footer-inner { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding-inline: 20px; }
}
@media (max-width: 650px) {
  .topbar { min-height: 62px; }
  .topbar-inner { min-height: 62px; padding: 7px 13px; gap: 10px; }
  .brand { width: 102px; min-width: 102px; }
  .brand-logo { width: 100px; height: 38px; }
  .top-actions { gap: 3px; }
  .top-actions .btn-signup,
  .top-actions .header-heart { display: none; }
  .btn-signin { padding: 7px 9px; min-height: 31px; }
  .search-toggle { font-size: 22px; }
  .app-main { padding: 0 13px 88px; }
  .page-head { padding-top: 24px; align-items: flex-start; flex-direction: column; }
  .hero { min-height: 390px; margin: 0 -13px 10px; }
  .hero-content { min-height: 390px; padding: 44px 20px 56px; }
  .hero h1 { font-size: clamp(34px, 11vw, 50px); letter-spacing: -1.5px; }
  .hero-kicker { font-size: 10px !important; }
  .hero-content > p:not(.hero-kicker) { font-size: 12px; }
  .section { padding: 22px 0; }
  .section-title { font-size: 14px; }
  .media-row { grid-auto-columns: 72%; }
  .media-row.portrait-row { grid-auto-columns: 44%; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .match-grid, .plan-grid { grid-template-columns: 1fr; }
  .match-card { padding: 13px; }
  .episode { grid-template-columns: 105px 1fr; }
  .episode img { width: 105px; }
  .episode > .btn { grid-column: 2; width: max-content; }
  .form-wrap { margin: 28px auto; padding: 22px 18px; }
  .detail { padding-top: 20px; }
  .detail-panel { padding: 17px; }
  .bottom-nav {
    position: fixed;
    z-index: 90;
    left: 8px; right: 8px; bottom: 8px;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    padding: 7px 5px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(4,13,22,.95);
    box-shadow: 0 18px 46px rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
  }
  .bottom-nav a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 7px;
    color: #718093;
    font-size: 8px;
    font-weight: 800;
  }
  .bottom-nav a.active { color: #fff; background: rgba(239,29,47,.14); }
  .bottom-icon { color: inherit; font-size: 17px; line-height: 17px; }
  .toast-root { left: 13px; right: 13px; bottom: 84px; }
  .toast { width: 100%; max-width: none; }
  .site-footer { margin-top: 20px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 25px; padding: 28px 18px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 14px 18px 82px; }
}
