:root {
  --night-950: #0d0d10;
  --night-930: #141419;
  --night-900: #1a1a1f;
  --night-850: #222229;
  --night-800: #2c2c34;
  --night-700: #3b3b46;
  --night-500: #6e6e78;
  --night-400: #888893;
  --night-300: #b0b0b8;
  --night-200: #d1d1d6;
  --night-100: #e7e7ea;
  --gold-400: #facc15;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --ember-400: #fb7185;
  --ember-500: #ef4444;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-glow: 0 0 26px rgba(234, 179, 8, 0.24);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(234, 179, 8, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(239, 68, 68, 0.13), transparent 28rem),
    var(--night-950);
  color: var(--night-100);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(13, 13, 16, 0.82);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
  color: var(--night-950);
  box-shadow: var(--shadow-glow);
}

.brand-name {
  font-size: 20px;
  background: linear-gradient(90deg, var(--gold-400), var(--ember-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
  background: rgba(234, 179, 8, 0.1);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 12px;
  background: rgba(26, 26, 31, 0.8);
  color: var(--night-100);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--night-100);
}

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

.hero {
  position: relative;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: var(--radius-xl);
  background: var(--night-900);
  box-shadow: var(--shadow-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 44px;
  padding: clamp(28px, 5vw, 68px);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h2 {
  margin: 16px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.14;
  color: var(--gold-400);
}

.hero p,
.page-hero p,
.section-heading p,
.category-detail-card p,
.detail-copy p,
.site-footer p {
  color: var(--night-300);
}

.hero p {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 18px;
}

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

.hero-tags {
  margin: 26px 0;
}

.hero-tags span,
.detail-tags span,
.detail-meta span,
.poster-badge {
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 999px;
  background: rgba(26, 26, 31, 0.72);
  color: var(--night-200);
  font-size: 13px;
}

.hero-tags span,
.detail-tags span,
.detail-meta span {
  padding: 7px 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 999px;
  color: var(--night-100);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
  color: var(--night-950);
  box-shadow: var(--shadow-glow);
}

.btn.ghost {
  background: rgba(26, 26, 31, 0.76);
}

.btn.text {
  border-color: transparent;
  color: var(--gold-400);
}

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

.btn.full {
  width: 100%;
  margin-top: 18px;
}

.btn:hover,
.section-more:hover,
.card-title:hover,
.mini-links a:hover {
  color: var(--gold-400);
}

.btn.primary:hover {
  color: var(--night-950);
}

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

.hero-poster {
  position: relative;
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.hero-poster img,
.poster-link img,
.category-cover img,
.detail-poster img,
.rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span,
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.92);
  color: var(--night-950);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-glow);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 50%;
  background: rgba(13, 13, 16, 0.72);
  color: var(--night-100);
  font-size: 30px;
  transform: translateY(-50%);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-dot.active {
  width: 28px;
  background: var(--gold-400);
}

.hero-search {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: min(860px, calc(100% - 36px));
  margin: -32px auto 0;
  padding: 14px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 22px;
  background: rgba(26, 26, 31, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-search input,
.filter-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 14px;
  background: rgba(13, 13, 16, 0.72);
  color: var(--night-100);
  outline: none;
}

.hero-search input,
.filter-input {
  padding: 0 16px;
}

.filter-select {
  padding: 0 12px;
}

.hero-search input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
}

.hero-search button {
  min-width: 136px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
  color: var(--night-950);
  font-weight: 900;
}

.content-section,
.filter-section,
.category-list-page,
.detail-page {
  margin-top: 72px;
}

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

.compact-heading {
  align-items: center;
}

.section-heading h2,
.category-detail-card h2,
.detail-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 900;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
}

.section-more {
  color: var(--gold-400);
  font-weight: 800;
  white-space: nowrap;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(44, 44, 52, 0.48), rgba(26, 26, 31, 0.74));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(250, 204, 21, 0.36);
  transform: translateY(-5px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), var(--shadow-glow);
}

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

.poster-link img {
  transition: transform 0.36s ease, filter 0.36s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: brightness(0.82);
}

.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  color: var(--gold-400);
}

.poster-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-body {
  padding: 14px;
}

.card-title {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  color: var(--night-100);
  font-weight: 850;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body p {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 12px;
  overflow: hidden;
  color: var(--night-400);
  font-size: 14px;
  line-height: 1.48;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  gap: 6px;
  color: var(--night-400);
  font-size: 12px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: var(--night-500);
}

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

.category-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.38);
}

.category-card span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 800;
}

.category-card strong {
  font-size: 23px;
  line-height: 1.15;
}

.category-card em,
.category-card small {
  color: var(--night-300);
  font-style: normal;
}

.category-card small {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 18px;
  background: rgba(26, 26, 31, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  border-color: rgba(250, 204, 21, 0.36);
  transform: translateY(-3px);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
  color: var(--night-950);
  font-weight: 900;
}

.rank-item img {
  width: 64px;
  height: 88px;
  border-radius: 12px;
}

.rank-text strong,
.rank-text em {
  display: block;
}

.rank-text strong {
  color: var(--night-100);
}

.rank-text em {
  margin-top: 5px;
  color: var(--night-400);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  margin-top: 28px;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(26, 26, 31, 0.95), rgba(44, 44, 52, 0.72));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.compact-hero p,
.category-hero p {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
}

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

.category-detail-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 22px;
  background: rgba(26, 26, 31, 0.72);
}

.category-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
}

.category-detail-card h2 {
  margin-bottom: 10px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.mini-links a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.09);
  color: var(--night-300);
  font-size: 13px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 160px 160px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid rgba(250, 204, 21, 0.13);
  border-radius: 22px;
  background: rgba(26, 26, 31, 0.68);
}

.result-count {
  min-width: 58px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--gold-400);
  text-align: center;
  font-weight: 900;
}

.empty-state {
  display: none;
  padding: 36px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 20px;
  color: var(--night-300);
  text-align: center;
}

.empty-state.show {
  display: block;
}

.detail-page {
  margin-bottom: 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
  color: var(--night-400);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gold-400);
}

.watch-panel {
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow-soft);
}

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

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

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.56));
  color: var(--night-950);
}

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

.play-layer span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(70px, 9vw, 108px);
  height: clamp(70px, 9vw, 108px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
  box-shadow: var(--shadow-glow);
  font-size: 36px;
  transform: translateX(3px);
}

.movie-detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  margin-top: 34px;
}

.detail-poster {
  position: sticky;
  top: 100px;
  align-self: start;
}

.detail-poster img {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.detail-copy {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(26, 26, 31, 0.72);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.detail-copy .lead {
  margin-top: 18px;
  color: var(--night-200);
  font-size: 19px;
}

.detail-meta,
.detail-tags {
  margin-top: 22px;
}

.detail-copy h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 24px;
}

.related-section {
  margin-top: 44px;
}

.movie-card.compact .card-body p {
  display: none;
}

.movie-card.compact .card-title {
  min-height: 42px;
}

.site-footer {
  margin-top: 82px;
  border-top: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(13, 13, 16, 0.78);
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--night-100);
  font-size: 16px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin-top: 8px;
  color: var(--night-400);
}

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(250, 204, 21, 0.1);
  color: var(--night-500);
  font-size: 14px;
}

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

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

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

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(250, 204, 21, 0.14);
    border-radius: 20px;
    background: rgba(13, 13, 16, 0.96);
  }

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

  .nav-link {
    padding: 13px 14px;
  }

  .hero-stage {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .hero-poster {
    width: min(240px, 72vw);
  }

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

  .rank-grid,
  .wide-rank,
  .category-list-page,
  .movie-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    position: static;
    max-width: 360px;
  }

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

@media (max-width: 640px) {
  main,
  .header-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1280px);
  }

  .brand-name {
    font-size: 17px;
  }

  .hero-stage {
    min-height: 700px;
    border-radius: 22px;
  }

  .hero-slide {
    padding: 28px 20px 72px;
  }

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

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

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

  .hero-arrow {
    display: none;
  }

  .hero-search {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }

  .section-heading {
    display: block;
  }

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

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

  .category-detail-card {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }

  .rank-item {
    grid-template-columns: 36px 56px 1fr;
    gap: 10px;
  }

  .rank-item img {
    width: 56px;
    height: 78px;
  }

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

  .detail-copy {
    padding: 22px;
  }
}

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

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

  .category-cover {
    width: 140px;
  }
}
