:root {
  --stone-50: #f8f7f4;
  --stone-100: #efede6;
  --stone-200: #ddd9cc;
  --stone-300: #c5bfad;
  --stone-500: #998d73;
  --stone-600: #8b7d67;
  --stone-700: #746957;
  --earth-100: #ede3d9;
  --earth-600: #9b5f3c;
  --earth-700: #814e34;
  --earth-800: #6a4130;
  --earth-900: #573729;
  --bronze-100: #f1ede3;
  --bronze-300: #d0bd9f;
  --bronze-500: #a68558;
  --bronze-600: #98724c;
  --bronze-700: #7e5d41;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(87, 55, 41, 0.16);
  --soft-shadow: 0 10px 24px rgba(87, 55, 41, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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(106, 65, 48, 0.96);
  color: var(--stone-50);
  box-shadow: 0 10px 24px rgba(43, 24, 17, 0.18);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover,
.footer-brand:hover {
  color: var(--bronze-300);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bronze-500), var(--earth-600));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
}

.nav-link {
  position: relative;
  color: rgba(248, 247, 244, 0.9);
  transition: color 0.2s ease;
}

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

.nav-link-soft {
  opacity: 0.84;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(208, 189, 159, 0.36), transparent 38%),
    linear-gradient(135deg, var(--earth-800), var(--earth-700) 48%, var(--bronze-700));
}

.hero-glow {
  position: absolute;
  inset: auto -16% -32% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(208, 189, 159, 0.24);
  filter: blur(50px);
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 56px;
  align-items: center;
  padding: 76px 0;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 720px;
  color: rgba(248, 247, 244, 0.86);
  font-size: 19px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--bronze-300);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--bronze-600);
}

.hero-search {
  display: flex;
  max-width: 560px;
  margin-top: 30px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  padding: 12px 16px;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.hero-search button,
.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-search button,
.primary-btn {
  border: 0;
  color: white;
  background: var(--bronze-500);
  padding: 13px 22px;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.hero-search button:hover,
.primary-btn:hover {
  background: var(--bronze-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.ghost-btn {
  color: white;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

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

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

.hero-cats a,
.detail-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-cats a {
  color: var(--stone-50);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-cats a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-slider {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(22px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

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

.hero-poster {
  display: block;
  height: 520px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-card-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 22px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, rgba(87, 55, 41, 0.88), rgba(87, 55, 41, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-card-copy span {
  color: var(--bronze-300);
  font-size: 13px;
  font-weight: 800;
}

.hero-card-copy h2 {
  margin: 8px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.hero-card-copy p {
  margin: 0;
  color: rgba(248, 247, 244, 0.84);
}

.hero-dots {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 24px;
  background: var(--bronze-300);
}

.section {
  padding: 64px 0;
}

.soft-section {
  background: var(--stone-100);
}

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--earth-900);
}

.section-heading a,
.text-link {
  color: var(--bronze-700);
  font-weight: 800;
}

.section-heading a:hover,
.text-link:hover {
  color: var(--earth-800);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(106, 65, 48, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--earth-100);
}

.movie-card-large .poster-link {
  aspect-ratio: 16 / 10;
}

.poster-link img,
.rank-thumb img,
.category-overview-media img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img,
.rank-item:hover .rank-thumb img,
.category-overview-card:hover img {
  transform: scale(1.055);
}

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(87, 55, 41, 0.78);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bronze-500);
  color: white;
  box-shadow: var(--soft-shadow);
}

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

.movie-meta-line {
  display: flex;
  gap: 10px;
  color: var(--stone-600);
  font-size: 13px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 8px 0;
  color: var(--earth-900);
  font-size: 18px;
  line-height: 1.28;
}

.movie-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 14px;
}

.tag-row,
.detail-tags,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags span {
  color: var(--bronze-700);
  background: var(--bronze-100);
}

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

.category-tile {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius);
  color: white;
  background:
    radial-gradient(circle at top right, rgba(208, 189, 159, 0.3), transparent 42%),
    linear-gradient(135deg, var(--earth-800), var(--earth-600));
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
  color: var(--bronze-300);
  font-weight: 900;
}

.category-tile strong {
  font-size: 17px;
  line-height: 1.5;
}

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

.rank-panel,
.article-card,
.info-card,
.filter-panel,
.category-overview-card {
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(106, 65, 48, 0.08);
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.rank-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--stone-50);
}

.rank-number {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--earth-800);
  font-weight: 900;
}

.rank-thumb {
  width: 72px;
  height: 92px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--earth-100);
}

.rank-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
}

.rank-item p {
  margin: 0;
  color: var(--stone-700);
  font-size: 13px;
}

.rank-item span {
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 700;
}

.editor-section {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 86px 0;
  background: var(--earth-900);
}

.editor-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.editor-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.editor-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(87, 55, 41, 0.96), rgba(87, 55, 41, 0.78));
}

.editor-content {
  position: relative;
  z-index: 1;
}

.editor-content h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

.editor-card {
  display: block;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.editor-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.editor-card span {
  color: var(--bronze-300);
  font-weight: 800;
}

.editor-card h3 {
  margin: 12px 0 10px;
  font-size: 26px;
}

.editor-card p {
  margin: 0;
  color: rgba(248, 247, 244, 0.82);
}

.page-hero {
  color: white;
  background:
    radial-gradient(circle at top right, rgba(208, 189, 159, 0.22), transparent 44%),
    linear-gradient(135deg, var(--earth-800), var(--earth-700) 58%, var(--bronze-700));
}

.slim-hero .container,
.category-hero .container {
  padding: 76px 0;
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(248, 247, 244, 0.84);
  font-size: 18px;
}

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

.category-overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
}

.category-overview-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-media img {
  aspect-ratio: 1;
  background: var(--earth-100);
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.category-overview-card p {
  color: var(--stone-700);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 160px 160px;
  gap: 16px;
  padding: 20px;
  margin-bottom: 28px;
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--stone-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(106, 65, 48, 0.14);
  border-radius: 14px;
  background: var(--stone-50);
  color: var(--earth-900);
  outline: 0;
  padding: 12px 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--bronze-500);
  box-shadow: 0 0 0 3px rgba(166, 133, 88, 0.16);
}

.empty-state {
  display: none;
  margin: 22px 0;
  padding: 22px;
  border-radius: 18px;
  text-align: center;
  color: var(--stone-700);
  background: var(--stone-100);
}

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

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

.podium-grid .movie-card:nth-child(1) {
  outline: 3px solid rgba(166, 133, 88, 0.22);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--earth-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(87, 55, 41, 0.98), rgba(87, 55, 41, 0.72));
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(248, 247, 244, 0.72);
  font-size: 14px;
}

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

.detail-meta span {
  color: var(--stone-50);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lead-text {
  max-width: 800px;
  margin: 24px 0 0;
  color: rgba(248, 247, 244, 0.86);
  font-size: 20px;
}

.watch-section {
  padding-bottom: 28px;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(9, 7, 6, 0.18), rgba(9, 7, 6, 0.68));
  cursor: pointer;
  transition: opacity 0.22s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bronze-500);
  color: white;
  font-size: 34px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
  font-size: 22px;
  letter-spacing: 0.08em;
}

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

.article-card,
.info-card {
  padding: 30px;
}

.article-card h2,
.info-card h2 {
  margin: 0 0 16px;
  color: var(--earth-900);
  font-size: 26px;
}

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

.article-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 17px;
  line-height: 1.9;
}

.info-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 18px;
  margin: 0;
}

.info-card dt {
  color: var(--stone-500);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: var(--earth-900);
}

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

.site-footer {
  color: var(--stone-200);
  background: var(--earth-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 44px;
  padding: 52px 0;
}

.footer-brand {
  color: var(--bronze-300);
  font-size: 22px;
}

.site-footer p {
  max-width: 420px;
  color: var(--stone-300);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--bronze-300);
}

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

.footer-links a {
  color: var(--stone-200);
}

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

.footer-bottom {
  border-top: 1px solid rgba(248, 247, 244, 0.1);
  padding: 20px 16px;
  text-align: center;
  color: var(--stone-300);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .catalog-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .split-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: var(--earth-800);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .hero-shell {
    padding: 52px 0;
  }

  .hero-slider {
    min-height: 440px;
  }

  .hero-poster {
    height: 440px;
  }

  .category-grid,
  .movie-grid-featured,
  .editor-grid,
  .category-overview-grid,
  .rank-full-section .rank-list-full,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .brand,
  .footer-brand {
    font-size: 20px;
  }

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

  .hero-copy p,
  .page-hero p,
  .lead-text {
    font-size: 16px;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-slider {
    min-height: 380px;
  }

  .hero-poster {
    height: 380px;
  }

  .hero-card-copy {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .hero-card-copy h2 {
    font-size: 22px;
  }

  .movie-grid,
  .movie-grid-small,
  .catalog-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .movie-card p {
    display: none;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading a {
    display: inline-flex;
    margin-top: 12px;
  }

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

  .detail-hero-grid {
    gap: 28px;
    padding: 46px 0;
  }

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

  .article-card,
  .info-card {
    padding: 22px;
  }

  .player-box {
    border-radius: 18px;
  }

  .play-circle {
    width: 70px;
    height: 70px;
  }
}
