:root {
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-secondary: #ef4444;
  --color-pink: #db2777;
  --color-blue: #0ea5e9;
  --color-cyan: #06b6d4;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #f9fafb;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 25px 60px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.96), rgba(239, 68, 68, 0.96), rgba(219, 39, 119, 0.96));
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.18);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand:hover {
  transform: scale(1.03);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.brand-text {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-nav-link {
  position: relative;
  font-weight: 700;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fef08a;
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #db2777 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% -15%;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.15);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(239, 68, 68, 0.55), rgba(249, 115, 22, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  width: min(100% - 32px, var(--container));
  min-height: 650px;
  margin: 0 auto;
  padding: 70px 0 92px;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 22px 0 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--color-primary-dark);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

.btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

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

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

.hero-poster span {
  position: absolute;
  inset: auto 22px 22px auto;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

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

.stats-section {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}

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

.stat-card {
  min-height: 116px;
  padding: 26px 20px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--color-primary);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

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

.content-section.tinted {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

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

.section-heading .section-kicker {
  color: var(--color-primary-dark);
  background: #ffedd5;
  border-color: #fed7aa;
}

.section-heading h2 {
  margin: 12px 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

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

.section-more {
  flex: 0 0 auto;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fb923c, #ef4444, #db2777);
}

.poster-frame.is-missing-image::before,
.hero-poster.is-missing-image::before,
.hero-bg.is-missing-image::before,
.ranking-thumb.is-missing-image::before,
.related-cover.is-missing-image::before {
  content: "封面待替换";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #fb923c, #ef4444, #db2777);
}

.poster-frame img,
.ranking-thumb img,
.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

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

.card-badge,
.card-year {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
}

.card-badge {
  left: 10px;
}

.card-year {
  right: 10px;
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--color-primary);
  background: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.meta-line,
.summary-line {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.summary-line {
  display: -webkit-box;
  min-height: 40px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.compact .movie-card-body h3 {
  font-size: 15px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 390px;
  gap: 34px;
  align-items: start;
}

.split-grid.wide-left {
  grid-template-columns: minmax(0, 1.6fr) 340px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-list.large .ranking-item {
  grid-template-columns: 64px 110px minmax(0, 1fr);
}

.ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.ranking-number {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary);
  text-align: center;
}

.ranking-thumb {
  position: relative;
  width: 88px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.ranking-list.large .ranking-thumb {
  width: 110px;
}

.ranking-copy {
  min-width: 0;
}

.ranking-copy strong,
.related-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy em,
.related-row em {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
}

.category-panel,
.rank-note,
.prose-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-panel h2,
.rank-note h2,
.prose-card h2 {
  margin: 12px 0 16px;
}

.category-tile-grid,
.overview-grid,
.genre-grid {
  display: grid;
  gap: 14px;
}

.category-tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

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

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

.category-tile,
.overview-card,
.genre-card {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 18px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
}

.category-tile strong,
.overview-card strong,
.genre-card strong {
  font-size: 22px;
}

.category-tile em,
.overview-card em,
.genre-card em {
  font-size: 13px;
  font-style: normal;
  opacity: 0.85;
}

.overview-icon {
  font-size: 28px;
}

.genre-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-chip-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: #ffedd5;
  font-size: 14px;
  font-weight: 700;
}

.genre-chip-cloud span {
  color: var(--color-muted);
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444, #db2777);
}

.small-hero {
  padding: 74px 0 70px;
}

.small-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.small-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(4, minmax(130px, 0.55fr)) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 28px;
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

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

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  outline: none;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.filter-count {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--color-muted);
  background: #f3f4f6;
  white-space: nowrap;
}

.filter-count strong {
  color: var(--color-primary-dark);
}

.empty-state {
  margin-top: 22px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  color: var(--color-muted);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.video-page {
  padding: 34px 0 50px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.video-main-card,
.related-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.64), rgba(249, 115, 22, 0.28));
}

.player-overlay[hidden] {
  display: none;
}

.player-play-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--color-primary);
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

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

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(239, 68, 68, 0.92);
}

.detail-content {
  padding: 28px;
}

.detail-content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-muted);
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 700;
}

.one-line-box {
  padding: 16px 18px;
  border-left: 5px solid var(--color-primary);
  border-radius: 16px;
  color: #374151;
  background: linear-gradient(90deg, #fff7ed, #fef2f2);
  font-weight: 700;
}

.detail-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

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

.detail-section p {
  margin: 0;
  color: #374151;
  white-space: pre-line;
}

.review-section {
  padding: 24px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.review-section h2 {
  color: var(--color-primary-dark);
}

.tag-list span {
  color: #374151;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.related-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.related-panel h2 {
  margin: 0 0 16px;
}

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

.related-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-cover {
  position: relative;
  width: 98px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.more-related-section {
  padding-top: 24px;
}

.prose-card {
  max-width: 920px;
}

.prose-card p,
.prose-card li,
.rank-note p {
  color: #4b5563;
}

.inline-stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-stat-list span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: #ffedd5;
  font-weight: 800;
}

.site-footer {
  margin-top: 20px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-grid p {
  max-width: 520px;
  color: #9ca3af;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: #fed7aa;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-poster,
.stat-card,
.movie-card,
.ranking-item {
  animation: fadeInUp 0.55s ease both;
}

@media (max-width: 1120px) {
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-content,
  .split-grid,
  .split-grid.wide-left,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(360px, 70vw);
    margin: 0 auto;
  }

  .related-panel {
    position: static;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 54px 0 92px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .stats-grid,
  .featured-grid,
  .all-grid,
  .overview-grid,
  .genre-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

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

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

  .category-tile-grid {
    grid-template-columns: 1fr;
  }

  .ranking-item,
  .ranking-list.large .ranking-item {
    grid-template-columns: 42px 82px minmax(0, 1fr);
  }

  .ranking-thumb,
  .ranking-list.large .ranking-thumb {
    width: 82px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .stats-grid,
  .featured-grid,
  .all-grid,
  .overview-grid,
  .genre-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-card.compact .movie-card-link {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .movie-card.compact .poster-frame {
    aspect-ratio: 3 / 4;
  }

  .movie-card.compact .summary-line {
    -webkit-line-clamp: 3;
  }

  .related-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .related-cover {
    width: 86px;
  }

  .detail-content,
  .related-panel,
  .category-panel,
  .rank-note,
  .prose-card {
    padding: 20px;
  }
}
