:root {
  --bg: #0f1419;
  --bg-soft: #151d27;
  --bg-panel: rgba(21, 29, 39, 0.86);
  --card: #1b2430;
  --card-strong: #212d3d;
  --border: rgba(148, 163, 184, 0.18);
  --text: #ffffff;
  --muted: #a7b0bf;
  --muted-strong: #cbd5e1;
  --primary: #9333ea;
  --primary-light: #d8b4fe;
  --accent: #f97316;
  --danger: #ef4444;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 30px rgba(147, 51, 234, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(147, 51, 234, 0.24), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(249, 115, 22, 0.16), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--glow);
}

.brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-link,
.mobile-nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 9px 12px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: rgba(147, 51, 234, 0.18);
  color: #fff;
}

.header-search,
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.header-search {
  flex: 0 1 330px;
}

.header-search input,
.hero-search input,
.filter-field input,
.filter-field select {
  width: 100%;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
}

.header-search input,
.hero-search input {
  min-width: 0;
  padding: 8px 10px 8px 14px;
}

.header-search input::placeholder,
.hero-search input::placeholder,
.filter-field input::placeholder {
  color: rgba(203, 213, 225, 0.58);
}

.header-search button,
.hero-search button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-search button,
.hero-search button,
.primary-button {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  box-shadow: 0 14px 30px rgba(147, 51, 234, 0.24);
}

.header-search button,
.hero-search button {
  padding: 8px 16px;
}

.primary-button,
.ghost-button {
  min-height: 46px;
  padding: 0 20px;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.primary-button:hover,
.header-search button:hover,
.hero-search button:hover {
  filter: brightness(1.08);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav-link {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-section {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  min-height: 620px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 20, 25, 0.96), rgba(15, 20, 25, 0.72) 44%, rgba(15, 20, 25, 0.18)),
    linear-gradient(0deg, rgba(15, 20, 25, 0.86), rgba(15, 20, 25, 0.05) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 48px));
  padding: 88px 0 0 58px;
}

.hero-kicker,
.page-kicker {
  margin: 0 0 14px;
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-content p {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}

.hero-tags,
.detail-tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.16);
  color: #efe3ff;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  padding: 4px 11px;
}

.mini-tags span {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 12px;
}

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

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 58px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 38px;
  background: #fff;
}

.hero-side-card {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 34px;
  width: min(390px, calc(100% - 68px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(15, 20, 25, 0.68);
  backdrop-filter: blur(18px);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-side-card h2,
.panel-heading h2,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.hero-side-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

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

.hero-chip-grid a,
.category-card,
.category-overview-card a {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-chip-grid a {
  padding: 10px 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.hero-chip-grid a:hover,
.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 180, 254, 0.46);
  background: rgba(147, 51, 234, 0.18);
}

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

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

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

.section-heading a,
.panel-heading a {
  color: var(--primary-light);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 180, 254, 0.48);
  box-shadow: var(--shadow), var(--glow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #101720;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

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

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

.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
  backdrop-filter: blur(8px);
}

.card-content {
  padding: 14px;
}

.card-content h2 {
  margin: 0;
  display: -webkit-box;
  min-height: 1.4em;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.card-content h2 a:hover {
  color: var(--primary-light);
}

.card-meta,
.card-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card-desc {
  display: -webkit-box;
  min-height: 2.9em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-tags {
  margin-top: 12px;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: stretch;
}

.horizontal-card .poster-link {
  aspect-ratio: auto;
  height: 100%;
  min-height: 168px;
}

.horizontal-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.horizontal-card .card-content h2 {
  -webkit-line-clamp: 2;
}

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

.ranking-panel,
.filter-bar,
.detail-content article,
.search-status {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.ranking-panel {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 100px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.rank-item:hover {
  background: rgba(147, 51, 234, 0.16);
}

.rank-number {
  color: var(--primary-light);
  font-size: 18px;
  font-weight: 950;
  text-align: center;
}

.rank-item img {
  width: 54px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

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

.rank-item strong {
  color: #fff;
  font-size: 14px;
}

.rank-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.category-card,
.category-overview-card a {
  display: block;
  padding: 22px;
}

.category-card span,
.category-overview-card h2 {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

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

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-samples span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 12px;
  padding: 4px 9px;
}

.page-shell {
  padding-top: 26px;
}

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

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

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 0%, rgba(249, 115, 22, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(147, 51, 234, 0.20), rgba(255, 255, 255, 0.045));
  padding: 34px;
  box-shadow: var(--shadow);
}

.compact-hero,
.category-hero,
.ranking-hero {
  margin-bottom: 28px;
}

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

.page-hero p:not(.page-kicker) {
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
}

.filter-field input,
.filter-field select {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 13px;
}

.filter-field select option {
  color: #0f1419;
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 0%, rgba(147, 51, 234, 0.26), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  padding: 30px;
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-lead {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 19px;
}

.detail-tags {
  margin-top: 20px;
}

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

.fact-grid div {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 14px;
}

.fact-grid dt {
  color: var(--muted);
  font-size: 13px;
}

.fact-grid dd {
  margin: 4px 0 0;
  color: #fff;
  font-weight: 900;
}

.player-section {
  padding-top: 42px;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: #020617;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  filter: blur(1px) saturate(1.1);
}

.player-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle, rgba(147, 51, 234, 0.14), rgba(2, 6, 23, 0.72));
}

.play-icon,
.player-cover strong {
  position: relative;
  z-index: 2;
}

.play-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 34px;
  box-shadow: 0 18px 52px rgba(147, 51, 234, 0.42);
}

.player-cover strong {
  margin-top: 112px;
  font-size: 20px;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 34px;
}

.detail-content article {
  padding: 24px;
}

.detail-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 950;
}

.detail-content p {
  margin: 0;
  color: var(--muted-strong);
}

.ranking-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.ranking-spotlight a {
  position: relative;
  display: block;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

.ranking-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.ranking-spotlight a::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(15, 20, 25, 0.94), transparent 60%);
}

.ranking-spotlight div,
.rank-crown {
  position: absolute;
  z-index: 2;
}

.rank-crown {
  top: 18px;
  left: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 950;
  padding: 6px 12px;
}

.ranking-spotlight div {
  right: 20px;
  bottom: 20px;
  left: 20px;
}

.ranking-spotlight h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 950;
}

.ranking-spotlight p {
  margin: 8px 0 0;
  color: var(--muted-strong);
}

.search-status {
  margin-bottom: 22px;
  padding: 16px 18px;
  color: var(--muted-strong);
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 17, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 38px 0;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 14px;
}

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

  .nav-toggle {
    display: block;
  }

  .header-search {
    margin-left: auto;
  }

  .movie-grid,
  .listing-grid,
  .home-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 66px;
  }

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

  .header-search {
    display: none;
  }

  .hero-section {
    min-height: 760px;
    border-radius: 26px;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 58px 0 0 28px;
  }

  .hero-side-card {
    right: 20px;
    bottom: 76px;
    left: 20px;
    width: auto;
  }

  .hero-dots {
    left: 28px;
    bottom: 30px;
  }

  .page-hero,
  .filter-bar,
  .footer-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .listing-grid,
  .home-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 560px) {
  .site-container,
  .hero-section,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    min-height: 730px;
    margin-top: 16px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 40px;
  }

  .hero-content p,
  .page-hero p:not(.page-kicker),
  .detail-lead {
    font-size: 16px;
  }

  .hero-chip-grid,
  .movie-grid,
  .listing-grid,
  .home-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-spotlight-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-hero {
    padding: 22px;
    border-radius: 24px;
  }

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

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

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