*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg-950: #020617;
  --bg-925: #07111f;
  --bg-900: #0f172a;
  --bg-850: #111c31;
  --bg-800: #1e293b;
  --bg-700: #334155;
  --text-100: #f8fafc;
  --text-200: #e2e8f0;
  --text-300: #cbd5e1;
  --text-400: #94a3b8;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --amber-400: #fbbf24;
  --line: rgba(148, 163, 184, 0.18);
  --card: rgba(30, 41, 59, 0.72);
  --card-strong: rgba(15, 23, 42, 0.92);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(249, 115, 22, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(251, 191, 36, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 48%, var(--bg-950) 100%);
  color: var(--text-200);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--accent-500), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--accent-500), var(--amber-400));
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--text-300);
}

.desktop-nav a,
.nav-dropdown > button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown > button:hover {
  color: var(--accent-400);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.dropdown-panel a:hover {
  background: rgba(249, 115, 22, 0.12);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.filter-toolbar input,
.filter-toolbar select {
  min-width: 0;
  border: 1px solid var(--line);
  outline: none;
  color: var(--text-100);
  background: rgba(2, 6, 23, 0.55);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 190px;
  padding: 10px 14px;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-toolbar input:focus,
.filter-toolbar select:focus {
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.nav-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  background: var(--accent-500);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-100);
  background: rgba(30, 41, 59, 0.72);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  gap: 10px;
  padding: 18px 0 24px;
}

.mobile-menu a,
.mobile-category-title {
  padding: 9px 0;
  color: var(--text-300);
}

.mobile-category-title {
  font-weight: 800;
  color: var(--accent-400);
}

.hero {
  padding: 26px 0 12px;
}

.hero-stage {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  height: clamp(520px, 72vh, 680px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-900);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.62) 44%, rgba(2, 6, 23, 0.14) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.05) 42%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 7vw, 84px);
  bottom: clamp(64px, 12vh, 128px);
  width: min(720px, calc(100% - 48px));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent-400);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--text-100);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content p,
.page-hero p,
.detail-copy p {
  color: var(--text-300);
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.12);
  font-size: 12px;
  font-weight: 800;
}

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

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

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-500), var(--amber-400));
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-100);
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(14px);
}

.hero-control {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
}

.hero-control:hover {
  background: rgba(249, 115, 22, 0.82);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 32px;
  background: var(--accent-500);
}

.stats-strip {
  padding: 22px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.62);
}

.stats-grid strong {
  display: block;
  color: var(--text-100);
  font-size: 30px;
  line-height: 1;
}

.stats-grid span {
  color: var(--text-400);
  font-weight: 700;
}

.content-section {
  margin-top: 52px;
}

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

.section-heading h2,
.ranking-panel h2,
.ranking-side h2,
.detail-article h2,
.detail-sidebar h2,
.info-card h2 {
  margin: 0;
  color: var(--text-100);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--text-400);
}

.section-action,
.ranking-panel-head a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--accent-400);
  font-weight: 900;
  background: rgba(15, 23, 42, 0.48);
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.rank-card:hover,
.category-overview-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 146, 60, 0.42);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.16));
}

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

.category-tile strong {
  bottom: 70px;
  color: var(--text-100);
  font-size: 24px;
  font-style: normal;
}

.category-tile em {
  bottom: 48px;
  color: var(--accent-400);
  font-style: normal;
  font-weight: 900;
}

.category-tile small {
  bottom: 16px;
  color: var(--text-300);
}

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

.compact-grid {
  gap: 18px;
}

.movie-card,
.rank-card,
.category-overview-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card {
  overflow: hidden;
}

.movie-card a {
  display: block;
  height: 100%;
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(15, 23, 42, 0.9));
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.74), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
  opacity: 1;
}

.play-badge,
.rating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: white;
  background: rgba(249, 115, 22, 0.92);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rating-badge {
  top: 12px;
  right: 12px;
  min-width: 42px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  font-size: 13px;
}

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

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--text-100);
  font-size: 17px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.meta-line {
  margin: 0 0 10px;
  color: var(--accent-400);
  font-size: 13px;
  font-weight: 800;
}

.one-line {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 13px;
  overflow: hidden;
  color: var(--text-400);
  font-size: 14px;
  line-height: 1.62;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  color: var(--text-300);
  background: rgba(15, 23, 42, 0.52);
}

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

.ranking-panel,
.ranking-side,
.detail-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(15, 23, 42, 0.70);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.23);
}

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

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

.rank-card {
  overflow: hidden;
}

.rank-card a {
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.rank-card img {
  width: 72px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-500), var(--amber-400));
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em,
.rank-info small {
  display: block;
}

.rank-info strong {
  overflow: hidden;
  color: var(--text-100);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  color: var(--accent-400);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.rank-info small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-400);
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-main {
  padding-bottom: 42px;
}

.page-hero {
  padding: 58px 0 18px;
}

.page-hero p {
  max-width: 820px;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.65);
}

.search-toolbar {
  grid-template-columns: minmax(260px, 1.2fr) 180px 160px 160px auto;
}

.filter-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--text-400);
  font-size: 13px;
  font-weight: 900;
}

.filter-toolbar input,
.filter-toolbar select {
  width: 100%;
  padding: 12px 14px;
}

.filter-count {
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 16px;
  padding: 12px 16px;
  color: var(--text-300);
  background: rgba(249, 115, 22, 0.08);
  white-space: nowrap;
}

.filter-count strong {
  color: var(--accent-400);
  font-size: 20px;
}

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

.category-overview-card {
  overflow: hidden;
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 210px;
}

.mini-poster-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--bg-950);
}

.mini-poster-wall img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.category-overview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
  color: var(--text-100);
  font-size: 28px;
}

.category-overview-body p {
  margin: 0 0 14px;
  color: var(--text-400);
}

.category-overview-body span {
  color: var(--accent-400);
  font-weight: 900;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
}

.large-rank-list .rank-card a {
  grid-template-columns: auto 84px minmax(0, 1fr);
}

.large-rank-list .rank-card img {
  width: 84px;
}

.single-column-grid {
  grid-template-columns: 1fr;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  color: var(--text-400);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--accent-400);
  font-weight: 800;
}

.breadcrumb em {
  color: var(--text-300);
  font-style: normal;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: stretch;
  padding-top: 24px;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.18), rgba(2, 6, 23, 0.74));
  cursor: pointer;
}

.player-panel.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.big-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-500), var(--amber-400));
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.45);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay small {
  color: var(--text-300);
}

.detail-info {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(15, 23, 42, 0.70);
  box-shadow: var(--shadow);
}

.detail-poster {
  width: 150px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(28px, 4vw, 48px);
}

.detail-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.detail-meta div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.detail-meta dt {
  color: var(--text-400);
  font-weight: 900;
}

.detail-meta dd {
  margin: 0;
  color: var(--text-200);
}

.detail-meta a {
  color: var(--accent-400);
  font-weight: 900;
}

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

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

.detail-article p,
.info-card p {
  color: var(--text-300);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 38px;
  padding: 44px 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--text-100);
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: var(--text-400);
}

.site-footer a:hover {
  color: var(--accent-400);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--text-400);
  font-size: 14px;
}

.is-hidden {
  display: none !important;
}

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

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

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

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

  .ranking-panel,
  .ranking-side,
  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  .container,
  .hero-stage {
    width: min(100% - 22px, 1180px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .site-logo {
    font-size: 20px;
  }

  .hero-stage {
    height: 560px;
    border-radius: 22px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.20));
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 72px;
    width: auto;
  }

  .hero-control {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .stats-grid,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .guide-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: 100%;
    max-width: 230px;
  }

  .filter-toolbar,
  .search-toolbar {
    grid-template-columns: 1fr;
  }

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

  .rank-card a {
    grid-template-columns: auto 66px minmax(0, 1fr);
  }

  .rank-card img {
    width: 66px;
  }
}
