:root {
  --ink-900: #3d3d3d;
  --ink-800: #454545;
  --ink-700: #555555;
  --mist-50: #f8f9fa;
  --mist-100: #f1f3f5;
  --mist-200: #e9ecef;
  --mist-300: #dee2e6;
  --mist-500: #8b949e;
  --mist-600: #68717a;
  --mist-700: #505a63;
  --mountain-50: #e8f4f8;
  --mountain-100: #d1e9f0;
  --mountain-400: #57a9c2;
  --mountain-500: #2c8aa8;
  --mountain-600: #236e86;
  --mountain-700: #1b596d;
  --mountain-800: #124254;
  --paper-100: #fcfcfc;
  --paper-200: #fafafa;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 30px rgba(18, 66, 84, 0.12);
  --shadow-xl: 0 22px 60px rgba(18, 66, 84, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mist-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  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: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-800));
  box-shadow: 0 12px 28px rgba(35, 110, 134, 0.25);
  font-size: 17px;
}

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

.brand-name {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--mist-600);
  font-size: 12px;
}

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

.nav-link {
  color: var(--ink-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--mountain-600);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--mist-200);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-700);
  font-size: 14px;
}

.nav-drop-menu a:hover {
  color: var(--mountain-700);
  background: var(--mountain-50);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.page-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--mist-300);
  background: var(--mist-50);
  border-radius: 999px;
  color: var(--ink-900);
  outline: none;
  transition: all 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 16px;
}

.header-search input:focus,
.page-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--mountain-400);
  box-shadow: 0 0 0 4px rgba(44, 138, 168, 0.12);
  background: #fff;
}

.header-search button,
.page-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: var(--mountain-600);
  font-weight: 700;
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--mist-100);
  color: var(--ink-900);
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--mist-200);
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--ink-700);
  font-weight: 650;
}

.hero {
  position: relative;
  height: 68vh;
  min-height: 540px;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 5.2s ease;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 68%, rgba(0, 0, 0, 0.06) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mountain-600);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.hero h1,
.hero h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--mist-100);
  font-size: 19px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.primary-button {
  background: #fff;
  color: var(--ink-900);
}

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

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

.hero-arrow {
  position: absolute;
  bottom: 34px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 32px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-prev {
  right: 90px;
}

.hero-next {
  right: 32px;
}

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

.hero-dot {
  width: 18px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  width: 38px;
  background: #fff;
}

.shortcut-band {
  background: #fff;
  border-bottom: 1px solid var(--mist-200);
}

.shortcut-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-chip {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--mist-200);
  border-radius: 20px;
  background: var(--paper-200);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-chip:hover {
  transform: translateY(-3px);
  border-color: var(--mountain-400);
  box-shadow: var(--shadow-md);
}

.category-chip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-900);
  font-size: 18px;
}

.category-chip span {
  display: block;
  color: var(--mist-600);
  font-size: 14px;
  line-height: 1.6;
}

.category-chip.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-800));
  border-color: transparent;
}

.category-chip.accent strong,
.category-chip.accent span {
  color: #fff;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.content-section.muted {
  max-width: none;
  background: var(--mist-50);
}

.content-section.muted > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.content-section.dark {
  max-width: none;
  color: #fff;
  background: var(--ink-900);
}

.content-section.dark > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-head > div {
  min-width: 0;
}

.section-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--mountain-600);
  font-weight: 900;
}

.section-head h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--mist-600);
}

.dark .section-head p {
  color: var(--mist-300);
}

.section-more {
  color: var(--mountain-600);
  font-weight: 800;
}

.dark .section-more {
  color: var(--mountain-400);
}

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

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

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

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.movie-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mist-100);
}

.featured-grid .movie-thumb {
  aspect-ratio: 21 / 9;
}

.movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-link:hover .movie-thumb img {
  transform: scale(1.1);
}

.thumb-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-link:hover .thumb-gradient {
  opacity: 1;
}

.play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--mountain-600);
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: all 0.25s ease;
}

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

.region-pill,
.year-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.region-pill {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #fff;
  background: var(--mountain-600);
}

.year-pill {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #e5b95d, #b77821);
}

.movie-info {
  display: block;
  padding: 18px;
}

.movie-title {
  display: -webkit-box;
  min-height: 52px;
  overflow: hidden;
  color: var(--ink-900);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-link:hover .movie-title {
  color: var(--mountain-600);
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--mist-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mist-500);
  font-size: 12px;
}

.movie-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.category-panel {
  padding: 22px;
  border: 1px solid var(--mist-200);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

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

.category-panel h3 {
  margin: 0;
  font-size: 22px;
}

.category-panel-head a {
  color: var(--mountain-600);
  font-weight: 800;
  font-size: 14px;
}

.category-panel p {
  min-height: 66px;
  margin: 12px 0 18px;
  color: var(--mist-600);
  font-size: 14px;
  line-height: 1.55;
}

.mini-list {
  display: grid;
  gap: 14px;
}

.wide-card a {
  display: flex;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.wide-card a:hover {
  background: var(--mist-50);
}

.wide-thumb {
  position: relative;
  width: 132px;
  flex: 0 0 132px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mist-100);
}

.wide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wide-card a:hover .wide-thumb img {
  transform: scale(1.08);
}

.wide-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wide-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dark .wide-info strong {
  color: #fff;
}

.wide-info span {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--mist-600);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dark .wide-info span {
  color: var(--mist-300);
}

.wide-info em {
  margin-top: 6px;
  color: var(--mist-500);
  font-size: 12px;
  font-style: normal;
}

.wide-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 800;
}

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

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

.page-hero {
  color: #fff;
  background: linear-gradient(120deg, var(--mountain-600), var(--mountain-800));
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 24px 68px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--mountain-100);
  font-weight: 750;
}

.back-link:hover {
  color: #fff;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--mountain-100);
  font-size: 18px;
  line-height: 1.7;
}

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

.category-overview-card a {
  display: block;
  overflow: hidden;
  height: 100%;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.overview-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--mist-200);
}

.overview-covers img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.overview-copy {
  padding: 22px;
}

.overview-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.overview-copy p {
  min-height: 72px;
  margin: 0 0 18px;
  color: var(--mist-600);
  font-size: 14px;
  line-height: 1.7;
}

.overview-copy span {
  color: var(--mountain-600);
  font-weight: 800;
}

.filter-panel {
  margin-bottom: 30px;
  padding: 18px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--mist-200);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
}

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

.hidden-by-filter {
  display: none !important;
}

.search-status {
  margin-bottom: 24px;
  color: var(--ink-800);
  font-size: 22px;
  font-weight: 800;
}

.page-search {
  max-width: 680px;
  margin-top: 28px;
  display: flex;
  gap: 10px;
}

.page-search input {
  flex: 1;
  min-height: 50px;
  padding: 0 18px;
}

.page-search button {
  min-width: 110px;
}

.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.breadcrumb {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--mist-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--mountain-600);
  font-weight: 750;
}

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

.player-card,
.detail-card,
.related-aside {
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.player-card {
  margin-bottom: 24px;
  overflow: hidden;
  background: #000;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.large-play {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--mountain-600);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  font-size: 34px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-overlay:hover .large-play {
  transform: scale(1.08);
  background: #fff;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--mist-600);
  font-size: 14px;
}

.detail-meta a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--mountain-700);
  background: var(--mountain-50);
  font-weight: 750;
}

.detail-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--mist-200);
}

.detail-block h2 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: 20px;
}

.detail-block p {
  margin: 0;
  color: var(--mist-700);
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

.tag-cloud {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--mist-200);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--mist-700);
  background: var(--mist-100);
  font-size: 14px;
}

.info-grid {
  margin: 24px 0 0;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-radius: 18px;
  background: var(--mist-50);
}

.info-grid div {
  min-width: 0;
}

.info-grid dt {
  color: var(--mist-600);
  font-size: 13px;
}

.info-grid dd {
  margin: 5px 0 0;
  color: var(--ink-900);
  font-weight: 750;
}

.related-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
}

.related-aside h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.site-footer {
  margin-top: 60px;
  color: var(--mist-300);
  background: var(--ink-900);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: var(--mist-300);
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 17px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-column a:hover {
  color: var(--mountain-400);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px 30px;
  border-top: 1px solid var(--ink-800);
  color: var(--mist-500);
  font-size: 14px;
}

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

  .menu-button {
    display: inline-flex;
  }

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

  .header-search input {
    width: 190px;
  }

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

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

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

  .related-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 66px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-subtitle,
  .header-search {
    display: none;
  }

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

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

  .hero {
    height: 66vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 18px 96px;
  }

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

  .hero-prev {
    right: 74px;
  }

  .hero-next {
    right: 20px;
  }

  .hero-dots {
    left: 22px;
    bottom: 40px;
    transform: none;
  }

  .shortcut-inner,
  .overview-grid,
  .category-grid,
  .movie-grid,
  .catalog-grid,
  .ranking-list,
  .home-ranking,
  .footer-inner,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 52px 18px;
  }

  .section-head {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 14px;
  }

  .page-hero-inner {
    padding: 54px 18px 48px;
  }

  .page-search {
    flex-direction: column;
  }

  .detail-shell {
    padding: 22px 18px 54px;
  }

  .detail-card {
    padding: 22px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .wide-thumb {
    width: 112px;
    flex-basis: 112px;
  }
}
