:root {
  --color-bg: #fff7ed;
  --color-bg-soft: #fffbeb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: rgba(251, 146, 60, 0.22);
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-rose: #f43f5e;
  --color-card: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 20px 45px rgba(120, 53, 15, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.20), transparent 32rem),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff1f2 100%);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-main {
  min-height: 60vh;
}

.container-wide,
.container-narrow {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 32px, 920px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(251, 146, 60, 0.20);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #fb923c, #fb7185);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

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

.brand-copy strong {
  font-size: 1.22rem;
  background: linear-gradient(90deg, #ea580c, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  color: var(--color-muted);
  font-size: 0.74rem;
}

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

.nav-link {
  padding: 8px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
  background: #ffedd5;
  transform: translateY(-1px);
}

.nav-link.subtle {
  font-weight: 600;
  color: #6b7280;
}

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

.header-search input,
.mobile-search input,
.big-search input,
.search-page-form input,
.filter-toolbar input,
.filter-toolbar select {
  border: 1px solid rgba(251, 146, 60, 0.30);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 190px;
  padding: 9px 14px;
}

.header-search button,
.mobile-search button,
.big-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f43f5e);
  font-weight: 800;
  padding: 9px 16px;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.20);
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.search-page-form input:focus,
.filter-toolbar input:focus,
.filter-toolbar select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #7c2d12;
  background: #ffedd5;
  font-size: 1.35rem;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.hero-carousel {
  position: relative;
  width: min(100% - 32px, var(--container));
  margin: 30px auto 24px;
  overflow: hidden;
  min-height: 520px;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow-soft);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform: scale(1.02);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.60), transparent 50%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: center;
  padding: 54px;
  color: #ffffff;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fb923c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

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

.hero-tags span,
.detail-tags a,
.tag-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.tag-row {
  margin-top: 10px;
}

.tag-row span {
  background: #ffedd5;
  color: #c2410c;
}

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

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

.primary-button {
  min-height: 44px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f43f5e);
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.28);
}

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

.primary-button.full {
  width: 100%;
}

.primary-button.light {
  background: #ffffff;
  color: #ea580c;
}

.ghost-button {
  min-height: 44px;
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-controls button {
  pointer-events: auto;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 1.7rem;
}

.hero-dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

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

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

.stats-strip {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-strip div,
.search-panel,
.prose-card,
.table-card,
.detail-card,
.ranking-panel {
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: var(--radius-xl);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.stats-strip div {
  padding: 22px;
  text-align: center;
}

.stats-strip strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 2rem;
  line-height: 1;
}

.stats-strip span {
  color: var(--color-muted);
  font-weight: 700;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 28px;
  margin-bottom: 58px;
}

.search-panel h2,
.section-heading h2,
.page-hero h1,
.ranking-panel h2,
.detail-card h2,
.table-card h2,
.prose-card h2 {
  margin: 0;
  color: #111827;
  line-height: 1.2;
}

.search-panel h2,
.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.search-panel p,
.section-heading p,
.page-hero p,
.category-card p,
.movie-copy p,
.prose-card p {
  color: var(--color-muted);
}

.big-search input,
.search-page-form input {
  width: 100%;
  padding: 14px 18px;
}

.big-search button,
.search-page-form button {
  padding: 14px 24px;
  flex-shrink: 0;
}

.content-section {
  margin-block: 58px;
}

.muted-section {
  padding: 58px 0;
  background: rgba(255, 255, 255, 0.48);
}

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

.section-more,
.text-link {
  color: var(--color-primary-dark);
  font-weight: 900;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 230px;
  padding: 22px;
  color: #ffffff;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.22));
}

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

.category-card span {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  font-weight: 900;
}

.category-card h3 {
  margin: 82px 0 8px;
  font-size: 1.45rem;
}

.category-card p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 58%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.88);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 9px;
}

.poster-badge {
  right: 10px;
  background: linear-gradient(135deg, #f97316, #f43f5e);
}

.rank-badge {
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
}

.movie-copy {
  padding: 14px;
}

.movie-copy h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.movie-copy h3 a:hover {
  color: var(--color-primary-dark);
}

.movie-copy p {
  min-height: 3.1em;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.88rem;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  color: #6b7280;
  font-size: 0.8rem;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #cbd5e1;
}

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

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

.ranking-panel ol {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
}

.ranking-panel li strong {
  color: var(--color-primary-dark);
}

.ranking-panel li span {
  font-weight: 900;
}

.ranking-panel li em {
  grid-column: 2;
  color: var(--color-muted);
  font-style: normal;
  font-size: 0.82rem;
}

.cta-band {
  width: min(100% - 32px, var(--container));
  margin: 64px auto;
  padding: 54px 24px;
  text-align: center;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #e11d48);
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.cta-band p {
  max-width: 780px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  width: min(100% - 32px, var(--container));
  margin: 30px auto 34px;
  padding: 52px;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 22rem),
    linear-gradient(135deg, #f97316, #f43f5e);
  box-shadow: var(--shadow-soft);
}

.small-hero {
  min-height: 260px;
  display: grid;
  align-content: center;
}

.page-hero h1 {
  margin: 10px 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.25fr 170px 170px;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.filter-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-toolbar input,
.filter-toolbar select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
}

.filter-toolbar strong {
  display: block;
  color: #111827;
  font-size: 1.1rem;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  min-height: 220px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.92);
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-collage img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.category-overview-card h2 {
  margin: 8px 0;
}

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

.search-page-panel {
  margin-bottom: 64px;
}

.search-page-form {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.search-summary {
  color: var(--color-muted);
  font-weight: 800;
}

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

.table-card {
  padding: 26px;
  margin-bottom: 64px;
}

.table-scroll {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #fed7aa;
  text-align: left;
}

.ranking-table th {
  color: #9a3412;
  background: #fff7ed;
}

.ranking-table td:first-child {
  color: var(--color-primary-dark);
  font-weight: 900;
}

.ranking-table a {
  font-weight: 900;
}

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

.detail-breadcrumb {
  color: var(--color-muted);
  margin: 0 0 18px;
}

.detail-breadcrumb a:hover {
  color: var(--color-primary-dark);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #050505;
  box-shadow: var(--shadow-soft);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12));
  text-align: center;
}

.play-overlay span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #f43f5e);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.34);
  font-size: 1.8rem;
}

.play-overlay strong {
  font-size: 1.25rem;
}

.play-overlay small {
  color: rgba(255, 255, 255, 0.78);
}

.player-shell.is-playing .play-overlay {
  display: none;
}

.player-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
}

.player-shell.is-playing .player-status {
  opacity: 0;
  pointer-events: none;
}

.detail-card {
  padding: 24px;
  margin-top: 22px;
}

.main-detail-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.lead-text {
  color: #4b5563;
  font-size: 1.08rem;
}

.detail-tags a {
  color: #c2410c;
  background: #ffedd5;
}

.main-detail-card h2 {
  margin-top: 28px;
  font-size: 1.45rem;
}

.main-detail-card p {
  color: #374151;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
}

.poster-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.poster-card .primary-button {
  border-radius: 0;
}

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

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fed7aa;
}

.meta-list span {
  color: var(--color-muted);
}

.meta-list strong {
  text-align: right;
}

.next-prev-card {
  display: grid;
  gap: 10px;
}

.next-prev-card a {
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
}

.prose-card {
  padding: 34px;
  margin-bottom: 64px;
}

.site-footer {
  margin-top: 72px;
  color: #d1d5db;
  background: #111827;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: #9ca3af;
}

.site-footer a:hover {
  color: #fb923c;
}

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

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9ca3af;
  font-size: 0.9rem;
}

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

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-content {
    grid-template-columns: 1fr 230px;
    padding: 34px;
  }

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

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

  .detail-sidebar,
  .ranking-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .brand-copy small {
    display: none;
  }

  .hero-carousel {
    min-height: 660px;
    border-radius: 22px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 28px;
  }

  .hero-poster {
    width: 180px;
    margin-top: 10px;
  }

  .hero-controls {
    left: 18px;
    right: 18px;
  }

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

  .search-panel,
  .section-heading,
  .filter-toolbar,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .top-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .top-ranking-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .movie-copy p {
    min-height: auto;
  }
}
