:root {
  --earth-900: #504035;
  --earth-800: #604c40;
  --earth-700: #745b4b;
  --earth-600: #8d6f59;
  --earth-500: #9a7e66;
  --earth-100: #ede9e4;
  --earth-50: #f7f6f4;
  --sand-700: #9a7540;
  --sand-600: #b8904d;
  --sand-500: #c8a56a;
  --sand-300: #e6d5b3;
  --sand-200: #f0e7d3;
  --sand-100: #f8f4ea;
  --sand-50: #fdfbf7;
  --desert-700: #b35a26;
  --desert-600: #d66f2e;
  --desert-500: #e88c45;
  --desert-100: #fdf2e5;
  --desert-50: #fef9f3;
  --dune-900: #583f31;
  --white: #ffffff;
  --shadow-card: 0 10px 30px rgba(80, 64, 53, 0.10);
  --shadow-soft: 0 18px 45px rgba(80, 64, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--earth-900);
  background: linear-gradient(180deg, var(--sand-50), #ffffff 42%, var(--earth-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  border-bottom: 1px solid var(--sand-200);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--desert-500), var(--sand-600));
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(214, 111, 46, 0.26);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  color: var(--desert-700);
  letter-spacing: -0.04em;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--earth-600);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--earth-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: var(--sand-100);
}

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

.mobile-nav {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--sand-200);
  background: rgba(253, 251, 247, 0.98);
}

.mobile-nav.open {
  display: grid;
  gap: 10px;
  animation: fadeIn 0.24s ease;
}

.mobile-nav a {
  padding: 10px 2px;
  color: var(--earth-700);
  font-weight: 650;
}

.hero-slider {
  position: relative;
  height: 600px;
  min-height: 520px;
  overflow: hidden;
  background: var(--earth-900);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  padding: 7px 16px;
  color: #ffffff;
  background: rgba(214, 111, 46, 0.9);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--sand-100);
  font-size: clamp(17px, 2.2vw, 22px);
}

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

.btn-primary,
.btn-ghost,
.btn-light,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  padding: 14px 28px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--desert-600), var(--desert-500));
  box-shadow: 0 16px 34px rgba(214, 111, 46, 0.34);
}

.btn-ghost {
  padding: 13px 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-light:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--sand-200);
  font-size: 14px;
}

.hero-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 34px;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.52);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

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

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

.hero-dot.active {
  width: 40px;
  background: #ffffff;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 7;
  transform: translateX(-50%);
}

.hero-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.hero-search-box input {
  width: min(420px, 52vw);
  padding: 12px 18px;
  color: #ffffff;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

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

.hero-search-box a {
  white-space: nowrap;
  padding: 10px 14px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.section {
  padding: 70px 0;
}

.soft-section {
  background: linear-gradient(180deg, var(--sand-50), #ffffff);
}

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

.section-head > div {
  min-width: 0;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--desert-500), var(--sand-600));
  border-radius: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: var(--earth-900);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--earth-600);
}

.section-more {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: var(--desert-600);
  background: var(--desert-50);
}

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

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

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

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

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

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(240, 231, 211, 0.85);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-cover {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: var(--sand-100);
}

.movie-card.large .card-cover {
  height: 330px;
}

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

.card-link:hover .card-cover img {
  transform: scale(1.1);
}

.card-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  transition: opacity 0.3s ease;
}

.card-link:hover .card-shade {
  opacity: 1;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--desert-600);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-link:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(214, 111, 46, 0.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.rank-badge {
  left: auto;
  right: 12px;
  background: rgba(0, 0, 0, 0.62);
}

.card-body {
  display: block;
  padding: 16px;
}

.card-body strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--earth-900);
  font-size: 16px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.card-link:hover .card-body strong {
  color: var(--desert-600);
}

.card-body span,
.card-body em {
  display: block;
  margin-top: 8px;
  color: var(--earth-600);
  font-style: normal;
  font-size: 13px;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 32px;
}

.mini-list,
.rank-list {
  display: grid;
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(240, 231, 211, 0.85);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-card:hover {
  background: var(--sand-50);
  transform: translateY(-2px);
}

.mini-card img {
  width: 112px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sand-100);
}

.mini-card span {
  min-width: 0;
}

.mini-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--earth-900);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-card small {
  display: block;
  margin-top: 6px;
  color: var(--earth-600);
}

.mini-rank {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: var(--desert-600);
  border-radius: 999px;
  font-weight: 900;
}

.mini-rank + img {
  margin-left: -6px;
}

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

.category-card {
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  color: var(--earth-900);
  background: linear-gradient(135deg, #ffffff, var(--sand-50));
  border: 1px solid var(--sand-200);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.category-card span {
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  color: var(--earth-600);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.category-card em {
  display: block;
  margin-top: 20px;
  color: var(--desert-600);
  font-style: normal;
  font-weight: 800;
}

.category-sections {
  display: grid;
  gap: 42px;
}

.category-strip {
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(240, 231, 211, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

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

.strip-title h2,
.strip-title h3 {
  margin: 0 0 8px;
  color: var(--earth-900);
  font-size: 28px;
}

.strip-title p {
  margin: 0;
  color: var(--earth-600);
}

.strip-title a {
  flex: 0 0 auto;
  color: var(--desert-600);
  font-weight: 800;
}

.cta-band {
  padding: 60px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, var(--earth-900), var(--dune-900));
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 42px;
}

.cta-band p {
  margin: 0 0 24px;
  color: var(--sand-200);
  font-size: 20px;
}

.btn-light {
  padding: 14px 28px;
  color: var(--earth-900);
  background: #ffffff;
}

.page-hero {
  padding: 70px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(232, 140, 69, 0.34), transparent 32%), linear-gradient(135deg, var(--earth-900), var(--dune-900));
}

.page-hero span {
  color: var(--sand-200);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--sand-100);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--sand-200);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--sand-200);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--earth-700);
  font-weight: 800;
}

.filter-panel input {
  width: 100%;
  padding: 14px 18px;
  color: var(--earth-900);
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  outline: none;
  background: var(--sand-50);
}

.filter-panel input:focus {
  border-color: var(--desert-500);
  box-shadow: 0 0 0 4px rgba(232, 140, 69, 0.14);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 9px 14px;
  color: var(--earth-700);
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  border-color: var(--desert-600);
  background: var(--desert-600);
}

.empty-state {
  display: none;
  padding: 42px;
  color: var(--earth-600);
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--sand-200);
  border-radius: 18px;
}

.empty-state.show {
  display: block;
}

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

.side-panel {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--sand-200);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.side-panel h2 {
  margin: 0 0 18px;
  color: var(--earth-900);
  font-size: 22px;
}

.detail-top {
  padding: 30px 0 48px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--earth-900), var(--dune-900));
}

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

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

.player-card,
.detail-card,
.sticky-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--sand-200);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.player-card {
  padding: 16px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 18px;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.player-button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--desert-600);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  font-size: 34px;
  transition: transform 0.2s ease;
}

.player-cover:hover .player-button {
  transform: scale(1.08);
}

.detail-card {
  padding: 30px;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-meta-row span,
.detail-meta-row a,
.tag-list span {
  padding: 6px 12px;
  color: var(--desert-700);
  background: var(--desert-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--earth-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.detail-card h2 {
  margin: 28px 0 12px;
  color: var(--earth-900);
  font-size: 23px;
}

.detail-card p {
  margin: 0;
  color: var(--earth-700);
  font-size: 17px;
}

.lead-text {
  color: var(--earth-800) !important;
  font-size: 19px !important;
  font-weight: 650;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-200);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 0;
}

.detail-facts div {
  padding: 16px;
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: 16px;
}

.detail-facts dt {
  color: var(--earth-600);
  font-size: 13px;
}

.detail-facts dd {
  margin: 6px 0 0;
  color: var(--earth-900);
  font-weight: 800;
}

.sticky-panel {
  position: sticky;
  top: 98px;
}

.site-footer {
  margin-top: 30px;
  color: var(--earth-600);
  background: #ffffff;
  border-top: 1px solid var(--sand-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 46px 0;
}

.footer-logo {
  margin-bottom: 12px;
  color: var(--desert-700);
  font-size: 24px;
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--earth-800);
  font-size: 18px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--desert-600);
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid var(--sand-200);
}

.is-hidden-by-filter {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

  .detail-side {
    order: 2;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .brand {
    min-width: 0;
  }

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

  .hero-slider {
    height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45));
  }

  .hero-content {
    align-items: end;
    padding-bottom: 130px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .hero-search-box {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .hero-search-box input {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section-head,
  .strip-title {
    align-items: start;
    flex-direction: column;
  }

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

  .card-cover,
  .movie-card.large .card-cover {
    height: 250px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

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

  .hero-copy p {
    font-size: 16px;
  }

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

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .feature-grid,
  .compact-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-cover,
  .movie-card.large .card-cover {
    height: 320px;
  }

  .mini-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .mini-card img {
    width: 96px;
  }

  .category-strip,
  .detail-card {
    padding: 20px;
  }

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
