:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #111827;
  --bg-card-2: #1e293b;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --emerald: #10b981;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --yellow: #facc15;
  --rose: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 38rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
}

.nav-shell {
  width: min(1280px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.site-logo {
  font-size: 22px;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.28);
  color: white;
  font-weight: 900;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--soft);
  font-size: 15px;
  white-space: nowrap;
}

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

.desktop-nav a:hover,
.mobile-panel a:hover,
.footer-links a:hover {
  color: #6ee7b7;
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(420px, 36vw);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  overflow: hidden;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.filter-bar input,
.filter-bar select,
.search-panel input {
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.nav-search input {
  width: 100%;
  padding: 11px 16px;
}

.nav-search button,
.mobile-search button,
.hero-search button,
.search-panel button {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: rgba(30, 41, 59, 0.95);
}

.mobile-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel a {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--soft);
}

.mobile-search {
  display: flex;
  gap: 10px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border);
}

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

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #020617;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.04);
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.82) 36%, rgba(2, 6, 23, 0.25) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.14) 58%, rgba(2, 6, 23, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.64fr);
  align-items: center;
  gap: 42px;
  padding: 96px 0 64px;
}

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

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  color: #ffffff;
}

.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.rank-meta,
.card-meta,
.info-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin: 24px 0;
}

.hero-meta span,
.detail-meta span,
.rank-meta span,
.card-meta span,
.info-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--soft);
  font-size: 13px;
}

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

.btn,
.section-more,
.row-action,
.play-button,
.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary,
.play-button,
.category-link {
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #ffffff;
  box-shadow: 0 14px 38px rgba(16, 185, 129, 0.25);
}

.btn-ghost,
.section-more {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.btn:hover,
.section-more:hover,
.row-action:hover,
.play-button:hover,
.category-link:hover {
  transform: translateY(-2px);
}

.hero-side {
  position: relative;
  align-self: end;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid var(--border);
}

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

.hero-mini-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.54);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-mini-card:hover {
  background: rgba(30, 41, 59, 0.92);
  transform: translateX(4px);
}

.hero-mini-card img {
  width: 84px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-mini-card h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.hero-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 36px;
  background: #ffffff;
}

.section {
  padding: 72px 0 0;
}

.section:last-child {
  padding-bottom: 82px;
}

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

.section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.54);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.08);
  filter: saturate(1.12);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.86));
}

.type-pill,
.duration-pill,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.type-pill {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(16, 185, 129, 0.92);
}

.duration-pill {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(2, 6, 23, 0.82);
}

.rank-badge {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

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

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

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

.movie-card h2 a:hover,
.rank-main h2 a:hover,
.detail-related h2 a:hover {
  color: #6ee7b7;
}

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

.card-meta {
  gap: 6px;
  margin-bottom: 12px;
}

.card-meta span {
  min-height: auto;
  padding: 4px 8px;
  font-size: 12px;
}

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

.tag-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
  font-size: 12px;
}

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

.category-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 44%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.5);
}

.category-card .icon {
  font-size: 42px;
  line-height: 1;
}

.category-card h2 {
  margin: 18px 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.category-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

.category-link {
  align-self: flex-start;
  margin-top: 18px;
}

.page-hero {
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.22), transparent 32rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}

.page-hero-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

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

.breadcrumb a:hover {
  color: #6ee7b7;
}

.page-hero h1,
.detail-title h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel,
.search-panel {
  margin: 30px 0 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.filter-bar,
.search-panel form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
  gap: 12px;
}

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

.filter-bar input,
.filter-bar select,
.search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.7);
}

.filter-bar button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.92);
  color: #ffffff;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 148px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(30, 41, 59, 0.82);
}

.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(6, 182, 212, 0.88));
  color: white;
  font-weight: 900;
}

.rank-cover img {
  width: 148px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-main h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-main p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.row-action {
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 42px 0 82px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  min-width: 156px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.play-button:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.player-shell.playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.detail-title {
  margin: 28px 0 24px;
}

.detail-title .kicker {
  margin-bottom: 12px;
}

.detail-meta {
  margin-top: 18px;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.content-card,
.side-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.content-card p {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.95;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.detail-cover-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.84);
}

.detail-cover-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-cover-card .info-list {
  padding: 16px;
}

.detail-related {
  display: grid;
  gap: 12px;
}

.related-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.48);
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-row:hover {
  transform: translateX(4px);
  background: rgba(30, 41, 59, 0.82);
}

.related-row img {
  width: 112px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
}

.related-row h2 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.38;
}

.related-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 72px;
}

.search-state {
  margin: 16px 0 24px;
  color: var(--muted);
}

.hidden-by-filter,
.is-hidden {
  display: none !important;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  font-size: 20px;
  margin-bottom: 14px;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .movie-grid,
  .search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 88px;
  }

  .hero-side {
    align-self: stretch;
  }

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

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

  .rank-row {
    grid-template-columns: 48px 110px 1fr;
  }

  .rank-cover img {
    width: 110px;
    height: 72px;
  }

  .row-action {
    grid-column: 2 / 4;
  }

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

@media (max-width: 640px) {
  .nav-shell {
    height: 64px;
  }

  .site-logo {
    font-size: 19px;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h2 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-search {
    align-items: stretch;
    flex-direction: column;
  }

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

  .movie-grid,
  .movie-grid.feature-grid,
  .category-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 94px 1fr;
    gap: 12px;
  }

  .rank-cover img {
    width: 94px;
    height: 64px;
  }

  .rank-main h2 {
    font-size: 16px;
  }

  .rank-main p,
  .rank-meta {
    display: none;
  }

  .row-action {
    grid-column: 1 / 4;
  }

  .detail-title h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .content-card,
  .side-card {
    padding: 18px;
  }

  .related-row {
    grid-template-columns: 92px 1fr;
  }

  .related-row img {
    width: 92px;
    height: 62px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}
