:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --rose-50: #fff1f2;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 14px 35px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--amber-50), var(--white), var(--amber-50));
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(180, 83, 9, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-800), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-weight: 650;
  color: var(--gray-700);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 99px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50), var(--amber-50));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 2px 2px, rgba(217, 119, 6, 0.16) 2px, transparent 0);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 600px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.85fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 14px;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-desc {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--gray-700);
  font-size: 20px;
}

.hero-actions,
.narrow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.primary-btn,
.secondary-btn,
.text-btn,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  min-height: 54px;
  padding: 0 30px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-700));
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.32);
}

.secondary-btn {
  min-height: 54px;
  padding: 0 30px;
  color: var(--amber-700);
  background: var(--white);
  border: 2px solid var(--amber-200);
  box-shadow: var(--shadow-sm);
}

.primary-btn:hover,
.secondary-btn:hover,
.text-btn:hover,
.more-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-tags,
.search-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

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

.hero-card {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}

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

.hero-card:hover img {
  transform: scale(1.1);
}

.hero-card-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.hero-card-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
}

.hero-card-info strong,
.hero-card-info small {
  display: block;
}

.hero-card-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
}

.hero-card-info small {
  color: var(--amber-200);
  font-size: 13px;
}

.feature-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  background: var(--white);
}

.feature-tile {
  text-align: center;
}

.feature-tile span {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
  color: var(--amber-700);
  font-weight: 900;
  transition: transform 0.25s ease;
}

.feature-tile:hover span {
  transform: scale(1.08);
}

.feature-tile h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.feature-tile p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.soft-bg {
  max-width: none;
  background: linear-gradient(135deg, var(--gray-50), var(--amber-50));
}

.soft-bg > .section-heading,
.soft-bg > .movie-grid,
.soft-bg > .related-grid,
.soft-bg.two-column-section {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 36px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray-600);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--gray-100);
}

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.68));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-link::after {
  opacity: 1;
}

.year-badge,
.rank-badge,
.play-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
}

.year-badge {
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  background: rgba(17, 24, 39, 0.76);
  font-size: 12px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-600));
  box-shadow: var(--shadow-sm);
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(217, 119, 6, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

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

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

.card-summary {
  min-height: 66px;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
}

.card-summary.compact {
  min-height: 44px;
  -webkit-line-clamp: 2;
}

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

.tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 750;
}

.large-tags span {
  padding: 7px 13px;
  font-size: 13px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.26), transparent 65%);
}

.category-card h3,
.category-overview-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p,
.category-overview-card p {
  position: relative;
  margin: 0 0 22px;
  color: var(--gray-600);
}

.category-card strong,
.text-btn,
.more-link {
  color: var(--amber-700);
}

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

.category-overview-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.category-overview-card li a {
  color: var(--gray-700);
}

.category-overview-card li a:hover {
  color: var(--amber-700);
}

.two-column-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--rose-500));
  font-weight: 900;
}

.rank-item img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-info strong,
.rank-info small {
  display: block;
}

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

.rank-info small {
  color: var(--gray-600);
  font-size: 12px;
}

.rank-score {
  color: var(--amber-700);
  font-weight: 900;
}

.more-link {
  margin-top: 22px;
  padding: 11px 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-hero {
  padding: 88px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50));
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto;
  color: var(--gray-700);
  font-size: 18px;
}

.category-hero,
.rank-hero,
.search-hero {
  background: linear-gradient(135deg, var(--gray-900), #2f1a07 54%, var(--amber-800));
  color: var(--white);
}

.category-hero p:not(.eyebrow),
.rank-hero p:not(.eyebrow),
.search-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.category-hero .secondary-btn,
.rank-hero .secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.narrow-actions {
  justify-content: center;
  margin-top: 26px;
}

.filter-panel {
  position: sticky;
  top: 92px;
  z-index: 20;
  margin-bottom: 32px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.filter-panel input {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  border: 2px solid var(--amber-100);
  border-radius: 18px;
  outline: none;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.empty-state {
  display: none;
  margin: 48px auto 0;
  text-align: center;
  color: var(--gray-600);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.1);
  transform: scale(1.12);
  opacity: 0.28;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68), rgba(146, 64, 14, 0.55));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px 74px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

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

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0 0 18px;
  max-width: 900px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.player-section {
  background: var(--gray-900);
  padding: 42px 24px 70px;
}

.player-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

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

.player-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.74));
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--rose-500));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.35);
  font-size: 30px;
}

.player-layer strong {
  font-size: 20px;
}

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

.story-card {
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.story-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: var(--amber-500);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

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

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

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

@media (max-width: 980px) {
  .header-inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 8px 0 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 10px 4px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 54px 18px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 46px 18px;
  }

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

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

  .two-column-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

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

@media (max-width: 680px) {
  .header-inner,
  .content-section,
  .detail-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.035em;
  }

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

  .hero-card {
    height: 170px;
    border-radius: 18px;
  }

  .feature-strip,
  .movie-grid,
  .wide-grid,
  .small-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .poster-link {
    height: 100%;
    min-height: 174px;
  }

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

  .card-summary,
  .card-summary.compact {
    min-height: 0;
    -webkit-line-clamp: 2;
  }

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

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

  .player-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .player-shell {
    border-radius: 20px;
  }

  .story-card {
    padding: 24px;
  }

  .rank-item {
    grid-template-columns: 36px 48px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }
}
