:root {
  --primary-50: #eef6ff;
  --primary-100: #d9ebff;
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-800: #17337f;
  --secondary-500: #7c3aed;
  --secondary-600: #6d28d9;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 45px rgba(15, 23, 42, 0.16);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

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

img {
  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(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
  font-size: 16px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.03em;
}

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

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

.nav-link {
  color: var(--neutral-700);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.18s ease;
}

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

.top-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.top-search input,
.mobile-search input,
.filter-search input,
.filter-selects select {
  border: 1px solid var(--neutral-300);
  color: var(--neutral-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.top-search input {
  width: 220px;
  height: 40px;
  border-radius: 12px;
  padding: 0 42px 0 14px;
}

.top-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  color: var(--neutral-500);
  background: transparent;
  cursor: pointer;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--neutral-700);
  background: var(--neutral-100);
  cursor: pointer;
  font-size: 22px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--neutral-200);
  padding: 14px 16px 18px;
  background: var(--white);
}

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

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  color: var(--neutral-700);
  border-radius: 12px;
  font-weight: 650;
}

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

.mobile-search {
  margin-top: 12px;
  gap: 10px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border-radius: 12px;
  padding: 0 12px;
}

.mobile-search button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--primary-600);
  cursor: pointer;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.35), transparent 34%), linear-gradient(135deg, var(--primary-800), var(--primary-600) 48%, var(--secondary-600));
  padding: 80px 0 92px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.28;
}

.hero-orb-one {
  right: 12%;
  top: 12%;
  width: 190px;
  height: 190px;
  background: #93c5fd;
}

.hero-orb-two {
  left: 8%;
  bottom: 8%;
  width: 160px;
  height: 160px;
  background: #fbbf24;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--primary-700);
  background: var(--primary-50);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.hero-section .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

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

.primary-button {
  color: var(--primary-700);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

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

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.ghost-button.dark {
  color: var(--primary-700);
  background: var(--primary-50);
  border-color: rgba(37, 99, 235, 0.15);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-pills a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
  opacity: 0;
  transform: scale(0.97) translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.82));
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.hero-slide-copy h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}

.hero-slide-copy p {
  display: -webkit-box;
  margin: 12px 0 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-slide-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--primary-700);
  background: var(--white);
  border-radius: 12px;
  font-weight: 750;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 28px;
  background: var(--white);
}

.section-block {
  padding-top: 64px;
  padding-bottom: 64px;
}

.muted-section {
  background: var(--neutral-100);
}

.gradient-section {
  background: linear-gradient(135deg, #172554, #1d4ed8 48%, #6d28d9);
}

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

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--neutral-900);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.section-heading a {
  color: var(--primary-600);
  font-weight: 750;
}

.light-heading span,
.light-heading h2,
.light-heading a {
  color: var(--white);
}

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

.featured-grid .movie-card:nth-child(1),
.featured-grid .movie-card:nth-child(2) {
  grid-column: span 2;
}

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

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

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--neutral-200), var(--neutral-100));
}

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

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

.duration-badge,
.category-badge,
.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.78);
}

.category-badge {
  left: 10px;
  top: 10px;
  padding: 4px 9px;
  color: var(--white);
  background: var(--primary-600);
}

.score-badge {
  right: 10px;
  top: 10px;
  padding: 4px 9px;
  color: var(--white);
  background: var(--accent-600);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

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

.movie-card-body h2 {
  margin: 0 0 8px;
  color: var(--neutral-900);
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.movie-card:hover .movie-card-body h2 {
  color: var(--primary-600);
}

.movie-card-body p {
  min-height: 48px;
  margin: 0;
  color: var(--neutral-600);
  font-size: 14px;
}

.line-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--neutral-500);
  font-size: 12px;
}

.card-meta span {
  padding: 3px 8px;
  background: var(--neutral-100);
  border-radius: 999px;
}

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

.rank-row {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.rank-row a {
  display: grid;
  grid-template-columns: 52px 76px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary-700);
  background: var(--primary-50);
  border-radius: 12px;
  font-weight: 850;
}

.rank-row img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--neutral-200);
}

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

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: var(--neutral-900);
  font-size: 16px;
}

.rank-info em {
  color: var(--neutral-500);
  font-size: 13px;
  font-style: normal;
}

.rank-score {
  justify-self: end;
  color: var(--accent-600);
  font-weight: 850;
}

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

.category-tile,
.category-card-large {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.category-tile > a {
  display: block;
  min-height: 160px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-600));
}

.category-tile span,
.category-card-large span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 850;
}

.category-tile h2,
.category-card-large h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.category-tile div {
  display: grid;
  gap: 8px;
  padding: 18px 22px 22px;
}

.category-tile div a {
  overflow: hidden;
  color: var(--neutral-600);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-tile div a:hover {
  color: var(--primary-600);
}

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

.category-card-large a {
  display: block;
  position: relative;
  min-height: 260px;
  padding: 22px;
  color: var(--white);
}

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

.category-card-large a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.84));
}

.category-card-large span,
.category-card-large h2,
.category-card-large strong {
  position: relative;
  z-index: 1;
}

.category-card-large h2 {
  margin-top: 84px;
}

.category-card-large strong {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 12px;
  color: var(--primary-700);
  background: var(--white);
  border-radius: 12px;
}

.sub-hero {
  padding: 56px 0 60px;
  color: var(--white);
  background: radial-gradient(circle at 16% 20%, rgba(96, 165, 250, 0.32), transparent 36%), linear-gradient(135deg, #0f172a, #1d4ed8 58%, #6d28d9);
}

.sub-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.sub-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.sub-hero .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.catalog-section {
  padding-top: 38px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 1.6fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.filter-search input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
}

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

.filter-selects select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
}

.empty-state {
  display: none;
  margin: 30px 0;
  padding: 42px;
  text-align: center;
  color: var(--neutral-500);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  padding: 54px 0;
  color: var(--white);
  background: radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.24), transparent 34%), linear-gradient(135deg, #0f172a, #1e3a8a 55%, #5b21b6);
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  background: var(--neutral-200);
}

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

.score-pill {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--accent-600);
  border-radius: 999px;
  font-weight: 850;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-meta,
.tag-list,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span,
.tag-list span {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.detail-meta span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-list {
  margin-top: 14px;
}

.tag-list span {
  color: var(--primary-100);
  background: rgba(37, 99, 235, 0.22);
}

.detail-actions {
  margin-top: 30px;
}

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

.player-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 28px;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.movie-player {
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.78;
}

.player-cover.is-hidden {
  display: none;
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--primary-700);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.article-section {
  padding-top: 20px;
}

.detail-article {
  display: grid;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.detail-article h2 {
  margin: 0;
  color: var(--neutral-900);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-article p {
  margin: 0;
  color: var(--neutral-700);
  font-size: 16px;
}

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

.compact-card .poster-frame {
  aspect-ratio: 16 / 9;
}

.site-footer {
  color: var(--neutral-300);
  background: var(--neutral-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-logo .brand-title {
  color: var(--white);
}

.footer-logo .brand-subtitle,
.footer-brand p {
  color: var(--neutral-400);
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 14px;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

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

.footer-links a {
  color: var(--neutral-400);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 16px;
  color: var(--neutral-500);
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
  }

  .top-search input {
    width: 180px;
  }

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

  .hero-carousel {
    min-height: 420px;
  }

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

  .featured-grid .movie-card:nth-child(1),
  .featured-grid .movie-card:nth-child(2) {
    grid-column: span 1;
  }

  .detail-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

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

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

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

  .rank-grid,
  .filter-panel,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .brand-subtitle {
    display: none;
  }

  .hero-section,
  .sub-hero,
  .detail-hero {
    padding: 42px 0 52px;
  }

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

  .hero-copy p,
  .sub-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-carousel {
    min-height: 360px;
  }

  .section-block {
    padding-top: 42px;
    padding-bottom: 42px;
  }

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

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

  .rank-row a {
    grid-template-columns: 42px 70px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .filter-selects {
    grid-template-columns: 1fr;
  }

  .detail-article {
    padding: 22px;
  }

  .play-circle {
    width: 68px;
    height: 68px;
    font-size: 24px;
  }
}
