:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: rgba(30, 41, 59, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.18);
  --radius: 24px;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.14), transparent 28%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #fbbf24;
  color: #0f172a;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1200px, 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: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber-soft);
  color: #fbbf24;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.06em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  border-radius: 12px;
  color: var(--muted-strong);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fff;
  background: rgba(51, 65, 85, 0.64);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.5);
  color: var(--muted-strong);
  transition: 0.25s ease;
}

.icon-button:hover {
  color: #fff;
  background: rgba(71, 85, 105, 0.76);
}

.menu-toggle {
  display: none;
}

.site-search,
.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.site-search.open,
.mobile-nav.open {
  display: flex;
}

.site-search {
  gap: 10px;
}

.search-input,
.filter-input,
.search-page-input,
.search-page-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  outline: none;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 13px 16px;
}

.search-input:focus,
.filter-input:focus,
.search-page-input:focus,
.search-page-form input:focus {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.search-submit,
.search-page-form button,
.search-page-button,
.load-more-button {
  border: 0;
  border-radius: 14px;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  padding: 0 24px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.search-submit:hover,
.search-page-form button:hover,
.search-page-button:hover,
.load-more-button:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.mobile-nav {
  flex-direction: column;
  gap: 8px;
}

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

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

.home-shell {
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: #020617;
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 4s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.16)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.58) 32%, rgba(2, 6, 23, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin-left: max(16px, calc((100vw - 1200px) / 2));
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.72);
}

.hero-content h1 {
  margin: 18px 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-tags span,
.hero-term-row span,
.tag-row span,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--muted-strong);
  padding: 6px 12px;
  font-size: 13px;
}

.hero-tags span:first-child {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  padding: 0 24px;
  transition: 0.25s ease;
}

.primary-button {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.24);
}

.primary-button:hover {
  background: #d97706;
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(15, 23, 42, 0.36);
}

.ghost-button:hover {
  background: rgba(51, 65, 85, 0.64);
  transform: translateY(-2px);
}

.center-actions {
  justify-content: center;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: max(20px, calc((100vw - 1200px) / 2));
  display: flex;
  gap: 10px;
  transform: translateY(-50%);
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.54);
  color: #fff;
  font-size: 28px;
  transition: 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(245, 158, 11, 0.88);
}

.hero-thumbs {
  position: absolute;
  z-index: 6;
  right: max(20px, calc((100vw - 1200px) / 2));
  bottom: 36px;
  display: grid;
  width: min(420px, 42vw);
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.hero-thumb {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  padding: 0;
  transition: 0.25s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: #fbbf24;
  transform: translateY(-2px);
}

.hero-thumb img {
  width: 100%;
  height: 58px;
  object-fit: cover;
}

.hero-thumb span {
  display: block;
  overflow: hidden;
  padding: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-block,
.category-group,
.detail-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-dark {
  width: 100%;
  padding-left: max(16px, calc((100vw - 1200px) / 2));
  padding-right: max(16px, calc((100vw - 1200px) / 2));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0));
}

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

.section-heading h2,
.category-group h2,
.content-card h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.12;
}

.section-more {
  color: #fbbf24;
  font-weight: 800;
}

.section-more span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.section-more:hover span {
  transform: translateX(4px);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: rgba(30, 41, 59, 0.42);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(30, 41, 59, 0.68);
  box-shadow: 0 22px 70px rgba(245, 158, 11, 0.1);
}

.movie-card figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: #0f172a;
}

.movie-card figure img,
.featured-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.movie-card:hover figure img,
.featured-card:hover > img {
  transform: scale(1.08);
}

.card-body {
  padding: 18px;
}

.card-body h2,
.featured-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.movie-card:hover h2 {
  color: #fbbf24;
}

.card-body p,
.featured-copy p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  color: #94a3b8;
  font-size: 12px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.62);
  padding: 4px 8px;
}

.play-chip,
.year-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  background: rgba(245, 158, 11, 0.9);
  opacity: 0;
  transform: scale(0.9);
  transition: 0.25s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: scale(1);
}

.year-chip {
  left: 12px;
  bottom: 12px;
  min-height: 28px;
  background: rgba(2, 6, 23, 0.72);
  padding: 0 10px;
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 22px;
}

.feature-main .featured-card {
  height: 100%;
  min-height: 520px;
}

.feature-side,
.vertical-list {
  display: grid;
  gap: 16px;
}

.featured-card {
  display: block;
  min-height: 420px;
}

.featured-card > img,
.cover-shade {
  position: absolute;
  inset: 0;
}

.cover-shade {
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46), transparent);
}

.play-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: 0.25s ease;
}

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

.featured-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.featured-copy h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.wide-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 140px;
}

.wide-card figure {
  height: 100%;
  aspect-ratio: auto;
}

.wide-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-sections {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 72px 0;
}

.mini-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.54);
  padding: 28px;
}

.cta-section {
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.82));
  text-align: center;
  padding: 58px;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
}

.cta-section p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted-strong);
  line-height: 1.8;
}

.inner-page {
  min-height: 70vh;
}

.page-hero {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.compact-hero {
  padding: 84px 0 48px;
  text-align: center;
}

.compact-hero .section-kicker {
  margin: 0 auto;
}

.compact-hero h1 {
  margin: 16px auto 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.compact-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted-strong);
  line-height: 1.8;
}

.category-group {
  padding-top: 52px;
  padding-bottom: 20px;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0f172a;
}

.category-tile img,
.tile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.tile-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2));
}

.category-tile strong,
.category-tile small {
  position: absolute;
  z-index: 2;
  left: 18px;
}

.category-tile strong {
  bottom: 42px;
  font-size: 23px;
}

.category-tile small {
  bottom: 18px;
  color: var(--muted-strong);
}

.filter-panel,
.search-tools,
.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 150px;
  gap: 12px;
  margin-bottom: 28px;
}

.search-tools {
  grid-template-columns: minmax(0, 1fr) 180px 130px;
}

.search-page-form {
  width: min(720px, 100%);
  margin: 28px auto 0;
  grid-template-columns: minmax(0, 1fr) 120px;
}

.filter-select,
.search-page-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.64);
  color: var(--muted-strong);
}

.pagination a.active,
.pagination a:hover {
  border-color: var(--amber);
  color: #fff;
  background: var(--amber);
}

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

.ranking-lead .featured-card {
  min-height: 430px;
}

.ranking-list .wide-card {
  grid-template-columns: 220px minmax(0, 1fr);
}

.breadcrumb {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 34px;
  padding: 40px 0 36px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #0f172a;
}

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

.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-line {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
  padding: 14px;
}

.detail-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.detail-meta dd {
  margin: 6px 0 0;
  color: #fff;
  font-weight: 700;
}

.tag-cloud {
  margin-bottom: 24px;
}

.tag-cloud a:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.24);
}

.player-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.static-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36));
  color: #fff;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.static-player.playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  font-size: 32px;
  box-shadow: 0 18px 46px rgba(245, 158, 11, 0.28);
}

.player-overlay strong {
  font-size: clamp(24px, 4vw, 38px);
}

.player-overlay small {
  color: var(--muted-strong);
}

.player-message {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 4;
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.62);
  padding: 28px;
}

.content-card p {
  margin: 16px 0 0;
  color: var(--muted-strong);
  line-height: 1.95;
  text-align: justify;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-button {
  min-height: 46px;
}

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

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

.footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 16px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1024px) {
  .four-cols,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-cover {
    max-width: 420px;
  }

  .hero-thumbs {
    width: min(560px, calc(100% - 32px));
    right: 16px;
    left: 16px;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .header-inner {
    width: min(100% - 24px, 1200px);
  }

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

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

  .hero-slider {
    height: 760px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 84px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-controls {
    top: auto;
    right: 16px;
    bottom: 150px;
    transform: none;
  }

  .hero-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 20px;
  }

  .hero-thumb:nth-child(n + 5) {
    display: none;
  }

  .four-cols,
  .three-cols,
  .category-grid,
  .ranking-lead,
  .split-sections {
    grid-template-columns: 1fr;
  }

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

  .section-block,
  .category-group,
  .detail-content,
  .player-section,
  .detail-hero,
  .breadcrumb,
  .page-hero,
  .split-sections {
    width: min(100% - 24px, 1200px);
  }

  .wide-card,
  .ranking-list .wide-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .wide-card .card-body {
    padding: 14px;
  }

  .wide-card .card-body p,
  .wide-card .tag-row {
    display: none;
  }

  .filter-panel,
  .search-tools,
  .search-page-form {
    grid-template-columns: 1fr;
  }

  .filter-select,
  .search-page-select,
  .search-submit,
  .search-page-form button,
  .search-page-button {
    min-height: 46px;
  }

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

  .content-card {
    padding: 22px;
  }

  .footer-grid {
    width: min(100% - 24px, 1200px);
  }
}
