:root {
  --moonlight-950: #020617;
  --moonlight-900: #0f172a;
  --moonlight-850: #111c33;
  --moonlight-800: #1e293b;
  --moonlight-700: #334155;
  --lunar-50: #fafafa;
  --lunar-100: #f5f5f5;
  --lunar-200: #e5e5e5;
  --lunar-300: #d4d4d4;
  --lunar-400: #a3a3a3;
  --golden-300: #fcd34d;
  --golden-400: #fbbf24;
  --golden-500: #f59e0b;
  --golden-600: #d97706;
  --golden-900: #78350f;
  --panel-border: rgba(245, 158, 11, 0.22);
  --soft-border: rgba(148, 163, 184, 0.14);
  --shadow-lunar: 0 24px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.12), transparent 30rem),
    var(--moonlight-950);
  color: var(--lunar-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--golden-300), var(--golden-600));
  color: var(--moonlight-950);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.32);
}

.brand-text {
  background: linear-gradient(90deg, var(--golden-300), var(--golden-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-link {
  color: var(--lunar-300);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--golden-400);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(320px, 30vw);
}

.header-search input,
.mobile-search input,
.big-search input,
.search-tools input,
.search-tools select,
.filter-bar input {
  width: 100%;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--lunar-100);
  outline: none;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.search-tools input:focus,
.search-tools select:focus,
.filter-bar input:focus {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-button {
  background: linear-gradient(135deg, var(--golden-400), var(--golden-600));
  color: var(--moonlight-950);
  padding: 0 18px;
}

.ghost-button {
  border: 1px solid rgba(245, 158, 11, 0.38);
  background: rgba(15, 23, 42, 0.6);
  color: var(--golden-300);
  padding: 0 18px;
}

.primary-button:hover,
.ghost-button:hover,
.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  transform: translateY(-1px);
}

.primary-button.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--lunar-100);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  padding: 12px 16px 18px;
  background: rgba(15, 23, 42, 0.98);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

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

.hero-backdrop,
.detail-hero::before,
.category-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.7) 48%, rgba(2, 6, 23, 0.86) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.18) 60%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
  min-height: 72vh;
  padding: 72px 0;
}

.hero-copy h1,
.page-hero h1,
.category-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--lunar-50);
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.category-hero p,
.detail-one-line {
  max-width: 760px;
  color: var(--lunar-300);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.34);
  color: var(--golden-300);
  padding: 6px 12px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-tags,
.genre-pills,
.tag-row,
.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.genre-pills span,
.tag-row span,
.quick-tags a {
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.72);
  color: var(--lunar-200);
  padding: 6px 10px;
  font-size: 0.84rem;
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow-lunar);
  transform: rotate(1deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: var(--golden-300);
  padding: 8px 12px;
  font-weight: 700;
}

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

.hero-dots button {
  width: 30px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.3);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--golden-400);
}

.quick-search-panel {
  margin-top: -34px;
  position: relative;
  z-index: 5;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-lunar);
  padding: 18px;
}

.big-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.quick-tags {
  margin-top: 14px;
}

.content-section,
.categories-stack,
.player-section,
.detail-content-grid {
  margin-top: 64px;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--lunar-50);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--lunar-400);
}

.section-more {
  color: var(--golden-300);
  font-weight: 800;
}

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

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

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

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

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  border-color: rgba(245, 158, 11, 0.56);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  transform: translateY(-4px);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: rgba(30, 41, 59, 0.75);
}

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

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

.poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.poster-overlay span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: var(--moonlight-950);
  font-weight: 900;
}

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

.type-badge,
.rating-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
}

.type-badge {
  top: 10px;
  left: 10px;
  background: rgba(120, 53, 15, 0.84);
  color: var(--golden-300);
}

.rating-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
}

.movie-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.movie-card-body strong {
  overflow: hidden;
  display: -webkit-box;
  color: var(--lunar-100);
  font-size: 0.98rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.movie-desc {
  color: var(--lunar-400);
  font-size: 0.82rem;
}

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

.tag-row span {
  background: rgba(120, 53, 15, 0.28);
  color: var(--golden-300);
  padding: 3px 7px;
  font-size: 0.73rem;
}

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

.category-tile {
  position: relative;
  display: grid;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  background-image:
    linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.45)),
    var(--tile-image);
  background-position: center;
  background-size: cover;
  padding: 22px;
  align-content: end;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  border-color: rgba(245, 158, 11, 0.7);
  transform: translateY(-3px);
}

.category-tile span {
  color: var(--golden-300);
  font-weight: 900;
}

.category-tile strong {
  color: var(--lunar-50);
  font-size: 1.8rem;
}

.category-tile em {
  color: var(--lunar-300);
  font-style: normal;
  font-size: 0.9rem;
}

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

.ranking-panel,
.detail-side,
.category-overview-card {
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.ranking-panel {
  padding: 18px;
}

.sticky-panel {
  position: sticky;
  top: 88px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-title span {
  color: var(--lunar-100);
  font-weight: 900;
  font-size: 1.1rem;
}

.panel-title a {
  color: var(--golden-300);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.rank-card a {
  position: relative;
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
  padding: 10px;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.rank-card a:hover {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(30, 41, 59, 0.44);
}

.rank-card img {
  width: 86px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.rank-number {
  color: var(--golden-300);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.rank-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.rank-info strong {
  overflow: hidden;
  color: var(--lunar-100);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em,
.rank-info span {
  overflow: hidden;
  color: var(--lunar-400);
  font-style: normal;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--golden-300);
  font-weight: 900;
}

.page-hero {
  padding: 70px 0 18px;
}

.slim-hero h1 {
  max-width: 820px;
}

.category-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.category-hero-inner,
.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0;
}

.category-hero h1 {
  max-width: 820px;
}

.filter-bar,
.search-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.62);
  padding: 16px;
}

.filter-bar label,
.search-tools label {
  display: grid;
  gap: 8px;
  color: var(--lunar-300);
  font-size: 0.9rem;
}

.filter-bar label,
.search-tools .wide-field {
  flex: 1;
}

.search-tools {
  align-items: center;
}

.search-tools select {
  border-radius: 14px;
}

.category-overview-card {
  overflow: hidden;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.category-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 210px;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.45)),
    var(--tile-image);
  background-position: center;
  background-size: cover;
  padding: 28px;
}

.category-overview-head span {
  color: var(--golden-300);
  font-weight: 900;
}

.category-overview-head h2 {
  margin: 6px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.category-overview-head p {
  max-width: 680px;
  margin: 0;
  color: var(--lunar-300);
}

.category-overview-card .movie-grid {
  padding: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--lunar-300);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--golden-300);
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow-lunar);
}

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

.detail-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--golden-300);
  padding: 8px 12px;
  font-weight: 900;
}

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

.detail-meta-grid span {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
  padding: 12px;
  color: var(--lunar-200);
}

.detail-meta-grid strong {
  color: var(--golden-300);
  font-size: 0.78rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-lunar);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(2, 6, 23, 0.72));
  color: var(--lunar-50);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--golden-300), var(--golden-600));
  color: var(--moonlight-950);
  font-size: 2rem;
  box-shadow: 0 20px 58px rgba(245, 158, 11, 0.36);
}

.player-overlay strong {
  font-size: 1.35rem;
}

.player-overlay em {
  color: var(--lunar-300);
  font-style: normal;
}

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

.detail-article,
.detail-side {
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.62);
  padding: 24px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--lunar-50);
}

.detail-article h2:not(:first-child),
.detail-side h2:not(:first-child) {
  margin-top: 26px;
}

.detail-article p {
  margin: 0;
  color: var(--lunar-300);
  font-size: 1.02rem;
}

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

.tag-cloud a {
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.32);
  color: var(--golden-300);
  padding: 7px 10px;
  font-size: 0.86rem;
}

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

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  padding-bottom: 10px;
}

.info-list span {
  color: var(--lunar-400);
}

.info-list strong {
  color: var(--lunar-100);
  text-align: right;
}

.site-footer {
  margin-top: 76px;
  border-top: 1px solid rgba(30, 41, 59, 0.95);
  background: rgba(15, 23, 42, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
  padding: 42px 0;
}

.footer-grid p,
.footer-links a,
.footer-bottom {
  color: var(--lunar-400);
  font-size: 0.92rem;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--lunar-100);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--golden-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(30, 41, 59, 0.75);
  padding: 18px 0;
}

.is-hidden {
  display: none !important;
}

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

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

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

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero-poster,
  .detail-poster {
    width: min(280px, 78vw);
  }

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

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

  .filter-bar,
  .search-tools,
  .category-overview-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content,
  .category-hero-inner,
  .detail-hero-inner {
    padding: 46px 0;
  }

  .big-search {
    grid-template-columns: 1fr;
  }

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

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

  .rank-card a {
    grid-template-columns: auto 68px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .rank-card img {
    width: 68px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
