:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --accent: #7c3aed;
  --hot: #f97316;
  --dark: #020617;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 28px 70px rgba(15, 23, 42, 0.20);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.34);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.10);
}

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

.mobile-menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface-strong);
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

.hero-bg,
.detail-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.12);
  transition: background-image 0.5s ease, opacity 0.5s ease;
}

.hero-bg::after,
.detail-bg::after,
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(37, 99, 235, 0.45), transparent 32%),
    radial-gradient(circle at 78% 0%, rgba(124, 58, 237, 0.50), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.78) 44%, rgba(2, 6, 23, 0.50));
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.10), rgba(2, 6, 23, 0.86)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.30), rgba(124, 58, 237, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(191, 219, 254, 0.25);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.08em;
}

.hero p,
.page-hero p,
.detail-copy p {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

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

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

.btn-primary,
.btn-small {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-search-box {
  margin-top: 28px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
}

.hero-search-box input,
.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}

.hero-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.25));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-poster img,
.poster-frame img,
.rank-thumb img,
.category-card img,
.detail-poster img,
.player-cover img,
.category-thumb-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-play,
.big-play,
.play-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--hot), #ef4444);
  box-shadow: 0 16px 38px rgba(239, 68, 68, 0.35);
}

.hero-play {
  position: absolute;
  left: 26px;
  bottom: 26px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-size: 24px;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.hero-tab {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  min-width: 0;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  color: #ffffff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-tab:hover,
.hero-tab.active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.20);
}

.hero-tab img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-tab strong,
.hero-tab em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-tab strong {
  font-size: 14px;
}

.hero-tab em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-style: normal;
}

.hero-crawl-content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-block {
  padding: 64px 0;
}

.floating-search {
  padding-top: 32px;
  padding-bottom: 16px;
}

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

.section-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

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

.section-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--brand);
  font-weight: 900;
  background: rgba(37, 99, 235, 0.10);
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  background: var(--surface-strong);
}

.filter-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-hints button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--brand);
  font-weight: 800;
  background: rgba(37, 99, 235, 0.10);
  cursor: pointer;
}

.filter-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.28), transparent 34%),
    linear-gradient(135deg, #e0e7ff, #f8fafc);
}

.poster-frame img {
  transition: transform 0.35s ease;
}

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

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(2, 6, 23, 0.42);
  transition: opacity 0.22s ease;
}

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

.play-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hot), #ef4444);
}

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

.card-meta-row,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.category-pill {
  color: var(--brand);
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row,
.tag-cloud,
.rank-tags,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.tag-cloud a,
.rank-tags span,
.rank-tags a {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 700;
}

.card-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--soft);
}

.compact-card .poster-frame {
  aspect-ratio: 1 / 1;
}

.compact-card h3 {
  font-size: 16px;
}

.compact-card p {
  min-height: 40px;
  font-size: 13px;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.35));
}

.category-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.category-content strong,
.category-content em {
  display: block;
}

.category-content strong {
  font-size: 22px;
  font-weight: 900;
}

.category-content em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.section-dark {
  width: min(calc(var(--container) + 48px), calc(100% - 18px));
  border-radius: 36px;
  padding-left: 24px;
  padding-right: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.34), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.34), transparent 30%),
    var(--dark);
}

.section-dark .section-title p,
.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 84px minmax(0, 1fr) 96px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.rank-index {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hot), #ef4444);
}

.rank-thumb {
  width: 84px;
  height: 64px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-strong);
}

.rank-info h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.rank-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.rank-score {
  text-align: right;
}

.rank-score strong,
.rank-score span {
  display: block;
}

.rank-score strong {
  color: var(--hot);
  font-size: 24px;
  line-height: 1;
}

.rank-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.36), transparent 32%),
    radial-gradient(circle at 90% 5%, rgba(124, 58, 237, 0.36), transparent 34%),
    var(--dark);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.small-hero {
  padding-bottom: 58px;
}

.category-hero,
.ranking-hero,
.search-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

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

.category-thumb-stack img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-strong);
}

.category-overview-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.category-overview-card h2 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-stats {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.category-stats strong {
  color: var(--hot);
  font-size: 34px;
  line-height: 1;
}

.category-stats em {
  color: var(--muted);
  font-style: normal;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #ffffff;
  background: var(--dark);
}

.detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  max-width: 900px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #000000;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 16 / 9;
}

.site-video,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-video {
  background: #000000;
}

.player-cover {
  border: 0;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.10), transparent 36%),
    rgba(2, 6, 23, 0.55);
}

.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 34px;
}

.player-cover strong {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 58px);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px;
  gap: 22px;
  padding: 16px 0 12px;
}

.content-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

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

.content-card p {
  margin: 0;
  color: #334155;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}

.info-card dt {
  color: var(--muted);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
}

.site-footer {
  margin-top: 42px;
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

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

.footer-brand {
  color: #ffffff;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.10);
}

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

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

img.is-broken {
  opacity: 0;
}

@media (max-width: 1080px) {
  .hero-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
  }

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

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

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

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

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

  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-hover);
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 46px 0;
  }

  .hero-tabs {
    grid-template-columns: 1fr;
  }

  .hero-tab {
    grid-template-columns: 48px 1fr;
  }

  .section-title {
    display: block;
  }

  .section-more {
    margin-top: 14px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .rank-row {
    grid-template-columns: 42px 70px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
    text-align: left;
  }

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

  .category-thumb-stack {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-layout {
    padding: 44px 0;
  }

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

  .detail-copy h1,
  .hero h1,
  .page-hero h1 {
    font-size: 42px;
    letter-spacing: -0.06em;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 180px;
  }

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

  .btn {
    width: 100%;
  }
}
