:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0d9488;
  --cyan: #06b6d4;
  --dark: #0f172a;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: 1200px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--blue);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link,
.mobile-link,
.nav-pill {
  color: #475569;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 9px 13px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--blue);
  background: #eff6ff;
}

.nav-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 250px;
  padding: 10px 14px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.nav-search button,
.mobile-search button,
.big-search button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.mobile-search button,
.big-search button,
.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.nav-search button {
  padding: 10px 16px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.ghost-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.nav-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
  border-radius: 8px;
}

.mobile-panel {
  display: none;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--line);
  background: white;
}

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

.mobile-link {
  display: block;
  padding: 10px 12px;
  font-weight: 700;
}

.mobile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.nav-pill {
  padding: 7px 10px;
  background: #f1f5f9;
  font-size: 14px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 14px;
}

.mobile-search button {
  padding: 11px 15px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 56px 20px 64px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.48), transparent 38%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #0d9488 100%);
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 22%);
  background-size: 36px 36px, auto;
  pointer-events: none;
}

.hero-track {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.15;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tag-row span {
  color: var(--blue-dark);
  background: #eff6ff;
}

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

.hero-poster {
  position: relative;
  display: block;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.45);
  transform: rotate(1.5deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.85));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  background: linear-gradient(135deg, #1e293b, #0f766e);
}

.hero-poster span {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  padding: 9px 14px;
  color: white;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero-controls {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
  font-size: 24px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 11px !important;
  height: 11px !important;
  border-radius: 999px !important;
  padding: 0;
  font-size: 0 !important;
}

.hero-dot.is-active {
  width: 32px !important;
  background: white;
}

.quick-search-section,
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.quick-search-section {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.big-search {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.big-search input {
  flex: 1;
  min-height: 56px;
  padding: 0 18px;
  font-size: 17px;
}

.big-search button {
  min-height: 56px;
  padding: 0 24px;
}

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

.stat-strip span {
  padding: 18px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.stat-strip strong {
  color: var(--blue);
  font-size: 24px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  flex: none;
  color: var(--blue);
  font-weight: 800;
}

.soft-section {
  max-width: none;
  background: #eef6ff;
}

.soft-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f766e);
}

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

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

.poster-type,
.poster-score {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.poster-type {
  left: 12px;
  padding: 6px 9px;
  background: rgba(15, 23, 42, 0.68);
}

.poster-score {
  right: 12px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--blue);
}

.movie-meta,
.movie-one-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.movie-meta {
  margin-bottom: 9px;
}

.movie-one-line {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card .tag-row {
  margin-top: 12px;
}

.movie-card-compact .movie-one-line {
  -webkit-line-clamp: 1;
  min-height: auto;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  color: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--dark);
}

.category-tile img,
.category-overview-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.35s ease;
}

.category-tile:hover img,
.category-overview-card:hover img {
  transform: scale(1.07);
}

.category-tile::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.92) 100%);
}

.category-tile span,
.category-tile strong,
.category-tile p,
.category-overview-card div {
  position: relative;
  z-index: 1;
}

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
}

.category-tile span,
.category-overview-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.category-tile strong {
  font-size: 24px;
}

.category-tile p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.category-overview-card {
  display: flex;
  align-items: end;
  padding: 24px;
  min-height: 280px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-overview-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.two-columns,
.ranking-layout,
.detail-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.ranking-aside,
.detail-side,
.prose-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ranking-aside {
  padding: 22px;
}

.sticky-aside {
  position: sticky;
  top: 92px;
}

.ranking-aside h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 36px 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.rank-num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
}

.rank-item img,
.horizontal-card img {
  width: 76px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #1e293b;
}

.rank-info {
  min-width: 0;
}

.rank-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  color: white;
  text-align: center;
  padding: 76px 20px;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.35), transparent 34%),
    linear-gradient(135deg, #0f172a, #2563eb 55%, #0d9488);
}

.small-hero {
  padding: 70px 20px;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-hero .hero-actions {
  justify-content: center;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.search-filter-panel {
  grid-template-columns: minmax(260px, 1fr) 180px 180px 180px;
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
}

.result-count {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  filter: blur(16px);
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.76)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.45), transparent 40%);
}

.detail-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 62px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: white;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #1e293b, #0f766e);
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

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

.detail-meta span {
  padding: 8px 12px;
  color: white;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.detail-tags span {
  color: white;
  background: rgba(37, 99, 235, 0.42);
}

.player-section {
  padding-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  min-height: 560px;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: white;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.72)),
    radial-gradient(circle at center, rgba(37, 99, 235, 0.35), transparent 40%);
  cursor: pointer;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-size: 34px;
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.38);
}

.player-overlay strong {
  font-size: 30px;
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  color: white;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.detail-article h2,
.detail-side h2,
.prose-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.detail-article p,
.prose-card p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
}

.detail-side a {
  color: var(--blue);
  font-weight: 800;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.horizontal-card p {
  display: -webkit-box;
  margin: 4px 0;
  color: var(--muted);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
}

.horizontal-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.prose-card {
  padding: 30px;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.image-missing {
  opacity: 0;
}

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

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-columns,
  .ranking-layout,
  .detail-body-layout {
    grid-template-columns: 1fr;
  }

  .sticky-aside {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-shell {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-track {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 330px;
  }

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

  .detail-poster {
    max-width: 310px;
  }

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

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .big-search {
    display: grid;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 18px;
  }

  .quick-search-section,
  .content-section {
    padding: 34px 16px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 10px;
  }

  .hero-copy p,
  .page-hero p:not(.eyebrow),
  .detail-one-line {
    font-size: 16px;
  }

  .player-shell,
  .player-shell video {
    min-height: 260px;
  }
}
