:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-300: #cbd5e1;
  --secondary-400: #94a3b8;
  --secondary-500: #64748b;
  --secondary-700: #334155;
  --secondary-800: #1e293b;
  --secondary-900: #0f172a;
  --accent-500: #10b981;
  --accent-600: #059669;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --page-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.10), 0 12px 28px -4px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: var(--page-bg);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, 1280px);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--secondary-900);
}

.brand:hover {
  color: var(--primary-700);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.24);
}

.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 650;
  color: var(--secondary-700);
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  min-width: 270px;
  border: 1px solid var(--secondary-300);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 10px 12px;
  color: var(--secondary-900);
}

.header-search button {
  border: 0;
  color: #ffffff;
  background: var(--primary-600);
  padding: 10px 14px;
  font-weight: 700;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--secondary-700);
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--secondary-700);
  background: var(--secondary-50);
  font-weight: 650;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-900));
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(56, 189, 248, 0.30), transparent 35%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(3, 105, 161, 0.78) 48%, rgba(15, 23, 42, 0.70) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1280px);
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
  padding: 68px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary-200);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--primary-700);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-summary,
.page-hero p,
.detail-one-line {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-tags,
.detail-tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-tags span,
.tag,
.mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 13px;
  font-weight: 700;
}

.mini-tags {
  margin-top: 10px;
}

.mini-tags span {
  color: var(--primary-700);
  border-color: var(--primary-100);
  background: var(--primary-50);
}

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

.primary-btn,
.ghost-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  color: var(--primary-700);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(255, 255, 255, 0.16);
}

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

.ghost-btn {
  color: var(--primary-700);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
}

.ghost-btn.on-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 470px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(15, 23, 42, 0.78));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1.5deg);
}

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

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

.hero-poster span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(2, 132, 199, 0.92);
  font-weight: 850;
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.36);
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.home-search-panel {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.search-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
}

.search-panel-inner h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.big-search {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--secondary-300);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 18px 20px;
  font-size: 16px;
}

.big-search button {
  border: 0;
  padding: 0 24px;
  color: #ffffff;
  background: var(--primary-600);
  font-weight: 850;
}

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

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

.section-title h2 {
  margin: 0;
  color: var(--secondary-900);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.025em;
}

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

.section-link,
.text-btn {
  color: var(--primary-700);
  font-weight: 850;
}

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

.category-tile,
.category-overview-card,
.content-card,
.ranking-aside,
.category-stats-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.category-tile {
  display: block;
  overflow: hidden;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.horizontal-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  height: 100px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-200));
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile strong {
  display: block;
  color: var(--secondary-900);
  font-size: 20px;
  font-weight: 900;
}

.category-tile em {
  display: block;
  margin: 4px 0 8px;
  color: var(--primary-700);
  font-style: normal;
  font-weight: 800;
}

.category-tile p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-box {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 30% 10%, rgba(14, 165, 233, 0.35), transparent 34%),
    linear-gradient(135deg, var(--secondary-200), var(--secondary-900));
}

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

.poster-box.image-missing img,
.hero-poster.image-missing img,
.thumb.image-missing img,
.detail-poster.image-missing img {
  display: none;
}

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.72) 100%);
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 132, 199, 0.92);
  font-size: 13px;
  font-weight: 850;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

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

.movie-card h3 {
  margin: 0;
  min-height: 50px;
  color: var(--secondary-900);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
}

.movie-card h3 a:hover {
  color: var(--primary-700);
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-aside {
  position: sticky;
  top: 84px;
  padding: 20px;
}

.ranking-aside h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.ranking-aside p {
  margin: 8px 0 18px;
  color: var(--text-soft);
}

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

.horizontal-list.compact {
  gap: 8px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: var(--secondary-50);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb {
  width: 72px;
  height: 88px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-200));
}

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

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

.horizontal-info strong,
.horizontal-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.horizontal-info strong {
  color: var(--secondary-900);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 850;
}

.horizontal-info em {
  margin-top: 4px;
  color: var(--text-soft);
  display: -webkit-box;
  font-style: normal;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary-600);
  font-size: 12px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.sticky-toolbar {
  position: sticky;
  top: 76px;
  z-index: 12;
}

.local-search,
.local-select {
  min-height: 44px;
  border: 1px solid var(--secondary-300);
  border-radius: 12px;
  outline: 0;
  background: #ffffff;
}

.local-search {
  flex: 1 1 280px;
  padding: 0 14px;
}

.local-select {
  padding: 0 12px;
}

.result-count {
  margin-left: auto;
  color: var(--primary-700);
  font-weight: 850;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-900));
}

.slim-hero .container,
.category-hero .container,
.ranking-hero .container {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.slim-hero p,
.category-hero p,
.ranking-hero p {
  max-width: 760px;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: center;
}

.category-stats-card {
  padding: 30px;
  text-align: center;
  color: var(--secondary-900);
  background: rgba(255, 255, 255, 0.95);
}

.category-stats-card strong {
  display: block;
  color: var(--primary-700);
  font-size: 56px;
  line-height: 1;
  font-weight: 950;
}

.category-stats-card span {
  color: var(--text-soft);
  font-weight: 800;
}

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

.category-overview-card {
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card-head span {
  display: inline-flex;
  min-height: 30px;
  padding: 4px 10px;
  align-items: center;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 850;
}

.category-card-head h2 {
  margin: 12px 0 6px;
  font-size: 26px;
}

.category-card-head p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-900));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.40);
}

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

.detail-info h1 {
  max-width: 900px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-weight: 750;
}

.player-section {
  padding-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.28), rgba(2, 6, 23, 0.70)),
    linear-gradient(135deg, rgba(2, 6, 23, 0.30), rgba(2, 6, 23, 0.78));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary-700);
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.20);
}

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

.player-overlay em {
  font-style: normal;
  color: var(--primary-200);
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.62);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

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

.content-card {
  padding: 24px;
}

.prose-card h2,
.facts-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

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

.prose-card p {
  margin: 0;
  color: var(--secondary-700);
  font-size: 17px;
}

.facts-card {
  position: sticky;
  top: 84px;
}

.facts-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.facts-card dt {
  color: var(--text-soft);
  font-weight: 800;
}

.facts-card dd {
  margin: 0;
  color: var(--secondary-900);
}

.facts-card a {
  color: var(--primary-700);
  font-weight: 800;
}

.site-footer {
  margin-top: 50px;
  color: var(--secondary-300);
  background: var(--secondary-900);
}

.footer-inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 34px;
  padding: 48px 0;
}

.footer-logo {
  color: #ffffff;
}

.footer-brand p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--secondary-400);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

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

.site-footer a:hover {
  color: var(--primary-300);
}

.copyright {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--secondary-500);
  text-align: center;
  font-size: 14px;
}

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

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

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

@media (max-width: 980px) {
  .header-search {
    display: none;
  }

  .hero-content,
  .two-column-layout,
  .detail-content-grid,
  .split-hero,
  .search-panel-inner,
  .footer-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 680px;
    padding: 50px 0 82px;
  }

  .hero-poster {
    min-height: auto;
    max-width: 320px;
    transform: none;
  }

  .hero-poster img {
    height: 420px;
  }

  .ranking-aside,
  .facts-card {
    position: static;
  }

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

@media (max-width: 640px) {
  .container,
  .header-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 24px, 1280px);
  }

  .brand-name {
    max-width: 180px;
    font-size: 17px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 720px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero-arrow {
    display: none;
  }

  .hero-poster {
    max-width: 260px;
  }

  .hero-poster img {
    height: 350px;
  }

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

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

  .horizontal-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .thumb {
    width: 64px;
    height: 78px;
  }

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

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

  .play-circle {
    width: 64px;
    height: 64px;
  }

  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }
}
