:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #f59e0b;
  --orange: #ea580c;
  --red: #f43f5e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(244, 63, 94, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1440px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(135deg, #fbbf24, #fb923c 55%, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.32);
  font-size: 14px;
}

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

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--soft);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: #fbbf24;
  background: rgba(30, 41, 59, 0.78);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #020617;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.4s ease;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 35%),
    radial-gradient(circle at 25% 50%, rgba(245, 158, 11, 0.22), transparent 24rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  padding: 118px 0 170px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  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 0 6px rgba(245, 158, 11, 0.15);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

.hero-content p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
}

.hero-tags,
.movie-tags,
.quick-pills,
.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.movie-tags span,
.quick-pills a,
.filter-strip button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 999px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.11);
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.ghost-btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  box-shadow: 0 22px 46px rgba(245, 158, 11, 0.38);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #fff;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(14px);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  width: min(1000px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-dot img {
  width: 46px;
  height: 58px;
  object-fit: cover;
  border-radius: 11px;
}

.hero-dot span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.hero-dot.is-active,
.hero-dot:hover {
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(245, 158, 11, 0.14);
  transform: translateY(-2px);
}

.section-wrap,
.page-hero {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.section-wrap {
  padding: 54px 0;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  margin-top: -58px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.intro-panel h2,
.section-heading h2,
.page-hero h1,
.detail-article h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.intro-panel h2,
.section-heading h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}

.intro-panel p,
.page-hero p,
.category-card p,
.category-overview-card span,
.detail-article p,
.site-footer p {
  color: var(--soft);
  line-height: 1.85;
}

.quick-pills {
  justify-content: flex-end;
}

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

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

.search-panel {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.search-label {
  color: #fbbf24;
  font-weight: 900;
}

.search-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(2, 6, 23, 0.76);
}

.search-panel input:focus {
  border-color: rgba(245, 158, 11, 0.76);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.search-hint {
  color: var(--muted);
  font-size: 13px;
}

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

.movie-card {
  min-width: 0;
}

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

.movie-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-link:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 22px 46px rgba(245, 158, 11, 0.13);
  transform: translateY(-5px) scale(1.01);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(2, 6, 23, 0.9));
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-link:hover .poster-frame img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.05);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 52%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-link:hover .poster-frame::after {
  opacity: 1;
}

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.34);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.74);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.movie-link:hover h3 {
  color: #fbbf24;
}

.movie-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-tags {
  gap: 6px;
}

.movie-tags span {
  min-height: auto;
  padding: 4px 8px;
  font-size: 11px;
}

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

.category-card,
.category-overview-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  border-color: rgba(245, 158, 11, 0.58);
  transform: translateY(-4px);
}

.category-thumbs,
.category-overview-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px 12px 0;
}

.category-thumbs img,
.category-overview-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.category-card span,
.category-card strong,
.category-card p {
  display: block;
  padding: 0 16px;
}

.category-card span {
  margin-top: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.category-card strong {
  margin-top: 4px;
  color: #fbbf24;
}

.category-card p {
  margin: 10px 0 18px;
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.inline-heading {
  margin-bottom: 18px;
}

.ranking-list,
.ranking-board {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 48px 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  border-color: rgba(245, 158, 11, 0.54);
  transform: translateX(3px);
}

.rank-number {
  color: #fbbf24;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

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

.rank-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-info strong {
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-score {
  padding: 6px 9px;
  border-radius: 10px;
  color: #111827;
  background: #fbbf24;
  font-weight: 950;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.page-main {
  padding-top: 36px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.22), transparent 25rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.92));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.02;
}

.page-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 17px;
}

.page-actions {
  margin-top: 26px;
}

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

.category-overview-card a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.category-overview-media {
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
}

.category-overview-card p {
  margin: 2px 0 8px;
  color: #fbbf24;
  font-weight: 800;
}

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

.filter-strip {
  margin: 0 0 24px;
}

.filter-strip button {
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--soft);
  background: rgba(15, 23, 42, 0.74);
}

.filter-strip button.is-active,
.filter-strip button:hover {
  color: #111827;
  background: #fbbf24;
}

.detail-main {
  padding-top: 0;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2, 6, 23, 1), rgba(2, 6, 23, 0.16) 55%, rgba(2, 6, 23, 0.88)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.28));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 130px 0 76px;
}

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

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

.detail-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-hero p {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.8;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.24), transparent 18rem);
  cursor: pointer;
}

.player-layer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.big-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.36);
  font-size: 34px;
}

.player-layer strong {
  max-width: min(80%, 680px);
  overflow: hidden;
  font-size: clamp(24px, 4vw, 44px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-layer em {
  color: #fcd34d;
  font-style: normal;
  font-weight: 800;
}

.detail-article,
.info-panel,
.detail-nav-links {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.detail-article {
  padding: 28px;
}

.detail-article h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 28px;
}

.detail-article p {
  margin: 0;
  font-size: 16px;
}

.detail-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.detail-nav-links a {
  overflow: hidden;
  padding: 14px;
  border-radius: 14px;
  color: var(--soft);
  background: rgba(2, 6, 23, 0.38);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-nav-links a:hover {
  color: #fbbf24;
}

.info-panel {
  position: sticky;
  top: 92px;
  padding: 16px;
}

.info-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.info-panel h2 {
  margin: 16px 0;
  font-size: 24px;
}

.info-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.info-panel dl div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.info-panel dd {
  margin: 0;
  color: var(--text);
}

.info-panel a {
  color: #fbbf24;
}

.detail-tag-list {
  margin-top: 16px;
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

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

.footer-grid {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.4fr) minmax(220px, 0.8fr);
  gap: 28px;
}

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

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

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

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

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

.footer-bottom {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-arrow {
    display: none;
  }

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

  .intro-panel,
  .split-section,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-pills {
    justify-content: flex-start;
  }

  .info-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .section-wrap,
  .page-hero,
  .detail-hero-content,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1440px);
  }

  .brand {
    font-size: 18px;
  }

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

  .hero-carousel {
    min-height: 650px;
  }

  .hero-content {
    width: min(100% - 24px, 1440px);
    padding: 92px 0 160px;
  }

  .hero-content h1,
  .detail-hero h1 {
    letter-spacing: -0.045em;
  }

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

  .hero-dot {
    padding: 7px;
  }

  .hero-dot img {
    width: 34px;
    height: 44px;
  }

  .hero-dot span {
    font-size: 12px;
  }

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

  .intro-panel,
  .page-hero,
  .detail-article {
    padding: 22px;
  }

  .section-heading,
  .search-panel,
  .detail-nav-links {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading {
    display: grid;
  }

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

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

  .movie-card h3 {
    font-size: 15px;
  }

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

  .detail-hero {
    min-height: 500px;
  }

  .detail-hero-content {
    padding: 105px 0 54px;
  }

  .player-card {
    border-radius: 18px;
  }

  .big-play {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-dots {
    display: none;
  }

  .hero-carousel {
    min-height: 590px;
  }
}
