:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --amber-400: #fbbf24;
  --rose-500: #f43f5e;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.10);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50), #ffffff);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--slate-800), var(--slate-700), var(--slate-800));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
}

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

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

.brand-icon,
.footer-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-700));
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-copy em {
  margin-top: 3px;
  font-size: 12px;
  color: #7dd3fc;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mobile-link {
  border-radius: var(--radius-sm);
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: var(--sky-600);
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
  display: none;
  padding: 8px 16px 14px;
  background: var(--slate-700);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-link {
  padding: 10px 12px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-stage {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 900ms ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(14, 165, 233, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.68) 46%, rgba(15, 23, 42, 0.08)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.50), transparent 44%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(680px, calc(100% - 64px));
  transform: translateY(-50%);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sky-500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: var(--sky-400);
}

.hero h1,
.page-hero h1,
.detail-card h1 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero-summary {
  margin: 24px 0 22px;
  max-width: 620px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-cloud span,
.detail-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #dff6ff;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.28);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.section-more,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  padding: 14px 26px;
  color: #ffffff;
  background: var(--sky-600);
  box-shadow: 0 18px 35px rgba(2, 132, 199, 0.35);
}

.primary-button:hover {
  background: var(--sky-700);
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  padding: 13px 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 132px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-arrow,
.rail-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover,
.rail-button:hover {
  background: var(--sky-600);
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 180ms ease, background 180ms ease;
}

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

.hero-rail {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  transform: translateX(-50%);
}

.hero-mini-card {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.22);
}

.hero-mini-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  opacity: 0.72;
}

.hero-mini-card span {
  position: absolute;
  inset: auto 12px 10px;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.content-section {
  padding: 68px 0;
}

.white-section {
  background: #ffffff;
}

.soft-section {
  background: linear-gradient(180deg, var(--gray-50), #ffffff);
}

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

.section-heading h2,
.rank-panel h2,
.side-box h2,
.text-block h2 {
  margin: 0;
  color: var(--gray-900);
  line-height: 1.2;
}

.section-heading h2,
.rank-panel h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.section-more,
.panel-link {
  min-width: max-content;
  padding: 10px 16px;
  color: var(--sky-700);
  background: var(--sky-50);
}

.section-more:hover,
.panel-link:hover {
  color: #ffffff;
  background: var(--sky-600);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--slate-800);
}

.movie-card-large .poster-link {
  height: 300px;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

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

.poster-shade,
.tile-shade,
.category-cover span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, 0.74));
}

.card-region,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(2, 6, 23, 0.20);
}

.card-region {
  left: 12px;
  padding: 5px 10px;
  background: var(--sky-600);
}

.rank-badge {
  right: 12px;
  width: 30px;
  height: 30px;
  justify-content: center;
  background: var(--rose-500);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.rank-row:hover .rank-title,
.rank-card h2 a:hover,
.category-card h2 a:hover {
  color: var(--sky-700);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 650;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #cbd5e1;
}

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

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

.category-tile img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.category-tile strong {
  bottom: 48px;
  font-size: 22px;
}

.category-tile em {
  bottom: 16px;
  color: #dbeafe;
  font-size: 13px;
  font-style: normal;
}

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

.rank-panel,
.detail-card,
.side-box,
.category-card,
.rank-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.rank-panel {
  position: sticky;
  top: 90px;
  padding: 24px;
}

.rank-list {
  display: grid;
  gap: 6px;
  margin: 18px 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: background 180ms ease, transform 180ms ease;
}

.rank-row:hover {
  background: var(--sky-50);
  transform: translateX(3px);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--slate-800);
  font-weight: 850;
}

.rank-row:nth-child(-n+3) .rank-num {
  background: var(--sky-600);
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-info {
  grid-column: 2;
  color: var(--gray-500);
  font-size: 13px;
}

.rail-shell {
  position: relative;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.movie-rail .movie-card {
  scroll-snap-align: start;
}

.rail-button {
  position: absolute;
  top: 38%;
  z-index: 5;
  color: var(--slate-900);
  background: #ffffff;
}

.rail-button:first-child {
  left: -18px;
}

.rail-button:last-child {
  right: -18px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.search-box {
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.search-box span {
  color: var(--sky-600);
  font-size: 20px;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--gray-900);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--gray-700);
  background: #ffffff;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
  color: #ffffff;
  background: var(--sky-600);
}

.page-main {
  background: var(--gray-50);
}

.page-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.30), transparent 32%),
    linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

.slim-hero {
  padding: 74px 0;
}

.rank-hero {
  padding: 92px 0;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 750;
}

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

.category-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
}

.category-cover {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: var(--slate-800);
}

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

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

.category-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 18px;
  color: var(--gray-600);
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sky-700);
  background: var(--sky-50);
  font-size: 13px;
  font-weight: 750;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.rank-poster {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--slate-800);
}

.rank-poster img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.rank-poster span {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--sky-600);
  font-weight: 900;
}

.rank-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-card p {
  margin: 0 0 12px;
  color: var(--gray-600);
}

.detail-main {
  background: var(--gray-50);
}

.player-wrap {
  background: #000000;
}

.player-container {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.26);
  transition: opacity 180ms ease, background 180ms ease;
}

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

.play-layer span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 50%;
  background: var(--sky-600);
  box-shadow: 0 18px 44px rgba(2, 132, 199, 0.42);
  font-size: 38px;
  transition: background 180ms ease, transform 180ms ease;
}

.play-layer:hover {
  background: rgba(0, 0, 0, 0.34);
}

.play-layer:hover span {
  background: var(--sky-700);
  transform: scale(1.04);
}

.detail-section {
  padding-top: 52px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.detail-card {
  padding: 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--sky-700);
}

.breadcrumb em {
  color: var(--gray-700);
  font-style: normal;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-meta-row span {
  color: var(--sky-700);
  background: var(--sky-100);
}

.detail-card h1 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 54px);
}

.text-block {
  padding: 26px 0;
  border-top: 1px solid var(--gray-200);
}

.text-block h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.text-block p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.lead-text {
  color: var(--gray-900) !important;
  font-size: 20px !important;
  font-style: italic;
}

.tag-cloud span {
  color: var(--gray-700);
  background: var(--gray-100);
}

.detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail-pager a {
  display: block;
  overflow: hidden;
  padding: 14px;
  border-radius: var(--radius-md);
  color: var(--sky-700);
  background: var(--sky-50);
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-pager a:hover {
  color: #ffffff;
  background: var(--sky-600);
}

.detail-side {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.side-poster {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-800);
  box-shadow: var(--shadow-card);
}

.side-poster img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.side-box {
  padding: 22px;
}

.side-box h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.side-related {
  display: grid;
  gap: 8px;
}

.side-related a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
}

.side-related a:hover {
  background: var(--sky-50);
}

.side-related span {
  font-weight: 800;
}

.side-related em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 19px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  max-width: 460px;
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  transition: color 180ms ease;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  text-align: center;
  font-size: 13px;
}

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

@media (max-width: 1120px) {
  .library-grid,
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .rank-panel,
  .detail-side {
    position: static;
  }
}

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

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .hero-stage,
  .hero-image {
    min-height: 640px;
  }

  .hero-content {
    top: 43%;
  }

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

  .hero-controls {
    bottom: 216px;
  }

  .section-heading,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid,
  .category-grid,
  .category-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .category-cover,
  .rank-poster img {
    height: 220px;
  }

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

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy em {
    font-size: 11px;
  }

  .hero,
  .hero-stage,
  .hero-image {
    min-height: 690px;
  }

  .hero-content {
    left: 18px;
    width: calc(100% - 36px);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-mini-card:nth-child(n+3) {
    display: none;
  }

  .hero-controls {
    bottom: 206px;
  }

  .content-section {
    padding: 48px 0;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid,
  .category-grid,
  .category-list-grid {
    grid-template-columns: 1fr;
  }

  .poster-link {
    height: 260px;
  }

  .detail-card {
    padding: 22px;
  }

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

  .side-poster img {
    height: 360px;
  }
}
