:root {
  color-scheme: light;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #152238;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  --soft-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--text);
  min-height: 100vh;
}

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: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  border-bottom: 1px solid rgba(203, 213, 225, 0.22);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark,
.footer-logo span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--slate-900);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.brand-text {
  display: grid;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: 0.03em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--slate-300);
  font-size: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link,
.dropdown-toggle {
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px 2px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle:hover {
  color: var(--amber-400);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: -12px;
  width: 190px;
  padding: 8px;
  display: grid;
  gap: 3px;
  background: var(--slate-800);
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 9px 12px;
  color: var(--slate-200);
  border-radius: 10px;
}

.dropdown-panel a:hover {
  background: var(--slate-700);
  color: var(--amber-300);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  background: rgba(51, 65, 85, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input {
  width: 230px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--slate-300);
}

.header-search button,
.mobile-search button {
  border: 0;
  color: var(--slate-900);
  background: var(--amber-400);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 14px 16px 18px;
  background: var(--slate-900);
  border-top: 1px solid rgba(203, 213, 225, 0.16);
}

.mobile-panel.open {
  display: grid;
  gap: 14px;
}

.mobile-search {
  border-radius: 14px;
}

.mobile-search input {
  width: 100%;
}

.mobile-links {
  display: grid;
  gap: 4px;
}

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--slate-200);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--amber-400);
  background: rgba(255, 255, 255, 0.06);
}

.hero-carousel {
  position: relative;
  min-height: 520px;
  height: 70vh;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-slide.active .hero-image {
  transform: scale(1.09);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.52) 46%, rgba(2, 6, 23, 0.12)), linear-gradient(90deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.2));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 115px;
  max-width: 780px;
  color: var(--white);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  margin: 16px 0 14px;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--slate-200);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero-meta span,
.card-meta span,
.detail-meta-grid span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--slate-100);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.text-link,
.filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.26);
}

.primary-button:hover,
.secondary-button:hover,
.text-link:hover,
.filter-link:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: var(--amber-600);
}

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

.secondary-button.dark {
  background: var(--slate-800);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.55);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.82);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

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

.hero-dot.active {
  width: 34px;
  background: var(--amber-400);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 68px;
  z-index: 8;
  width: min(720px, calc(100% - 48px));
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  padding: 15px 20px;
}

.hero-search button {
  border: 0;
  color: var(--slate-950);
  background: var(--amber-400);
  padding: 0 26px;
  font-weight: 900;
  cursor: pointer;
}

.content-section {
  padding: 72px 0;
  background: var(--white);
}

.bg-soft {
  background: var(--slate-50);
}

.bg-gradient {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.dark-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

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

.section-heading > div {
  display: grid;
  gap: 8px;
}

.section-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--slate-900);
  background: var(--amber-400);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.dark-section .section-heading p,
.bg-gradient .section-heading p {
  color: var(--slate-300);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.dark-section .movie-card,
.bg-gradient .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.year-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  position: relative;
  padding: 18px;
}

.card-body h3,
.large-card-content h3 {
  margin: 0 0 10px;
  color: var(--slate-800);
  font-size: 19px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.dark-section .card-body h3,
.bg-gradient .card-body h3 {
  color: var(--white);
}

.movie-card:hover h3 {
  color: var(--amber-600);
}

.card-body p,
.large-card-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-section .card-body p,
.bg-gradient .card-body p,
.dark-section .card-meta span,
.bg-gradient .card-meta span {
  color: var(--slate-300);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.card-meta span {
  color: var(--slate-600);
  background: var(--slate-100);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span,
.detail-tags a {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--slate-600);
  background: var(--slate-100);
  font-size: 12px;
  font-weight: 700;
}

.dark-section .tag-row span,
.bg-gradient .tag-row span {
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.12);
}

.movie-card-large {
  min-height: 360px;
}

.movie-card-large .card-media {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.2));
}

.large-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--white);
}

.large-card-content h3,
.large-card-content p {
  color: var(--white);
}

.large-card-content p {
  color: var(--slate-200);
}

.movie-card-horizontal .card-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 150px;
}

.movie-card-horizontal .card-media {
  height: 100%;
  aspect-ratio: auto;
}

.rank-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--slate-950);
  background: var(--amber-400);
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.28);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.category-card a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.26), transparent 40%), linear-gradient(135deg, var(--slate-800), var(--slate-950));
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card span,
.eyebrow {
  font-size: 12px;
}

.category-card h3 {
  margin: 12px 0 8px;
  font-size: 23px;
}

.category-card p {
  margin: 0;
  color: var(--slate-300);
  line-height: 1.65;
}

.mini-links {
  display: grid;
  gap: 5px;
  margin-top: 15px;
}

.mini-links a {
  color: var(--amber-300);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.section-more {
  margin-top: 30px;
  text-align: center;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 42%), linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.page-hero {
  padding: 76px 0;
}

.small-hero {
  padding: 64px 0;
}

.category-hero,
.rank-hero {
  padding: 70px 0;
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--slate-200);
  line-height: 1.75;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  color: var(--slate-300);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-300);
}

.category-page-wrap {
  padding: 60px 0;
  display: grid;
  gap: 54px;
}

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

.category-title-row h2 {
  margin: 12px 0 8px;
  font-size: 34px;
}

.category-title-row p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-link,
.filter-link {
  color: var(--amber-700);
  background: var(--amber-100);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-input,
.filter-select {
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  color: var(--text);
  background: var(--white);
  outline: 0;
}

.filter-input {
  flex: 1 1 280px;
  padding: 0 15px;
}

.filter-select {
  flex: 0 1 180px;
  padding: 0 12px;
}

.empty-state {
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 16px;
  color: var(--slate-700);
  background: var(--amber-100);
  font-weight: 800;
  text-align: center;
}

.detail-hero {
  min-height: 540px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-image: var(--detail-bg);
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.08);
  opacity: 0.32;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--slate-800);
}

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

.detail-info h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--slate-200);
  font-size: 18px;
  line-height: 1.8;
}

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

.watch-section {
  padding: 52px 0;
  background: var(--slate-950);
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--slate-900);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.35);
  aspect-ratio: 16 / 9;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18));
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--slate-950);
  background: var(--amber-400);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.28);
}

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

.detail-main,
.detail-side {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.detail-main {
  padding: 32px;
}

.detail-main h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--slate-800);
  font-size: 25px;
}

.detail-main h2:not(:first-child) {
  margin-top: 30px;
}

.detail-main p {
  margin: 0;
  color: var(--slate-700);
  line-height: 1.9;
  font-size: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.detail-tags a:hover {
  color: var(--slate-950);
  background: var(--amber-400);
}

.detail-side {
  padding: 26px;
  position: sticky;
  top: 96px;
}

.detail-side dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-side dt {
  color: var(--muted);
  font-size: 13px;
}

.detail-side dd {
  margin: -8px 0 0;
  color: var(--slate-800);
  font-weight: 800;
  line-height: 1.5;
}

.site-footer {
  color: var(--slate-300);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  border-top: 1px solid rgba(203, 213, 225, 0.12);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
}

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

.footer-inner p {
  margin: 0;
  line-height: 1.7;
}

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

.footer-inner a:hover {
  color: var(--amber-300);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(203, 213, 225, 0.12);
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
}

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

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

  .three-cols,
  .four-cols,
  .poster-grid,
  .category-grid,
  .rank-list,
  .wide-rank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .hero-carousel {
    min-height: 620px;
    height: auto;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 160px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-search {
    bottom: 82px;
    border-radius: 18px;
  }

  .hero-search button {
    padding: 0 16px;
  }

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

  .three-cols,
  .four-cols,
  .poster-grid,
  .spotlight-grid,
  .category-grid,
  .rank-list,
  .wide-rank {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .card-link {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .card-media {
    aspect-ratio: 16 / 9;
  }

  .category-title-row,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-panel {
    align-items: stretch;
  }

  .filter-select,
  .filter-link {
    flex: 1 1 100%;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

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

  .detail-main,
  .detail-side {
    padding: 22px;
  }
}
