:root {
  color-scheme: light;
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface-soft: #fff8ed;
  --stone-950: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --shadow-soft: 0 18px 55px rgba(68, 64, 60, 0.12);
  --shadow-card: 0 12px 28px rgba(68, 64, 60, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--stone-800);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(22, 101, 52, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffbeb 0%, var(--bg) 42%, #f5efe6 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(180, 83, 9, 0.12);
  background: rgba(255, 251, 235, 0.86);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
  box-shadow: 0 12px 22px rgba(217, 119, 6, 0.25);
}

.brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--stone-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transition: right 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-search {
  position: relative;
  width: min(250px, 22vw);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.search-page-form input {
  width: 100%;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--stone-800);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input {
  padding: 11px 48px 11px 18px;
}

.header-search button,
.mobile-search button,
.big-search button,
.search-page-form button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 999px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-bar input:focus,
.search-page-form input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--stone-800);
}

.mobile-panel {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-search input {
  padding: 12px 16px;
}

.mobile-search button {
  border-radius: 999px;
  padding: 0 18px;
}

.mobile-link {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(214, 211, 209, 0.65);
  color: var(--stone-700);
  font-weight: 700;
}

main {
  min-height: 68vh;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: var(--stone-950);
}

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

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

.hero-slide__bg,
.detail-hero::before {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  filter: blur(1px);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.58) 46%, rgba(28, 25, 23, 0.16)),
    linear-gradient(0deg, rgba(28, 25, 23, 0.76), transparent 56%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 100px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slide .eyebrow,
.detail-info .breadcrumbs,
.detail-info .detail-meta {
  color: var(--amber-100);
}

.hero-slide h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.75;
}

.hero-tags,
.detail-tags,
.movie-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 26px;
}

.hero-tags span,
.detail-tags span,
.movie-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.header-search button:hover,
.big-search button:hover,
.search-page-form button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.24);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: absolute;
  z-index: 2;
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 58px;
  width: min(280px, 24vw);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 34px 75px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

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

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

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

.hero-dots button.is-active {
  background: var(--amber-600);
}

.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 42px auto;
}

.home-search-panel,
.category-panel,
.content-card,
.player-card,
.side-card,
.filter-shell,
.search-page-form,
.index-bucket {
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.home-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin-top: -54px;
  position: relative;
  z-index: 8;
  padding: 30px;
}

.home-search-panel h2,
.section-title h2,
.category-panel h2,
.page-hero h1,
.content-card h2,
.player-card h2,
.side-card h2,
.index-bucket h2 {
  margin: 0;
  color: var(--stone-800);
  letter-spacing: -0.04em;
}

.home-search-panel h2,
.section-title h2,
.category-panel h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.home-search-panel p,
.page-hero p,
.content-card p {
  color: var(--stone-600);
  line-height: 1.8;
}

.big-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.big-search input,
.search-page-form input {
  min-height: 54px;
  padding: 0 18px;
}

.big-search button,
.search-page-form button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
}

.quick-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-pills a,
.filter-bar button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-weight: 800;
  border: 1px solid rgba(217, 119, 6, 0.18);
}

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

.section-title a {
  color: var(--amber-700);
  font-weight: 900;
}

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

.movie-card {
  min-width: 0;
}

.movie-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(22, 101, 52, 0.14));
  box-shadow: var(--shadow-card);
}

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

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

.movie-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58));
}

.movie-card__badges {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card-type,
.card-rank {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(217, 119, 6, 0.9);
  backdrop-filter: blur(8px);
}

.card-rank {
  background: rgba(22, 101, 52, 0.92);
}

.movie-card__body {
  padding: 13px 2px 0;
}

.movie-card__body h2 {
  display: -webkit-box;
  min-height: 2.86em;
  margin: 0;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 17px;
  line-height: 1.43;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__body h2 a:hover {
  color: var(--amber-700);
}

.movie-card__meta {
  margin: 8px 0 0;
  color: var(--stone-500);
  font-size: 13px;
}

.movie-card__desc {
  display: -webkit-box;
  min-height: 3.36em;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.68;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__tags {
  margin-top: 10px;
}

.movie-card__tags span {
  color: var(--green-800);
  background: rgba(22, 101, 52, 0.1);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(68, 64, 60, 0.08);
}

.rank-item:hover {
  transform: translateX(4px);
}

.rank-item__num {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
}

.rank-item img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

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

.rank-item__text small {
  display: block;
  margin-top: 6px;
  color: var(--stone-500);
}

.category-panel {
  padding: 26px;
}

.category-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.category-tile {
  display: block;
  padding: 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(22, 101, 52, 0.86));
  box-shadow: 0 12px 24px rgba(21, 128, 61, 0.18);
}

.category-tile span {
  display: block;
  opacity: 0.78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-tile strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(28, 25, 23, 0.94), rgba(120, 53, 15, 0.84)),
    radial-gradient(circle at right top, rgba(22, 101, 52, 0.4), transparent 32rem);
}

.page-hero > div {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 70px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.filter-shell {
  padding: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-bar input {
  flex: 1 1 280px;
  min-height: 42px;
  padding: 0 16px;
}

.filter-bar button {
  border: 0;
  cursor: pointer;
}

.filter-bar button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
}

.search-page-form {
  margin-bottom: 24px;
  padding: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #ffffff;
  background: var(--stone-950);
}

.detail-hero::before {
  content: "";
  background-image: var(--detail-bg);
}

.detail-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.62) 52%, rgba(28, 25, 23, 0.42)),
    linear-gradient(0deg, rgba(28, 25, 23, 0.78), transparent 56%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.breadcrumbs {
  margin: 0;
  font-weight: 800;
}

.detail-lead {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  margin: 22px 0 28px;
}

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

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

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

.video-shell {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 32px;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.content-card p {
  margin: 16px 0 0;
  font-size: 17px;
}

.side-card .movie-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.movie-card--compact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
}

.movie-card--compact .movie-card__cover {
  border-radius: 16px;
}

.movie-card--compact .movie-card__desc,
.movie-card--compact .movie-card__tags {
  display: none;
}

.movie-card--compact .movie-card__body {
  padding-top: 0;
}

.movie-card--compact .movie-card__body h2 {
  font-size: 15px;
}

.sitemap-shell {
  display: grid;
  gap: 20px;
}

.index-bucket {
  padding: 22px;
}

.index-bucket h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

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

.text-link-grid a {
  overflow: hidden;
  color: var(--stone-700);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-link-grid a:hover {
  color: var(--amber-700);
}

.site-footer {
  margin-top: 72px;
  padding: 46px 0 28px;
  color: var(--stone-600);
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(217, 119, 6, 0.12);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--stone-800);
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: var(--stone-600);
}

.site-footer a:hover {
  color: var(--amber-700);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 211, 209, 0.72);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-poster {
    opacity: 0.42;
  }

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

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

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

@media (max-width: 760px) {
  .hero-carousel,
  .hero-slide__content {
    min-height: 560px;
  }

  .hero-poster {
    display: none;
  }

  .home-search-panel,
  .big-search,
  .search-page-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .detail-side .movie-grid,
  .text-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-card__desc {
    display: none;
  }

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

  .detail-poster {
    width: min(230px, 66vw);
  }

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

@media (max-width: 460px) {
  .site-header__inner,
  .section-shell,
  .page-hero > div,
  .detail-hero__inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, var(--max));
  }

  .brand__name {
    font-size: 18px;
  }

  .movie-grid,
  .text-link-grid {
    grid-template-columns: 1fr;
  }

  .movie-card--compact {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}
