:root {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --panel: rgba(255, 255, 255, 0.88);
  --dark: #111827;
  --amber: #f59e0b;
  --orange: #ea580c;
  --blue: #2563eb;
  --rose: #e11d48;
  --violet: #7c3aed;
  --emerald: #059669;
  --cyan: #0891b2;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fafc 0%, #fafaf9 48%, #fff7ed 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.98), rgba(41, 37, 36, 0.98), rgba(30, 41, 59, 0.98));
  border-bottom: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.32);
}

.brand-copy strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  display: block;
  margin-top: 3px;
  color: #cbd5e1;
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #e2e8f0;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

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

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.mobile-link.muted {
  color: #cbd5e1;
  font-weight: 600;
}

.hero-carousel {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(245, 158, 11, 0.36), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(15, 23, 42, 0.3) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, transparent 44%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: 74px 0 92px;
}

.hero-text {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero-text h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-text p,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-poster {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(1.5deg);
  transition: transform 0.28s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-5px);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 16px 36px rgba(234, 88, 12, 0.3);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.btn.full {
  width: 100%;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 58px;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 800;
}

.hero-pills .pill,
.detail-tags .pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-search {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.search-box span {
  font-size: 22px;
  color: var(--amber);
}

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

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #475569;
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 34px rgba(234, 88, 12, 0.24);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3,
.ranking-copy h2 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.28;
}

.movie-card h3 a:hover,
.ranking-copy h2 a:hover,
.detail-article a:hover {
  color: var(--orange);
}

.movie-card p,
.ranking-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

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

.movie-card.compact .movie-card-body {
  padding: 14px;
}

.wide-band {
  padding: 70px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(135deg, #f1f5f9, #fafaf9);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: start;
}

.feature-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.rank-panel,
.info-card,
.detail-article,
.category-overview-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.1);
}

.rank-panel {
  padding: 22px;
}

.rank-panel h2 {
  margin: 0 0 16px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  grid-template-areas:
    "no img title"
    "no img info";
  gap: 0 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-no {
  grid-area: no;
  color: var(--orange);
  font-size: 22px;
  font-weight: 950;
}

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

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

.rank-info {
  grid-area: info;
  color: var(--muted);
  font-size: 13px;
}

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: #111827;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.22));
}

.category-card span,
.category-card strong {
  position: relative;
  z-index: 2;
  display: block;
}

.category-card span {
  margin-bottom: 78px;
  font-size: 22px;
  font-weight: 950;
}

.category-card strong {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.category-card:hover img {
  opacity: 0.62;
  transform: scale(1.06);
}

.page-hero {
  padding: 86px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.28), transparent 30%),
    linear-gradient(135deg, #111827, #292524 52%, #0f172a);
}

.small-hero {
  padding: 72px 0 64px;
}

.tone-blue {
  background:
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.28), transparent 32%),
    linear-gradient(135deg, #0f172a, #1e3a8a);
}

.tone-rose {
  background:
    radial-gradient(circle at 80% 10%, rgba(225, 29, 72, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #881337);
}

.tone-pink {
  background:
    radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #831843);
}

.tone-violet {
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.32), transparent 32%),
    linear-gradient(135deg, #0f172a, #4c1d95);
}

.tone-emerald {
  background:
    radial-gradient(circle at 80% 10%, rgba(5, 150, 105, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #064e3b);
}

.tone-cyan {
  background:
    radial-gradient(circle at 80% 10%, rgba(8, 145, 178, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #164e63);
}

.tone-orange,
.tone-amber {
  background:
    radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.32), transparent 32%),
    linear-gradient(135deg, #0f172a, #7c2d12);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  align-items: center;
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.category-cover-strip img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
}

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

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

.text-link {
  color: var(--orange);
  font-weight: 900;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

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

.ranking-cover span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  font-weight: 950;
}

.detail-hero {
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(245, 158, 11, 0.24), transparent 34%),
    linear-gradient(135deg, #0f172a, #1f2937 56%, #111827);
}

.detail-hero-inner {
  padding: 38px 0 46px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #cbd5e1;
  font-weight: 700;
}

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

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

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.26), transparent 28%),
    rgba(15, 23, 42, 0.48);
  cursor: pointer;
}

.play-ring {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 48px rgba(234, 88, 12, 0.34);
}

.play-ring span {
  margin-left: 5px;
  font-size: 34px;
}

.player-cover strong {
  width: min(86%, 620px);
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.25;
}

.detail-aside {
  display: grid;
  gap: 14px;
}

.detail-poster {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-facts span {
  flex: 1;
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 12px;
  text-align: center;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

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

.detail-article,
.info-card {
  padding: 28px;
}

.detail-article h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-article .lead {
  margin: 0 0 18px;
  color: #334155;
  font-size: 20px;
  font-weight: 800;
}

.detail-article h2,
.info-card h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.detail-article h2:first-child,
.info-card h2:first-child {
  margin-top: 0;
}

.detail-article p {
  margin: 0 0 18px;
  color: #475569;
  font-size: 17px;
}

.info-card {
  position: sticky;
  top: 98px;
}

.info-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
}

.info-card dt,
.info-card dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.info-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.info-card dd {
  color: var(--ink);
  font-weight: 800;
}

.empty-state {
  display: none;
  padding: 42px;
  border: 1px dashed #cbd5e1;
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

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

.site-footer {
  margin-top: 54px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #1f2937);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  padding: 44px 0;
}

.footer-brand {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.footer-inner p {
  max-width: 620px;
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.28);
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

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

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

  .detail-aside {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
  }

  .info-card {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    height: 68px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-poster {
    width: min(330px, 78vw);
    justify-self: center;
  }

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

@media (max-width: 640px) {
  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

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

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

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

  .category-cover-strip {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .detail-article,
  .info-card,
  .rank-panel {
    padding: 20px;
  }

  .player-cover strong {
    display: none;
  }
}

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