:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-soft: rgba(30, 41, 59, 0.58);
  --panel-strong: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --cyan-soft: rgba(34, 211, 238, 0.16);
  --orange: #fb923c;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 2%, rgba(34, 211, 238, 0.14), transparent 34rem),
    radial-gradient(circle at 78% 8%, rgba(59, 130, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  color: transparent;
}

img.is-empty {
  opacity: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.site-header-inner,
.footer-inner,
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 22px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #061019;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #67e8f9, #22d3ee 50%, #38bdf8);
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #dbeafe;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.nav-dropdown > button {
  position: relative;
  padding: 10px 0;
  color: #d1d5db;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown > button:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 42px;
  left: 50%;
  display: grid;
  width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #cbd5e1;
}

.nav-dropdown-menu a:hover {
  background: rgba(34, 211, 238, 0.1);
}

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
}

.nav-search input,
.mobile-search input {
  width: 220px;
  border: 0;
  outline: 0;
  color: #e5e7eb;
  background: transparent;
  padding: 8px 8px 8px 12px;
}

.nav-search button,
.mobile-search button,
.primary-btn,
.secondary-btn,
.filter-button,
.player-start {
  border: 0;
  cursor: pointer;
}

.nav-search button,
.mobile-search button {
  padding: 8px 14px;
  border-radius: 999px;
  color: #061019;
  font-weight: 800;
  background: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.9);
  font-size: 24px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-panel nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: #dbeafe;
  background: rgba(30, 41, 59, 0.62);
}

.home-main {
  padding-top: 0;
}

.page-main,
.detail-main {
  padding-top: 104px;
}

.hero-slider {
  position: relative;
  min-height: 72vh;
  padding-top: 72px;
  overflow: hidden;
  background: #020617;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(15, 23, 42, 0.9));
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.83) 35%, rgba(2, 6, 23, 0.16) 75%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.16) 42%, rgba(2, 6, 23, 0.74) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 96px 0 118px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 28px var(--cyan);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.75;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  color: #03131a;
  background: linear-gradient(135deg, #67e8f9, #22d3ee);
  box-shadow: 0 18px 48px rgba(34, 211, 238, 0.22);
}

.secondary-btn {
  border: 1px solid rgba(148, 163, 184, 0.34);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.66);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.12);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-controls button,
.slider-dot {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(14px);
}

.hero-controls button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 22px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.7;
}

.slider-dot.is-active {
  width: 30px;
  background: var(--cyan);
  opacity: 1;
}

.hero-rail {
  position: absolute;
  z-index: 3;
  left: max(16px, calc((100% - 1180px) / 2));
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 16px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  text-align: left;
}

.hero-thumb.is-active {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(8, 145, 178, 0.18);
}

.hero-thumb img {
  width: 58px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(30, 41, 59, 0.8);
}

.hero-thumb strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-thumb span {
  color: var(--muted);
  font-size: 12px;
}

.content-section,
.category-showcase,
.ranking-panel,
.search-panel,
.info-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.content-section {
  padding: 70px 0 0;
}

.content-section.surface,
.ranking-panel,
.info-panel {
  margin-top: 70px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.68));
  box-shadow: var(--shadow);
}

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

.section-heading h2,
.page-hero h1,
.detail-title,
.search-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.search-hero p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.44);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 26px 68px rgba(8, 145, 178, 0.18);
  transform: translateY(-6px);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.26), rgba(15, 23, 42, 0.9));
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.08);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.08) 55%, transparent);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #061019;
  font-size: 13px;
  font-weight: 900;
  background: var(--cyan);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge,
.rank-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #061019;
  font-weight: 950;
  background: linear-gradient(135deg, #fef08a, #fb923c);
  box-shadow: 0 12px 26px rgba(251, 146, 60, 0.28);
}

.movie-card-body {
  padding: 16px;
}

.movie-meta-row,
.side-meta,
.detail-meta,
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.movie-meta-row a,
.breadcrumb a,
.detail-meta a {
  color: var(--cyan);
}

.movie-card h3 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0;
  overflow: hidden;
  color: #b6c2d5;
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list span,
.detail-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  color: #a5f3fc;
  font-size: 12px;
  background: rgba(8, 145, 178, 0.12);
}

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

.channel-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.2), transparent 45%),
    rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover {
  border-color: rgba(34, 211, 238, 0.44);
  transform: translateY(-4px);
}

.channel-card h2,
.channel-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.channel-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.channel-card .mini-list {
  display: grid;
  gap: 8px;
  color: #dbeafe;
  font-size: 14px;
}

.page-hero,
.search-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 211, 238, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.76), rgba(15, 23, 42, 0.88));
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: #f8fafc;
  outline: none;
  background: rgba(2, 6, 23, 0.52);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(34, 211, 238, 0.7);
}

.filter-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  color: #03131a;
  font-weight: 900;
  background: var(--cyan);
}

.filter-status {
  width: min(1180px, calc(100% - 32px));
  margin: -10px auto 24px;
  color: var(--muted);
  min-height: 22px;
}

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

.side-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.36);
}

.side-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.26), rgba(15, 23, 42, 0.9));
}

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

.side-card h3 {
  margin: 4px 0 6px;
  font-size: 17px;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.player-video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.16));
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
}

.player-start {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  color: #061019;
  font-size: 18px;
  font-weight: 950;
  background: linear-gradient(135deg, #67e8f9, #22d3ee);
  box-shadow: 0 20px 52px rgba(34, 211, 238, 0.28);
}

.player-start span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.82);
}

.detail-title {
  margin-top: 26px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 16px 0 22px;
}

.detail-card {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.7);
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.related-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.related-sidebar h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.related-stack {
  display: grid;
  gap: 14px;
}

.not-found {
  display: none;
  width: min(680px, calc(100% - 32px));
  margin: 30px auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.72);
}

.not-found.is-visible {
  display: block;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-brand-block p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .nav-search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .related-sidebar {
    position: static;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-rail {
    display: none;
  }

  .hero-controls {
    right: 16px;
    left: 16px;
    justify-content: flex-end;
  }

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

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

  .filter-panel input {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .mobile-panel nav,
  .movie-grid,
  .channel-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-actions,
  .cta-row,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-section {
    padding-top: 48px;
  }

  .side-card {
    grid-template-columns: 96px 1fr;
  }
}
