:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #22d3ee;
  --yellow: #fde047;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --white: #ffffff;
  --dark: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #f3f6fb;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.28);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 20px;
  color: #1f2937;
}

.brand-text small {
  color: #6b7280;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 22px;
  color: #fff !important;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  display: none;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #334155;
  border-radius: 99px;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--dark);
}

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.03);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(34, 211, 238, 0.45), transparent 32%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.68) 50%, rgba(15, 23, 42, 0.28)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.12) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

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

.eyebrow.light {
  color: #bfdbfe;
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content h2 + p,
.hero-content h1 + h2 + p,
.hero-content h1 + p {
  max-width: 700px;
  margin: 0 0 26px;
  color: #e0f2fe;
  font-size: clamp(18px, 2.3vw, 24px);
}

.hero-tags,
.detail-meta,
.inline-meta,
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.inline-meta span {
  padding: 8px 14px;
  color: #eff6ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

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

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

.btn {
  min-height: 48px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn.primary {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 18px 32px rgba(255, 255, 255, 0.18);
}

.btn.primary.invert {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn.outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.hero-control.prev {
  left: 28px;
  transform: translateY(-50%);
}

.hero-control.next {
  right: 28px;
  transform: translateY(-50%);
}

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

.hero-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 56px;
  background: #fff;
}

.section,
.section-narrow {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-narrow {
  padding: 0;
}

.metrics {
  position: relative;
  z-index: 8;
  margin-top: -58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  min-height: 116px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

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

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.light-title h2,
.light-title p {
  color: #fff;
}

.light-title p {
  color: #cbd5e1;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.text-link.light {
  color: #93c5fd;
}

.soft-bg {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: #fff;
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #111827, #0f172a 52%, #164e63);
}

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

.category-card,
.category-large {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
  min-height: 210px;
  padding: 26px;
}

.category-card:hover,
.category-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.category-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.category-card p,
.category-large p {
  margin: 0;
  color: var(--muted);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  height: 300px;
  display: block;
  overflow: hidden;
  background: #dbeafe;
}

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

.movie-card:hover .poster-wrap img {
  transform: scale(1.1);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(15, 23, 42, 0.74));
  opacity: 0.75;
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 22px;
  text-indent: 3px;
}

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

.pill {
  position: absolute;
  z-index: 3;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.top-left {
  top: 12px;
  left: 12px;
}

.top-right {
  top: 12px;
  right: 12px;
}

.rank-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 7px 12px;
  color: #111827;
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  font-size: 12px;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

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

.card-meta {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-desc {
  min-height: 66px;
  margin: 0 0 14px;
  color: #5b6473;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.tag-row span {
  padding: 5px 9px;
  color: var(--blue);
  border-radius: 10px;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.tag-row.large span {
  padding: 8px 12px;
  font-size: 14px;
}

.card-link {
  margin-top: 16px;
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
}

.cta-band {
  margin: 86px auto;
  width: min(1180px, calc(100% - 32px));
  padding: 58px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  margin: 0;
  color: #e0f2fe;
  font-size: 18px;
}

.page-hero {
  padding: 150px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 35%, rgba(34, 211, 238, 0.42), transparent 34%),
    linear-gradient(135deg, #1d4ed8, #0891b2 52%, #0f172a);
}

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

.page-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: 20px;
}

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

.category-large {
  min-height: 250px;
  padding: 24px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
}

.category-large span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.category-large h2 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.thumb-stack img {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
}

.filter-panel {
  margin-bottom: 34px;
  display: grid;
  gap: 16px;
}

.search-box {
  position: relative;
}

.search-box span {
  position: absolute;
  left: 18px;
  top: 50%;
  color: #94a3b8;
  transform: translateY(-50%);
  font-size: 22px;
}

.search-box input {
  width: 100%;
  height: 58px;
  padding: 0 18px 0 52px;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  outline: none;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

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

.filter-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-buttons button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #475569;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.empty-state {
  display: none;
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

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

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

.rank-row {
  padding: 16px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 88px 88px 1fr auto;
  align-items: center;
  gap: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.rank-number {
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
}

.rank-thumb img {
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.rank-info p {
  margin: 0 0 10px;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-row .inline-meta span {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.rank-action {
  padding: 10px 18px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.detail-hero {
  position: relative;
  min-height: 680px;
  padding-top: 110px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.05);
  transform: scale(1.12);
  opacity: 0.55;
}

.detail-cover {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.36), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.62));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumbs {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #bfdbfe;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.detail-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 54px;
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 20px;
}

.player-section {
  padding-top: 70px;
  padding-bottom: 42px;
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: #050816;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

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

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.28), transparent 36%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
  cursor: pointer;
}

.video-player.is-playing .play-overlay {
  display: none;
}

.big-play {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  font-size: 34px;
  text-indent: 5px;
}

.play-overlay strong {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}

.article-card,
.side-card {
  padding: 34px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.article-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 18px;
}

.side-card {
  display: grid;
  gap: 14px;
}

.side-card a {
  padding: 14px 16px;
  border-radius: 16px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 800;
}

.site-footer {
  color: #cbd5e1;
  background: #111827;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 38px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
}

.footer-grid p {
  margin: 0 0 16px;
}

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

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

.footer-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #94a3b8;
}

@media (max-width: 1180px) {
  .category-grid,
  .movie-grid.wide {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 660px;
  }

  .hero-control {
    display: none;
  }

  .metrics,
  .category-grid,
  .movie-grid,
  .movie-grid.wide,
  .category-large-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .rank-row {
    grid-template-columns: 70px 76px 1fr;
  }

  .rank-action {
    grid-column: 2 / -1;
    text-align: center;
  }

  .cta-band,
  .section-title.split {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 92px;
  }

  .hero-tags span,
  .detail-meta span {
    padding: 6px 10px;
    font-size: 12px;
  }

  .metrics,
  .category-grid,
  .movie-grid,
  .movie-grid.wide,
  .category-large-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap {
    height: 360px;
  }

  .section,
  .soft-bg,
  .dark-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .page-hero {
    padding-top: 118px;
  }

  .detail-hero {
    padding-top: 80px;
  }

  .detail-layout {
    gap: 28px;
    padding-bottom: 48px;
  }

  .article-card,
  .side-card {
    padding: 24px;
  }

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

  .rank-thumb img {
    height: 230px;
  }

  .rank-action {
    grid-column: auto;
  }

  .cta-band {
    padding: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
