:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.28);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.25);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600));
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.25);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--white);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--slate-400);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 12px;
  color: var(--slate-300);
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(148, 163, 184, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 999px;
}

.header-search-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 0 0 14px;
}

.header-search,
.big-search {
  position: relative;
  display: flex;
  gap: 10px;
}

.header-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  color: var(--slate-900);
  background: var(--white);
}

.header-search input {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(148, 163, 184, 0.22);
}

.header-search input::placeholder {
  color: var(--slate-400);
}

.search-submit,
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.search-submit,
.primary-button {
  color: var(--white);
  background: var(--cyan-500);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.24);
}

.search-submit:hover,
.primary-button:hover {
  background: var(--cyan-600);
  transform: translateY(-1px);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  display: none;
  max-height: 460px;
  overflow: auto;
  padding: 8px;
  background: var(--white);
  color: var(--slate-900);
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
}

.search-results.is-open {
  display: grid;
  gap: 6px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
}

.search-result-item:hover {
  background: var(--slate-100);
}

.search-result-item img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--slate-200);
}

.search-result-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.search-result-item small {
  color: var(--slate-500);
}

.hero-carousel {
  position: relative;
  height: min(80vh, 760px);
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.22), transparent 34%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.18));
}

.hero-content {
  position: absolute;
  left: max(16px, calc((100vw - var(--max)) / 2));
  right: 16px;
  bottom: 70px;
  max-width: 760px;
  color: var(--white);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-kicker a,
.hero-kicker b {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--cyan-500);
  font-size: 14px;
}

.hero-kicker span {
  color: var(--slate-300);
  font-size: 14px;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

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

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--cyan-500);
}

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

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 28px;
  align-items: center;
  margin-top: -42px;
  padding: 28px;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.search-panel p {
  margin: 0;
  color: var(--slate-600);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.dark-band .section-heading h2 {
  color: var(--white);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-500);
}

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

.section-more {
  color: var(--cyan-600);
  font-weight: 700;
  white-space: nowrap;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

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

.movie-poster,
.large-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-200);
}

.movie-poster {
  aspect-ratio: 2 / 3;
}

.movie-poster img,
.large-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-pulse,
.large-play,
.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.28);
}

.play-pulse::after,
.large-play::after,
.player-button::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--white);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-info {
  padding: 16px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--slate-500);
  font-size: 12px;
  margin-bottom: 8px;
}

.movie-meta a,
.movie-meta b {
  color: var(--white);
  background: var(--cyan-500);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--cyan-600);
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
}

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

.tag-row span {
  padding: 4px 8px;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 999px;
  font-size: 12px;
}

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

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

.movie-card-large {
  min-height: 260px;
  background: transparent;
}

.large-cover {
  height: 100%;
  min-height: 280px;
  border-radius: 22px;
}

.large-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.42), transparent);
}

.large-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: var(--white);
}

.large-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.large-copy small {
  color: var(--slate-300);
}

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

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 170px 1fr;
}

.movie-card-horizontal .movie-poster {
  aspect-ratio: auto;
  min-height: 230px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.editor-stack {
  display: grid;
  gap: 18px;
}

.ranking-box,
.sidebar-card,
.text-card,
.player-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.ranking-box {
  padding: 22px;
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ranking-title h2 {
  margin: 0;
  font-size: 22px;
}

.ranking-title a {
  color: var(--cyan-600);
  font-size: 14px;
  font-weight: 700;
}

.ranking-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ranking-box li a {
  display: grid;
  grid-template-columns: 28px 56px 1fr;
  gap: 12px;
  align-items: center;
}

.rank-number {
  color: var(--cyan-600);
  font-weight: 900;
  text-align: center;
}

.ranking-box img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--slate-200);
}

.ranking-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.ranking-box small {
  color: var(--slate-500);
}

.category-band {
  background: var(--slate-100);
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

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

.category-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.32));
}

.category-card strong,
.category-card small,
.category-card p {
  position: relative;
  z-index: 2;
}

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

.category-card small {
  color: var(--cyan-300);
  font-weight: 700;
}

.category-card p {
  margin: 8px 0 0;
  color: var(--slate-200);
  font-size: 14px;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.22), transparent 36%),
    linear-gradient(135deg, var(--slate-900), var(--slate-950));
}

.sub-hero {
  padding: 72px 0;
}

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

.breadcrumb a:hover {
  color: var(--cyan-400);
}

.sub-hero h1,
.detail-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.sub-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-200);
  font-size: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 190px));
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.detail-hero {
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: 90px 0 56px;
}

.detail-bg,
.detail-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.02);
}

.detail-layer {
  background:
    linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.32)),
    radial-gradient(circle at 75% 30%, rgba(6, 182, 212, 0.25), transparent 36%);
}

.detail-head {
  position: relative;
  z-index: 2;
}

.detail-intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: end;
}

.detail-poster {
  width: 220px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
}

.detail-intro p {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--slate-200);
  font-size: 18px;
}

.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.text-card {
  padding: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--slate-950);
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(2, 6, 23, 0.42);
  cursor: pointer;
  z-index: 5;
}

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

.player-button {
  width: 76px;
  height: 76px;
}

.player-button::after {
  left: 31px;
  top: 23px;
  border-top-width: 15px;
  border-bottom-width: 15px;
  border-left-width: 23px;
}

.player-card h2,
.text-card h2,
.sidebar-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.player-card p,
.text-card p {
  margin: 0;
  color: var(--slate-700);
  white-space: pre-line;
}

.info-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--slate-200);
}

.info-table div {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--white);
}

.info-table dt,
.info-table dd {
  margin: 0;
  padding: 12px 14px;
}

.info-table dt {
  color: var(--slate-500);
  background: var(--slate-50);
  font-weight: 700;
}

.related-sidebar {
  position: sticky;
  top: 112px;
}

.sidebar-card {
  padding: 20px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
}

.related-item img {
  width: 90px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--slate-200);
}

.related-item strong {
  display: block;
  line-height: 1.35;
}

.related-item small {
  color: var(--slate-500);
}

.rankings-page {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.sticky-rank {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 130px);
  overflow: auto;
}

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

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand strong {
  font-size: 22px;
}

.site-footer p {
  max-width: 440px;
  color: var(--slate-400);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
}

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

.site-footer a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  color: var(--slate-500);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: var(--slate-900);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    box-shadow: var(--shadow-strong);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .split-section,
  .detail-layout,
  .rankings-page {
    grid-template-columns: 1fr;
  }

  .related-sidebar,
  .sticky-rank {
    position: static;
    max-height: none;
  }
}

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

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

  .brand-copy small {
    display: none;
  }

  .header-search,
  .big-search {
    flex-direction: column;
  }

  .hero-carousel {
    min-height: 560px;
    height: 76vh;
  }

  .hero-content {
    bottom: 76px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .section-heading {
    display: grid;
  }

  .movie-grid,
  .compact-grid,
  .full-grid,
  .large-grid,
  .horizontal-grid,
  .category-grid,
  .footer-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .movie-card-horizontal .movie-poster {
    min-height: 186px;
  }

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

  .detail-poster {
    width: 160px;
  }

  .info-table div {
    grid-template-columns: 96px 1fr;
  }

  .player-card,
  .text-card,
  .ranking-box,
  .sidebar-card {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner,
  .header-search-wrap,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

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

  .movie-card-horizontal .movie-poster {
    aspect-ratio: 2 / 3;
  }
}
