:root {
  --amber: #d97706;
  --amber-light: #f59e0b;
  --orange: #f97316;
  --red: #ef4444;
  --dark: #0f172a;
  --slate: #1e293b;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #111827;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 55%, #f8fafc 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.home-page .site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0));
}

.inner-page .site-header,
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--red));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.brand-name {
  color: #ffffff;
  font-size: 22px;
  transition: color 0.3s ease;
}

.inner-page .brand-name,
.site-header.is-scrolled .brand-name,
body.nav-open .brand-name {
  color: var(--dark);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.inner-page .nav-link,
.site-header.is-scrolled .nav-link,
body.nav-open .nav-link {
  color: #334155;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.inner-page .mobile-toggle,
.site-header.is-scrolled .mobile-toggle,
body.nav-open .mobile-toggle {
  background: #fff7ed;
}

.inner-page .mobile-toggle span,
.site-header.is-scrolled .mobile-toggle span,
body.nav-open .mobile-toggle span {
  background: var(--dark);
}

body.nav-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0 18px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
}

.mobile-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: #334155;
  font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
}

.home-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #92400e 0%, #c2410c 42%, #991b1b 100%);
}

.hero-bg-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(25px);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-track {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 54px;
  padding: 120px 0 84px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  font-weight: 700;
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn,
.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.28);
}

.primary-btn:hover,
.filter-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(217, 119, 6, 0.34);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

.ghost-btn.dark {
  color: var(--dark);
  border-color: var(--line);
  background: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  width: min(420px, 100%);
  justify-self: end;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.42);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 26px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.stat-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  min-height: 108px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  color: var(--dark);
  font-size: 28px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

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

.section-title h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 800;
  white-space: nowrap;
}

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

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

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

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.card-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111827;
}

.card-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.card-type,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(217, 119, 6, 0.92);
}

.card-type {
  left: 12px;
}

.rank-badge {
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  backdrop-filter: blur(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.card-body {
  padding: 18px;
}

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

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

.card-body h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 8px 0;
  overflow: hidden;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  font-size: 12px;
  font-weight: 800;
}

.large-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
}

.large-card .card-cover img {
  height: 100%;
  aspect-ratio: auto;
}

.large-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.large-card .card-body h3 {
  min-height: auto;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.large-card .card-body p {
  min-height: auto;
  font-size: 16px;
  -webkit-line-clamp: 4;
}

.warm-band {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 45%, #ffffff 100%);
}

.band-inner {
  padding-top: 64px;
  padding-bottom: 64px;
}

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

.category-tile,
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile {
  min-height: 180px;
  padding: 24px;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.category-tile h3,
.category-card h2 {
  margin: 14px 0 10px;
  color: var(--dark);
  font-size: 22px;
}

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

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

.category-card.big {
  min-height: 280px;
}

.category-card.big img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: saturate(1.05);
}

.category-card.big div {
  padding: 22px;
}

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

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(145deg, #111827, #1e293b);
  box-shadow: var(--shadow);
}

.ranking-head span {
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ranking-head h2 {
  margin: 4px 0 18px;
  font-size: 30px;
}

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

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

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

.rank-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  white-space: nowrap;
}

.rank-row em {
  display: block;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-num {
  color: #fbbf24;
  font-weight: 900;
  text-align: center;
}

.wide {
  width: 100%;
}

.page-hero {
  position: relative;
  padding: 150px 0 74px;
  color: #ffffff;
  background: radial-gradient(circle at 85% 20%, rgba(251, 191, 36, 0.34), transparent 32%), linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #7c2d12 100%);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 52px 52px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  margin: 22px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 170px 170px 170px auto;
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.search-box input,
.filter-select {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--dark);
  background: #f8fafc;
  outline: 0;
  transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-box input:focus,
.filter-select:focus {
  border-color: var(--amber-light);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-reset {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
}

.empty-state {
  display: none;
  padding: 34px;
  border-radius: 24px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.empty-state.show {
  display: block;
}

.detail-hero {
  position: relative;
  min-height: 670px;
  padding: 120px 0 70px;
  color: #ffffff;
  overflow: hidden;
  background: var(--dark);
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(6px);
  transform: scale(1.04);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.38));
}

.detail-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: #cbd5e1;
  font-size: 14px;
}

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

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

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.detail-copy p {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-tags span {
  color: #fffbeb;
  background: rgba(251, 191, 36, 0.16);
}

.watch-section {
  padding-top: 44px;
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
  cursor: pointer;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.76));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-cover span {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  box-shadow: 0 18px 46px rgba(245, 158, 11, 0.28);
  font-size: 34px;
}

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

.player-info {
  padding: 24px 28px 28px;
  color: #ffffff;
}

.player-info h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.player-info p {
  margin: 0;
  color: #cbd5e1;
}

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

.story-card,
.prose-card {
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.story-card h2,
.prose-card h2 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: 26px;
}

.story-card p,
.prose-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.prose-card {
  max-width: 920px;
}

.prose-card p + h2 {
  margin-top: 26px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.site-footer {
  margin-top: 30px;
  color: #e2e8f0;
  background: linear-gradient(145deg, #0f172a, #1e293b);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-logo .brand-name {
  color: #ffffff;
}

.footer-brand p {
  max-width: 360px;
  color: #cbd5e1;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.footer-col a {
  color: #cbd5e1;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 14px;
}

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  body.nav-open .mobile-nav {
    display: block;
  }

  .home-hero,
  .hero-track {
    min-height: 760px;
  }

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

  .hero-poster {
    width: min(300px, 70vw);
    justify-self: start;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-col,
  .four-col,
  .category-grid,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .large-card .card-cover img {
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 580px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

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

  .home-hero,
  .hero-track {
    min-height: 720px;
  }

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

  .hero-copy p {
    font-size: 16px;
  }

  .hero-control {
    bottom: 20px;
  }

  .stat-strip,
  .three-col,
  .four-col,
  .category-grid,
  .overview-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    display: block;
  }

  .section-link {
    margin-top: 12px;
  }

  .page-hero {
    padding-top: 128px;
  }

  .detail-hero {
    padding-top: 106px;
  }

  .player-info h2 {
    font-size: 22px;
  }

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