:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #1e293b;
  --bg-card-2: #334155;
  --line: rgba(245, 158, 11, 0.22);
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --emerald: #34d399;
  --rose: #fb7185;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --orange: #fb923c;
  --lime: #a3e635;
  --pink: #f472b6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(245, 158, 11, 0.18), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(34, 211, 238, 0.12), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
}

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: 60;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-2);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
}

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

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

.nav-link,
.mobile-nav-link {
  color: #cbd5e1;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  outline: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.85);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.header-search button,
.big-search button,
.button {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.big-search button {
  padding: 12px 16px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
}

.header-search button:hover,
.big-search button:hover,
.button:hover {
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 20px;
  border-top: 1px solid var(--line-soft);
}

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

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(120, 53, 15, 0.28), rgba(2, 6, 23, 0.96)),
    radial-gradient(circle at 20% 26%, rgba(245, 158, 11, 0.24), transparent 30%);
  z-index: 2;
  pointer-events: none;
}

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

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 3;
}

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

.hero-backdrop {
  width: 100vw;
  left: 50%;
  right: auto;
  margin-left: -50vw;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(1.15);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--amber-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-heading h1 {
  margin: 0;
  color: var(--amber-2);
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-heading p {
  max-width: 760px;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.hero-meta span,
.tag-row span,
.movie-meta-line span,
.year-badge,
.rank-corner,
.detail-cover span,
.list-rank {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-meta span {
  padding: 9px 13px;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid var(--line-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.28);
}

.button-ghost {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid var(--line-soft);
}

.hero-cover {
  position: relative;
  z-index: 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
}

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

.hero-cover:hover img {
  transform: scale(1.06);
}

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

.hero-dot {
  width: 38px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(226, 232, 240, 0.28);
}

.hero-dot.is-active {
  background: var(--amber-2);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.stats-strip div,
.content-card,
.info-card,
.player-card,
.filter-panel,
.rank-sidebar,
.category-card,
.movie-card,
.horizontal-card {
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.stats-strip div {
  border-radius: 20px;
  padding: 24px;
}

.stats-strip strong {
  display: block;
  color: var(--amber-2);
  font-size: 34px;
}

.stats-strip span {
  color: var(--muted);
}

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

.section-band {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.28), rgba(30, 41, 59, 0.74));
  border-block: 1px solid var(--line-soft);
}

.hot-band {
  margin-bottom: -20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 4vw, 38px);
}

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

.section-title > a {
  margin-left: auto;
  color: var(--amber-2);
  font-weight: 800;
}

.section-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.9);
  font-size: 22px;
}

.section-icon.amber { color: var(--amber-2); }
.section-icon.emerald { color: var(--emerald); }
.section-icon.rose { color: var(--rose); }
.section-icon.cyan { color: var(--cyan); }

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

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

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

.movie-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 24px 58px rgba(245, 158, 11, 0.13);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent);
}

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  color: #111827;
  background: var(--amber-2);
  z-index: 2;
}

.rank-corner {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), #e11d48);
  z-index: 2;
}

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

.movie-card h3 {
  margin: 0 0 10px;
  color: var(--amber-2);
  font-size: 18px;
  line-height: 1.35;
}

.movie-card p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.movie-meta-line span {
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.58);
}

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

.tag-row span {
  padding: 7px 10px;
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.82);
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  min-height: 150px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.horizontal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.42);
}

.horizontal-card img {
  width: 150px;
  height: 100%;
  object-fit: cover;
}

.horizontal-card div {
  padding: 18px 18px 18px 0;
}

.horizontal-card h3 {
  margin: 0 0 8px;
  color: var(--emerald);
  font-size: 18px;
}

.horizontal-card p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: #cbd5e1;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.horizontal-card span {
  color: var(--muted-2);
  font-size: 13px;
}

.list-rank {
  float: right;
  padding: 5px 9px;
  color: #111827;
  background: var(--amber-2);
}

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

.category-pill-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 18px;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-pill-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
}

.category-pill-grid span {
  color: var(--amber-2);
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 20%, rgba(245, 158, 11, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.72));
}

.small-hero {
  padding: 78px 0 70px;
}

.category-hero.accent-rose { background: radial-gradient(circle at 18% 18%, rgba(251, 113, 133, 0.23), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-cyan { background: radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.2), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-pink { background: radial-gradient(circle at 18% 18%, rgba(244, 114, 182, 0.2), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-violet { background: radial-gradient(circle at 18% 18%, rgba(167, 139, 250, 0.21), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-emerald { background: radial-gradient(circle at 18% 18%, rgba(52, 211, 153, 0.2), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-orange { background: radial-gradient(circle at 18% 18%, rgba(251, 146, 60, 0.2), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-blue { background: radial-gradient(circle at 18% 18%, rgba(96, 165, 250, 0.2), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }
.category-hero.accent-lime { background: radial-gradient(circle at 18% 18%, rgba(163, 230, 53, 0.17), transparent 28%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)); }

.rank-hero {
  background:
    radial-gradient(circle at 24% 24%, rgba(251, 113, 133, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.4));
}

.search-hero {
  background:
    radial-gradient(circle at 28% 24%, rgba(34, 211, 238, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 47, 73, 0.38));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.category-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
}

.category-card a {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 230px;
}

.category-card-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #111827;
}

.category-card-covers img {
  width: 100%;
  height: 115px;
  object-fit: cover;
}

.category-card-body {
  padding: 28px;
}

.category-card-body span {
  color: var(--amber-2);
  font-weight: 900;
}

.category-card-body h2 {
  margin: 12px 0;
  font-size: 30px;
}

.category-card-body p {
  color: var(--muted);
  line-height: 1.75;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 22px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.filter-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-grid label:first-child {
  grid-column: span 2;
}

.filter-result,
.search-summary {
  margin-top: 16px;
  color: var(--amber-2);
  font-weight: 800;
}

.rank-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  padding: 56px 0;
}

.rank-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 20px;
  border-radius: 22px;
}

.rank-sidebar h2 {
  margin: 0 0 18px;
  color: var(--rose);
}

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

.rank-list .horizontal-card {
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 112px;
  background: rgba(15, 23, 42, 0.68);
}

.rank-list .horizontal-card img {
  width: 86px;
}

.rank-list .horizontal-card div {
  padding: 12px 12px 12px 0;
}

.rank-list .horizontal-card h3 {
  font-size: 15px;
}

.rank-list .horizontal-card p {
  display: none;
}

.detail-hero {
  background-size: cover;
  background-position: center;
  padding: 56px 0 72px;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-hero-inner .breadcrumb {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-cover span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 11px;
  color: #111827;
  background: var(--amber-2);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 56px 0 0;
}

.player-card,
.content-card,
.info-card {
  border-radius: 22px;
  overflow: hidden;
}

.player-card {
  margin-bottom: 24px;
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.84));
  border: 0;
  cursor: pointer;
  z-index: 2;
}

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

.play-circle {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  box-shadow: 0 18px 48px rgba(245, 158, 11, 0.38);
  font-size: 32px;
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay em {
  color: #cbd5e1;
  font-style: normal;
}

.content-card,
.info-card {
  padding: 26px;
  margin-bottom: 24px;
}

.content-card h2,
.info-card h2 {
  margin: 0 0 16px;
  color: var(--amber-2);
  font-size: 24px;
}

.content-card p,
.content-card blockquote {
  margin: 0;
  color: #d1d5db;
  line-height: 1.95;
  font-size: 16px;
  white-space: pre-line;
}

.content-card blockquote {
  padding-left: 18px;
  border-left: 4px solid var(--amber);
  font-style: italic;
}

.detail-side {
  position: relative;
}

.info-card {
  position: sticky;
  top: 92px;
}

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

.info-card dt {
  color: var(--muted-2);
}

.info-card dd {
  margin: 0;
  color: #e2e8f0;
}

.info-card a {
  color: var(--amber-2);
}

.detail-tags {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.big-search {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.search-summary {
  min-height: 28px;
  margin-bottom: 20px;
}

.site-footer {
  margin-top: 72px;
  background: rgba(2, 6, 23, 0.92);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--amber-2);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

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

.footer-grid a:hover {
  color: var(--amber-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none;
}

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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

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

  .rank-sidebar,
  .info-card {
    position: static;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 760px;
  }

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

  .hero-cover {
    width: min(260px, 72vw);
    margin: 0 auto;
  }

  .stats-strip,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .horizontal-grid,
  .category-pill-grid,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .filter-grid label:first-child {
    grid-column: span 2;
  }

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

  .detail-heading h1 {
    font-size: 36px;
  }
}

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

  .logo-text {
    font-size: 18px;
  }

  .hero {
    min-height: 720px;
  }

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

  .hero p,
  .page-hero p,
  .detail-heading p {
    font-size: 16px;
  }

  .stats-strip,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .horizontal-grid,
  .category-pill-grid,
  .category-grid,
  .footer-grid,
  .filter-grid,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .filter-grid label:first-child {
    grid-column: span 1;
  }

  .horizontal-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .horizontal-card img {
    width: 112px;
  }

  .section-title {
    align-items: flex-start;
  }

  .section-title > a {
    display: none;
  }

  .big-search {
    flex-direction: column;
  }

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