:root {
  --color-blue-900: #0f245c;
  --color-blue-800: #12357e;
  --color-blue-700: #1d4ed8;
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-cyan: #06b6d4;
  --color-violet: #7c3aed;
  --color-green: #16a34a;
  --color-orange: #f97316;
  --color-rose: #e11d48;
  --color-indigo: #4f46e5;
  --color-slate: #334155;
  --text-main: #111827;
  --text-muted: #64748b;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --header-height: 76px;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-soft);
  color: var(--text-main);
}

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

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

p {
  line-height: 1.8;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1280px;
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--color-blue-700);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue-700), var(--color-cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.brand-text {
  font-size: 20px;
  letter-spacing: -0.02em;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-blue-700);
  background: #eff6ff;
}

.header-search,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-field input,
.filter-field select {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  outline: none;
  transition: 0.25s ease;
}

.header-search input {
  width: 180px;
  padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-blue-700);
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  background: var(--color-blue-700);
}

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

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

.section-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  min-height: 620px;
  background: linear-gradient(135deg, #07173f, #12357e 52%, #2563eb);
  color: #ffffff;
  overflow: hidden;
}

.hero-slider,
.hero-slide {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.38), transparent 30%),
    linear-gradient(90deg, rgba(7, 23, 63, 0.95) 0%, rgba(7, 23, 63, 0.7) 52%, rgba(15, 23, 42, 0.48) 100%);
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfdbfe;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.tag-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
}

.tag-list span {
  background: #eff6ff;
  color: var(--color-blue-700);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue-700), var(--color-cyan));
}

.button-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.button-outline {
  color: var(--color-blue-700);
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin-top: 32px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.hero-stats span {
  color: #dbeafe;
  font-size: 13px;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-blue-700);
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot,
.hero-thumb {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 32px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

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

.hero-thumbs {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2));
  bottom: 28px;
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero-thumb {
  width: 94px;
  padding: 6px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  opacity: 0.7;
  transition: 0.25s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.hero-thumb img {
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-thumb span {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.quick-search-section,
.section-block {
  padding: 56px 0;
}

.quick-search-panel,
.filter-panel,
.search-page-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quick-search-panel h2,
.section-heading h2 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.quick-search-panel p,
.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.large-search {
  min-width: min(520px, 100%);
}

.large-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
}

.large-search button {
  padding: 14px 24px;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.section-heading.light {
  color: #ffffff;
}

.section-heading.light p {
  color: #dbeafe;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

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

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

.category-card,
.category-overview-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue-700), var(--color-cyan));
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.category-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.category-card div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: end;
}

.category-card strong {
  font-size: 24px;
}

.category-card span {
  margin: 8px 0;
  color: #e0f2fe;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.category-card--cyan {
  background: linear-gradient(135deg, #0e7490, #06b6d4);
}

.category-card--violet {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.category-card--green {
  background: linear-gradient(135deg, #14532d, #16a34a);
}

.category-card--orange {
  background: linear-gradient(135deg, #9a3412, #f97316);
}

.category-card--rose {
  background: linear-gradient(135deg, #9f1239, #e11d48);
}

.category-card--indigo {
  background: linear-gradient(135deg, #312e81, #4f46e5);
}

.category-card--slate {
  background: linear-gradient(135deg, #0f172a, #475569);
}

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

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

.movie-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

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

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

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

.play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.9);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta-line span:not(:last-child)::after {
  content: "";
}

.movie-card h3,
.ranking-row h2 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-row h2 a:hover {
  color: var(--color-blue-700);
}

.movie-card p {
  min-height: 58px;
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14px;
}

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

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

.ranking-band {
  padding: 64px 0;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.36), transparent 32%),
    linear-gradient(135deg, #0f245c, #1d4ed8);
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 42px 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: 0.25s ease;
}

.ranking-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
}

.rank-number {
  color: #bfdbfe;
  font-size: 20px;
  font-weight: 900;
}

.ranking-item img {
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-item strong {
  display: block;
  margin-bottom: 6px;
}

.ranking-item p {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
}

.page-hero {
  padding: 86px 0 68px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 24%, rgba(6, 182, 212, 0.28), transparent 28%),
    linear-gradient(135deg, #0f245c, #1d4ed8);
}

.small-hero h1,
.category-hero h1,
.ranking-hero h1 {
  margin: 12px 0;
  font-size: clamp(42px, 6vw, 68px);
}

.small-hero p,
.category-hero p,
.ranking-hero p {
  max-width: 760px;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

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

.filter-panel {
  align-items: end;
  margin-bottom: 22px;
}

.filter-panel.compact {
  justify-content: flex-start;
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field.wide {
  flex: 1;
  min-width: 260px;
}

.filter-field label {
  color: #334155;
  font-weight: 900;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
}

.result-count {
  color: var(--text-muted);
  font-weight: 800;
}

.result-count span {
  color: var(--color-blue-700);
}

.category-overview-card {
  display: flex;
  min-height: auto;
  flex-direction: column;
  gap: 16px;
  color: var(--text-main);
  background: #ffffff;
}

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

.category-overview-head span {
  color: var(--color-blue-700);
  font-size: 22px;
  font-weight: 900;
}

.category-overview-head strong {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-blue-700);
  background: #eff6ff;
}

.category-overview-card p {
  min-height: 56px;
  margin: 0;
  color: var(--text-muted);
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #dbeafe;
}

.mini-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-card span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.ranking-row-cover span {
  position: absolute;
  z-index: 1;
  left: 8px;
  top: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-blue-700);
  font-weight: 900;
}

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

.ranking-row-body p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.search-page-panel {
  margin-bottom: 24px;
}

.detail-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  background: #07173f;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(59, 130, 246, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(7, 23, 63, 0.96), rgba(7, 23, 63, 0.72));
}

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

.detail-hero-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.detail-cover-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.detail-cover-card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-one-line {
  font-size: 19px;
}

.detail-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 56px 0 0;
}

.detail-main-card,
.detail-side-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-main-card h2,
.detail-side-card h2,
.content-section h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.22);
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  transition: 0.25s ease;
}

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

.player-button {
  display: inline-flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-blue-700);
  background: #ffffff;
  font-size: 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.content-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.content-section p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-list dt {
  color: var(--text-muted);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
}

.info-list a {
  color: var(--color-blue-700);
  font-weight: 900;
}

.next-prev {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.next-prev a {
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  color: var(--color-blue-700);
  background: #eff6ff;
  font-weight: 900;
}

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

.sitemap-grid section,
.sitemap-movies {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.sitemap-section ul {
  margin: 0;
  padding-left: 18px;
  columns: 2;
}

.sitemap-section li {
  margin: 8px 0;
  break-inside: avoid;
}

.sitemap-section a:hover {
  color: var(--color-blue-700);
}

.sitemap-movies {
  margin-top: 24px;
}

.sitemap-movies ul {
  columns: 4;
}

.site-footer {
  margin-top: 64px;
  color: #d1d5db;
  background: #0f172a;
}

.footer-grid {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

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

.footer-grid p {
  color: #94a3b8;
}

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

.footer-grid li {
  margin: 8px 0;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-meta {
  font-size: 13px;
}

.footer-bottom {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
}

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

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

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

  .hero-thumbs {
    display: none;
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .header-inner,
  .section-shell,
  .hero-content,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1280px);
    padding-left: 0;
    padding-right: 0;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero-section,
  .hero-slider,
  .hero-slide {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    padding: 48px 0 92px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: 42px;
  }

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

  .quick-search-panel,
  .filter-panel,
  .search-page-panel,
  .section-heading-row,
  .ranking-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .large-search,
  .mobile-search {
    display: grid;
    width: 100%;
  }

  .ranking-row-cover {
    width: 120px;
  }

  .detail-cover-card {
    max-width: 260px;
  }

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

  .sitemap-section ul,
  .sitemap-movies ul {
    columns: 1;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}
