:root {
  color-scheme: dark;
  --bg-a: #020617;
  --bg-b: #0f172a;
  --bg-c: #172554;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(8, 145, 178, 0.22);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --soft: #64748b;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --blue: #38bdf8;
  --gold: #f59e0b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow-cyan: 0 24px 80px rgba(34, 211, 238, 0.16);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.18), transparent 28rem),
    linear-gradient(135deg, var(--bg-a), var(--bg-c) 46%, var(--bg-b));
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-orb {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
  font-size: 14px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
}

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

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  font-size: 20px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  color: #cbd5e1;
}

.mobile-nav.is-open {
  display: grid;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  min-height: 690px;
  padding-top: 34px;
}

.hero-track {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: var(--shadow-cyan);
  background: var(--panel-strong);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
  transform: scale(1.02);
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72) 46%, rgba(2, 6, 23, 0.34)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(34, 211, 238, 0.22), transparent 26rem),
    linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: clamp(32px, 6vw, 74px);
  display: grid;
  grid-template-columns: 1.1fr 360px;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

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

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

.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #f8fafc;
}

.hero-copy p,
.page-hero p,
.detail-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.term-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.tag-row em,
.term-block span {
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(8, 145, 178, 0.14);
  color: #a5f3fc;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-style: normal;
}

.hero-actions,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.search-box button,
.filter-bar button,
.category-card-body span,
.section-more {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.primary-button,
.search-box button {
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.22);
}

.ghost-button,
.filter-bar button,
.section-more {
  color: #dffaff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
}

.primary-button:hover,
.ghost-button:hover,
.search-box button:hover,
.filter-bar button:hover,
.category-card-body span:hover,
.section-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(34, 211, 238, 0.18);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
}

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

.hero-poster:hover img {
  transform: scale(1.08);
}

.hero-poster span,
.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(34, 211, 238, 0.88);
  box-shadow: 0 0 38px rgba(34, 211, 238, 0.34);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 154px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--cyan);
}

.hero-search-panel {
  position: relative;
  z-index: 6;
  width: min(1060px, calc(100% - 42px));
  margin: -86px auto 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(2, 6, 23, 0.76);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.hero-search-panel h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 38px);
}

.hero-search-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.search-box,
.filter-bar {
  display: flex;
  gap: 10px;
}

.search-box input,
.filter-bar input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.86);
}

.content-section {
  position: relative;
  margin-top: 64px;
}

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

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

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.category-tile {
  min-height: 146px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 16rem),
    rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.48);
}

.category-tile span {
  display: block;
  font-size: 20px;
  font-weight: 850;
  margin-bottom: 10px;
}

.category-tile small {
  color: var(--muted);
  line-height: 1.7;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-link {
  height: 100%;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.82));
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-link:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 24px 68px rgba(34, 211, 238, 0.16);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0f172a;
}

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

.movie-link:hover img {
  transform: scale(1.08);
}

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.04) 58%);
}

.play-badge {
  width: 48px;
  height: 48px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-link:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.06);
}

.rating-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: rgba(245, 158, 11, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.movie-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.movie-body strong {
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-link:hover strong {
  color: var(--cyan);
}

.movie-meta,
.movie-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.movie-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  gap: 6px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.ranking-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.ranking-list a:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.44);
}

.rank-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  font-weight: 900;
}

.rank-title {
  font-weight: 750;
}

.rank-meta,
.compact-info small {
  color: var(--muted);
  font-size: 13px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.compact-card a {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.75);
}

.compact-card img {
  width: 70px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.compact-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score {
  color: var(--gold);
  font-weight: 900;
}

.inner-page {
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.small-hero {
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.58));
  box-shadow: var(--shadow-card);
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.filter-bar {
  margin-top: 28px;
  max-width: 760px;
}

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

.category-card-large a {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow-card);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-height: 260px;
}

.category-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 16px;
}

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

.category-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.category-card-body span {
  width: max-content;
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
  border: 1px solid var(--line);
}

.ranking-rows {
  display: grid;
  gap: 12px;
}

.ranking-row a {
  display: grid;
  grid-template-columns: 70px 78px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.ranking-row a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.42);
}

.ranking-index {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.ranking-row img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.ranking-copy strong {
  font-size: 20px;
}

.ranking-copy small,
.ranking-copy em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.ranking-copy em {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-score {
  min-width: 54px;
  text-align: center;
  color: var(--gold);
  font-weight: 950;
  font-size: 20px;
}

.detail-page {
  padding-top: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 30px;
  align-items: stretch;
}

.player-column,
.detail-copy,
.detail-panel,
.detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow-card);
}

.player-column {
  padding: 14px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
}

.video-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.player-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.62));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-trigger span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 46px rgba(34, 211, 238, 0.36);
  font-size: 30px;
}

.player-trigger.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-copy {
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  align-content: center;
}

.detail-copy h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.05em;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.detail-meta-grid span {
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
  color: #f8fafc;
  font-weight: 800;
}

.detail-meta-grid b {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}

.detail-panel {
  padding: clamp(24px, 4vw, 42px);
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-panel h2:not(:first-child) {
  margin-top: 34px;
}

.detail-panel p {
  margin: 0;
  color: #cbd5e1;
  line-height: 2;
  font-size: 16px;
}

.term-block {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.term-block strong {
  color: #f8fafc;
}

.detail-side {
  padding: 16px;
  height: max-content;
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
}

.detail-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.detail-side a {
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.32);
  color: #cbd5e1;
  line-height: 1.5;
}

.detail-side a:hover {
  color: var(--cyan);
}

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

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

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.footer-brand strong {
  display: block;
  color: var(--cyan);
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px 22px;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(8, 145, 178, 0.14);
  padding: 18px 16px;
  text-align: center;
  color: var(--soft);
  font-size: 13px;
}

.is-filtered-out {
  display: none !important;
}

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

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-content,
  .hero-search-panel,
  .split-section,
  .detail-hero,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .hero-controls {
    bottom: 198px;
  }

  .category-grid,
  .movie-grid,
  .featured-grid,
  .category-overview-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .page-shell,
  .header-inner,
  .mobile-nav,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand-subtitle {
    display: none;
  }

  .hero-section {
    min-height: 630px;
  }

  .hero-track,
  .hero-content {
    min-height: 520px;
  }

  .hero-content {
    padding: 26px;
  }

  .hero-search-panel {
    width: calc(100% - 22px);
    margin-top: -70px;
    padding: 16px;
  }

  .search-box,
  .filter-bar {
    flex-direction: column;
  }

  .hero-controls {
    left: 26px;
    right: auto;
    bottom: 180px;
  }

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

  .category-card-large a,
  .ranking-row a,
  .compact-card a {
    grid-template-columns: 1fr;
  }

  .category-mosaic {
    min-height: 220px;
  }

  .ranking-index {
    text-align: left;
  }

  .ranking-row img,
  .compact-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

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

  .mobile-nav {
    grid-template-columns: 1fr;
  }
}
