:root {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --surface: #111827;
  --surface-2: #1f2937;
  --surface-3: #243244;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --green: #22c55e;
  --red: #ef4444;
  --warning: #f59e0b;
  --text: #ffffff;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(37, 99, 235, 0.18), transparent 34rem),
    linear-gradient(180deg, #070b14 0%, var(--bg) 34rem, #080d18 100%);
  color: var(--text);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 18px;
  align-content: center;
}

.boot-mark {
  padding: 10px 16px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 800;
}

.boot-line {
  width: 170px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.boot-line::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--blue);
  animation: boot 1.1s infinite ease-in-out;
}

@keyframes boot {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 360px) auto;
  gap: 22px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-search,
.footer-links,
.hero-actions,
.watch-actions,
.card-actions,
.card-topline {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: 0;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-mark,
.play-float,
.empty-icon {
  display: grid;
  place-items: center;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--green);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav {
  gap: 6px;
  justify-content: center;
}

.main-nav {
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.mobile-panel a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.main-nav a:hover,
.mobile-panel a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-search,
.search-panel {
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.76);
  color: var(--muted);
}

.header-search {
  padding: 0 12px;
  height: 42px;
}

.header-search input,
.search-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.58);
  background: rgba(37, 99, 235, 0.22);
}

.icon-button.is-active {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.15);
}

.mobile-toggle {
  display: none;
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(86vw, 340px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
  background: #080d18;
  transform: translateX(104%);
  transition: transform 0.24s ease;
}

.has-mobile-panel .mobile-panel {
  transform: translateX(0);
}

.network-ribbon {
  position: fixed;
  right: clamp(14px, 4vw, 54px);
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius);
  background: rgba(8, 13, 24, 0.86);
  color: #bbf7d0;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}

.network-ribbon span,
.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.network-ribbon.is-warning {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.35);
}

.network-ribbon.is-warning span {
  background: var(--warning);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.13);
}

.page {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 54px) 60px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(220px, 360px);
  align-items: end;
  gap: 26px;
  margin: 0 calc(clamp(18px, 4vw, 54px) * -1) 24px;
  padding: 130px clamp(18px, 4vw, 54px) 68px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.72) 38%, rgba(7, 11, 20, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.12) 0%, #0b1220 100%),
    var(--hero-image) center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.status-pill,
.live-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-pill {
  padding: 8px 11px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  font-size: 0.78rem;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: #d1d5db;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

.button-secondary {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(37, 99, 235, 0.16);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.muted,
.section-heading p,
.card-body p,
.site-footer span,
.category-tile small,
.info-grid span,
.privacy-panel p {
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.content-section,
.search-page,
.info-layout,
.maintenance-page,
.account-layout {
  padding: 36px 0;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -10px 0 24px;
}

.quick-stats div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
}

.quick-stats span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
}

.quick-stats strong {
  font-size: 1.35rem;
}

.quick-stats small {
  color: var(--muted);
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-2);
  font-size: 0.76rem;
}

.section-heading h1,
.section-heading h2,
.info-main h1,
.maintenance-page h1,
.empty-state h2 {
  margin: 0;
}

.section-heading h2,
.section-heading h1 {
  font-size: clamp(1.55rem, 4vw, 2.5rem);
}

.section-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  line-height: 1.6;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile span,
.category-tile small {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-weight: 900;
  font-size: 1.08rem;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: 16px;
}

.featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.channel-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.82);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
  scroll-snap-align: start;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(31, 41, 55, 0.9);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.channel-card:hover .poster-link img {
  transform: scale(1.06);
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  color: white;
  background: var(--red);
  font-size: 0.68rem;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.play-float {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: rgba(37, 99, 235, 0.9);
}

.card-body {
  padding: 14px;
}

.card-topline {
  gap: 11px;
  min-width: 0;
}

.channel-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.card-body h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.card-body p {
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
}

.card-actions {
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.84rem;
}

.card-actions .icon-button {
  width: 34px;
  height: 34px;
}

.is-dense .card-body {
  padding: 12px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  padding: 36px 0;
}

.player-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #020617;
  box-shadow: var(--shadow);
}

.player-frame iframe,
.player-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: black;
}

.player-error {
  position: absolute;
  inset: auto 18px 18px;
  padding: 14px;
  border: 1px solid rgba(239, 68, 68, 0.34);
  border-radius: var(--radius);
  background: rgba(127, 29, 29, 0.82);
}

.player-error span {
  display: block;
  margin-top: 4px;
  color: #fecaca;
}

.watch-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.watch-info,
.privacy-panel {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.76);
}

.watch-info {
  position: sticky;
  top: 92px;
}

.watch-info .live-badge {
  position: static;
  margin-top: 14px;
}

.watch-logo {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.watch-info h1 {
  margin: 16px 0 4px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.watch-info p {
  line-height: 1.7;
}

.stat-grid,
.info-grid {
  display: grid;
  gap: 10px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.stat-grid span,
.info-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.stat-grid strong,
.info-grid strong {
  display: block;
}

.search-panel {
  height: 64px;
  padding: 0 18px;
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.76);
  color: var(--muted);
}

.filter-bar select,
.auth-card input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filter-bar option {
  background: var(--surface);
  color: var(--text);
}

.stream-status {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  color: var(--muted);
  vertical-align: middle;
}

.status-online {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.35);
}

.status-offline {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.35);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 22px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 36px 0;
}

.auth-card,
.account-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.76);
}

.auth-card h1,
.account-card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.auth-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.auth-card input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.account-card {
  max-width: 760px;
}

.user-dashboard {
  padding: 110px 0 44px;
}

.user-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 48%),
    linear-gradient(220deg, rgba(34, 197, 94, 0.1), transparent 34%),
    rgba(17, 24, 39, 0.78);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.user-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.96;
}

.user-hero p {
  max-width: 720px;
  color: #d1d5db;
  line-height: 1.7;
}

.user-profile-card {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.64);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 2rem;
  font-weight: 900;
}

.user-profile-card strong {
  margin-top: 8px;
  font-size: 1.2rem;
}

.user-profile-card span,
.user-profile-card small {
  color: var(--muted);
}

.user-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 8px;
}

.user-metrics div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.74);
}

.user-metrics span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
}

.user-metrics strong {
  font-size: 1.35rem;
}

.user-metrics small {
  color: var(--muted);
}

.mini-player {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 50;
  width: min(360px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 24, 0.94);
  box-shadow: var(--shadow);
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 10px 12px;
}

.mini-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-frame {
  aspect-ratio: 16 / 9;
  background: #020617;
}

.mini-frame iframe,
.mini-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-main {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent),
    rgba(17, 24, 39, 0.78);
}

.info-main h1,
.maintenance-page h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
}

.info-main p,
.maintenance-page p {
  max-width: 800px;
  color: #d1d5db;
  line-height: 1.75;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.privacy-panel {
  max-height: 560px;
  overflow: auto;
}

.maintenance-page,
.empty-state {
  min-height: 56vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.maintenance-page p,
.empty-state p {
  margin-inline: auto;
}

.empty-state {
  padding: 42px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.68);
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #070b14;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  gap: 14px;
  color: var(--muted);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.poster-skeleton {
  aspect-ratio: 16 / 9;
}

.line-skeleton {
  height: 12px;
  width: 62%;
  margin-top: 10px;
  border-radius: 999px;
}

.line-skeleton.wide {
  width: 86%;
}

.toast-wrap {
  position: fixed;
  right: 18px;
  top: 82px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.toast {
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 24, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.38);
}

.toast-warning {
  border-color: rgba(245, 158, 11, 0.38);
}

.noscript {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 700px;
  }

  .hero-panel {
    max-width: 360px;
  }

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

  .watch-layout,
  .info-layout,
  .user-hero {
    grid-template-columns: 1fr;
  }

  .watch-info {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 4;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .mobile-toggle {
    position: absolute;
    top: 12px;
    right: 16px;
  }

  .brand {
    padding-right: 54px;
  }

  .page {
    padding-inline: 16px;
  }

  .hero {
    min-height: 650px;
    padding: 126px 16px 54px;
    margin-inline: -16px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-panel {
    display: none;
  }

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

  .category-strip,
  .info-grid,
  .stat-grid,
  .quick-stats,
  .auth-grid,
  .user-metrics {
    grid-template-columns: 1fr;
  }

  .user-dashboard {
    padding-top: 28px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .card-body {
    padding: 11px;
  }

  .card-topline {
    align-items: start;
  }

  .channel-logo {
    width: 34px;
    height: 34px;
  }

  .card-body h3 {
    white-space: normal;
    line-height: 1.25;
    font-size: 0.93rem;
  }

  .card-actions span {
    display: none;
  }

  .rail {
    grid-auto-columns: minmax(186px, 74vw);
  }

  .watch-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 74px;
  }

  .network-ribbon {
    position: static;
    justify-content: center;
    margin: 10px 12px 0;
  }
}

@media (max-width: 420px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Premium streaming refresh */
body {
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.98), rgba(11, 18, 32, 0.96) 44rem, #060a12 100%),
    var(--bg);
  overflow-x: hidden;
}

.site-header {
  grid-template-columns: minmax(170px, auto) 1fr minmax(260px, 360px) auto;
  padding-block: 14px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 15, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  border-color: rgba(34, 197, 94, 0.26);
  background:
    linear-gradient(145deg, rgba(34, 197, 94, 0.2), rgba(37, 99, 235, 0.15)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 18px rgba(34, 197, 94, 0.08);
}

.main-nav {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.main-nav a {
  min-height: 36px;
}

.main-nav a:hover {
  background: rgba(37, 99, 235, 0.16);
}

.header-search {
  height: 44px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.page {
  width: min(1540px, 100%);
}

.hero {
  min-height: clamp(590px, 74vh, 760px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
  margin-bottom: 8px;
  padding-top: 112px;
  padding-bottom: 50px;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.98) 0%, rgba(7, 11, 20, 0.86) 42%, rgba(7, 11, 20, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.2) 0%, var(--bg) 100%),
    var(--hero-image) center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(37, 99, 235, 0.12), transparent 38%),
    linear-gradient(290deg, rgba(34, 197, 94, 0.1), transparent 34%);
  pointer-events: none;
}

.hero-content {
  align-self: center;
  padding-top: 28px;
  min-width: 0;
  max-width: 100%;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero p {
  width: min(100%, 680px);
  color: #e5e7eb;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: grid;
  align-items: center;
}

.hero-device {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #020617;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 0 10px rgba(255, 255, 255, 0.025);
}

.hero-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.74) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.3), transparent 55%);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero-device .live-badge {
  z-index: 2;
  top: 18px;
  left: 18px;
}

.hero-device .play-float {
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: color-mix(in srgb, var(--blue) 88%, white 12%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.38);
}

.hero-stack {
  position: absolute;
  left: -34px;
  bottom: 34px;
  z-index: 3;
  width: min(300px, 80%);
  display: grid;
  gap: 10px;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.84);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-mini-card img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-2);
}

.hero-mini-card strong,
.hero-mini-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-mini-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-panel {
  position: absolute;
  right: 22px;
  bottom: -14px;
  z-index: 4;
  min-width: 240px;
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(15, 23, 42, 0.88);
}

.status-pill {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.14);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.08);
}

.button {
  min-height: 46px;
  padding-inline: 18px;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 86%, white 14%), var(--blue));
  box-shadow: 0 18px 42px color-mix(in srgb, var(--blue) 34%, transparent);
}

.button-ghost,
.button-secondary {
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.quick-stats {
  margin-top: -22px;
  position: relative;
  z-index: 5;
}

.quick-stats div,
.watch-info,
.privacy-panel,
.auth-card,
.account-card,
.empty-state,
.info-main,
.filter-bar label,
.search-panel {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(17, 24, 39, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.content-section {
  padding-block: 42px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  letter-spacing: 0;
}

.category-tile {
  min-height: 180px;
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.category-tile::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.22), transparent 70%);
}

.channel-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.channel-card {
  border-color: rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(17, 24, 39, 0.82);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.channel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.42);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.68));
}

.poster-link .live-badge,
.poster-link .play-float {
  z-index: 2;
}

.live-badge {
  background: var(--red);
}

.play-float {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.channel-card:hover .play-float,
.hero-device .play-float {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-body h3 {
  font-size: 1.03rem;
}

.watch-layout {
  padding-top: 120px;
}

.player-frame {
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.86), rgba(5, 8, 15, 1));
}

.premium-footer {
  display: block;
  padding: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: #071113;
}

.footer-main {
  width: min(1520px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(190px, 0.9fr) minmax(220px, 1fr) minmax(240px, 0.9fr);
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 54px) 48px;
}

.footer-brand-block {
  padding-right: clamp(20px, 5vw, 60px);
  border-right: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-logo,
.footer-contact a,
.footer-social,
.footer-link-col a,
.store-buttons {
  display: flex;
  align-items: center;
}

.footer-logo {
  gap: 12px;
  margin-bottom: 28px;
}

.footer-logo strong {
  font-size: 1.6rem;
  color: #fff;
}

.footer-brand-block p,
.footer-app-col p {
  max-width: 390px;
  color: #d1d5db;
  line-height: 1.65;
  font-size: 1.03rem;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.footer-contact a {
  gap: 12px;
  color: #fff;
  font-weight: 800;
}

.footer-contact span {
  width: 22px;
  color: #dbeafe;
  font-weight: 700;
}

.footer-social {
  gap: 18px;
  margin-top: 34px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-link-col h3,
.footer-app-col h3 {
  margin: 4px 0 32px;
  color: #fff;
  font-size: 1.35rem;
}

.footer-link-col div {
  display: grid;
  gap: 22px;
}

.footer-link-col a {
  gap: 12px;
  color: #e5e7eb;
  line-height: 1.35;
  font-size: 1rem;
}

.footer-link-col a span {
  color: #bfdbfe;
  font-size: 1.7rem;
  line-height: 1;
}

.store-buttons {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.store-buttons a {
  min-width: 158px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
}

.store-buttons small,
.store-buttons strong {
  display: block;
}

.store-buttons small {
  font-size: 0.62rem;
  color: #d1d5db;
}

.store-buttons strong {
  margin-top: 2px;
  font-size: 1.05rem;
}

.footer-bottom-links {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 54px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 42px;
  padding: 28px 34px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.footer-bottom-links a {
  color: #f3f4f6;
}

.footer-copy {
  padding: 22px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #d1d5db;
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .footer-link-col h3,
  .footer-app-col h3 {
    margin-bottom: 18px;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    margin-bottom: 26px;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-stack {
    left: 18px;
  }
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(5, 8, 15, 0.9);
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-visual {
    min-height: auto;
    margin-top: 24px;
  }

  .hero-device {
    width: 100%;
  }

  .hero-stack,
  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .quick-stats {
    margin-top: 0;
  }

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

  .play-float {
    opacity: 1;
    transform: none;
  }

  .watch-layout {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .network-ribbon {
    position: fixed;
    right: 14px;
    bottom: 14px;
    justify-content: center;
    margin: 0;
  }

  .hero {
    overflow: hidden;
  }

  .hero-content,
  .hero-content p,
  .hero-content h1 {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .hero-content p {
    white-space: normal !important;
    word-break: break-word;
  }
}

/* Reference video platform skin */
:root {
  --movie-red: #ff0d2f;
  --movie-orange: #f59e0b;
}

body {
  background: #000;
}

.page {
  width: min(100%, 100%);
  padding-left: clamp(12px, 1vw, 18px);
  padding-right: clamp(12px, 1vw, 18px);
}

.video-header {
  position: sticky;
  grid-template-columns: auto 1fr auto auto auto auto;
  gap: 14px;
  padding: 14px clamp(14px, 2vw, 26px);
  background: #030303;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.video-header .brand-mark {
  display: none;
}

.brand-word {
  color: var(--movie-red);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skew(-4deg);
}

.video-header .main-nav {
  justify-self: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0;
  border: 0;
  background: transparent;
}

.video-header .main-nav a {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #fff;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-header .main-nav a:first-child,
.video-header .main-nav a:hover {
  color: var(--movie-red);
  background: transparent;
}

.video-header .main-nav a:first-child::after,
.video-header .main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  background: var(--movie-red);
}

.video-header .header-search {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--movie-red);
}

.video-header .header-search input {
  display: none;
}

.header-plan,
.header-login {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 5px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.header-plan {
  width: 42px;
  padding: 0;
  color: #111;
  background: var(--movie-orange);
  overflow: hidden;
  text-indent: -999px;
}

.header-plan::before {
  content: "VIP";
  text-indent: 0;
  font-size: 0.72rem;
}

.header-login {
  background: var(--movie-red);
}

.cinematic-hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  gap: 14px;
  align-items: stretch;
  margin: 16px 0 8px;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.cinematic-hero::before,
.cinematic-hero::after {
  display: none;
}

.hero-stage {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 42%),
    var(--hero-image) center / cover;
}

.hero-stage .hero-content {
  position: absolute;
  left: clamp(28px, 4vw, 72px);
  bottom: clamp(24px, 5vw, 56px);
  z-index: 2;
  padding: 0;
}

.hero-stage h1 {
  max-width: 680px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
}

.hero-stage p {
  display: none;
}

.hero-stage .button {
  min-height: 42px;
  border-radius: 5px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.button-primary {
  background: var(--movie-orange);
  box-shadow: none;
}

.button-buy {
  background: var(--movie-red);
}

.hero-peek {
  opacity: 0.5;
  border-radius: 8px;
  background: var(--peek-image) center / cover;
  filter: saturate(1.05);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 2rem;
  transform: translateY(-50%);
}

.hero-arrow-left {
  left: 54px;
}

.hero-arrow-right {
  right: 54px;
}

.quick-stats {
  display: none;
}

.content-section {
  padding: 18px 0 26px;
}

.section-heading {
  margin-bottom: 12px;
}

.eyebrow,
.section-heading p {
  display: none;
}

.section-heading h2,
.section-heading h1 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.channel-grid,
.featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.rail {
  grid-auto-columns: minmax(170px, 250px);
  gap: 16px;
}

.channel-card {
  border: 0;
  border-radius: 5px;
  background: #0b0b0b;
  box-shadow: none;
}

.channel-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.poster-link {
  border-radius: 5px 5px 0 0;
  aspect-ratio: 16 / 10;
}

.live-badge {
  top: 8px;
  right: 8px;
  left: auto;
  border-radius: 50%;
  padding: 8px;
  font-size: 0;
}

.live-badge::after {
  content: "VIP";
  font-size: 0.72rem;
}

.card-body {
  padding: 12px;
}

.card-body h3 {
  color: #fff;
  font-size: 0.98rem;
}

.video-detail-layout {
  max-width: 1420px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.9fr);
  align-items: start;
  padding: 20px 0 34px;
}

.detail-player-col {
  min-width: 0;
}

.video-detail-layout .player-frame {
  border: 0;
  border-radius: 7px;
  box-shadow: none;
}

.video-detail-layout .player-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 42%);
}

.detail-underbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: -44px;
  padding: 0 18px 14px;
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 0.86rem;
}

.detail-underbar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.imdb-pill {
  padding: 3px 8px;
  border-radius: 4px;
  color: #111;
  background: #facc15;
  font-weight: 900;
}

.detail-info {
  position: static;
  padding: 4px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-info h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.detail-meta {
  color: #fff;
  font-weight: 800;
}

.detail-meta span {
  color: var(--movie-red);
}

.trailer-button {
  margin: 14px 0 18px;
  width: fit-content;
  min-height: 38px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.detail-info p:not(.detail-meta) {
  color: #f1f5f9;
  line-height: 1.75;
  font-weight: 700;
}

.watch-actions {
  justify-content: flex-start;
  margin-top: 12px;
  padding: 0;
  position: relative;
  z-index: 3;
}

.watch-actions .button {
  min-height: 38px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.watch-actions .button-secondary {
  background: #0284c7;
}

.watch-actions .button-ghost {
  background: rgba(255, 255, 255, 0.14);
}

.video-detail-layout .player-error {
  inset: 50% 28px auto;
  transform: translateY(-50%);
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  background: rgba(127, 29, 29, 0.88);
  backdrop-filter: blur(12px);
}

@media (max-width: 1080px) {
  .video-header {
    grid-template-columns: 1fr auto auto auto;
  }

  .video-header .main-nav {
    display: none;
  }

  .video-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .video-header {
    grid-template-columns: 1fr auto auto;
  }

  .brand-word {
    font-size: 2rem;
  }

  .header-plan {
    display: none;
  }

  .cinematic-hero {
    grid-template-columns: 1fr;
  }

  .hero-peek,
  .hero-arrow {
    display: none;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-stage .hero-content {
    left: 18px;
    right: 18px;
  }

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

  .watch-actions {
    margin-top: 12px;
    padding: 0;
    justify-content: stretch;
  }

  .watch-actions .button {
    width: 100%;
  }
}
