:root {
  color-scheme: light;
  --bg: #fffaf3;
  --bg-soft: #fff7ed;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --muted-strong: #4b5563;
  --line: #f1d8c6;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-800: #92400e;
  --green-600: #16a34a;
  --blue-600: #2563eb;
  --shadow-sm: 0 8px 20px rgba(127, 29, 29, 0.08);
  --shadow-md: 0 16px 36px rgba(127, 29, 29, 0.14);
  --shadow-xl: 0 28px 70px rgba(127, 29, 29, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 32px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(254, 226, 226, 0.9), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(248, 181, 146, 0.42);
  box-shadow: 0 8px 32px rgba(127, 29, 29, 0.08);
}

.site-header__inner {
  width: var(--container);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red-700), var(--amber-600));
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.25);
}

.brand__text {
  font-size: 1.18rem;
  color: var(--red-800);
}

.brand--footer .brand__text {
  color: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--red-700);
  background: var(--red-50);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-700);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #ffffff;
  isolation: isolate;
  background: linear-gradient(110deg, var(--red-900), var(--red-800) 48%, var(--amber-800));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.2) 50px,
    rgba(255, 255, 255, 0.2) 51px
  );
  background-size: 100% 51px;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  background-image:
    linear-gradient(90deg, rgba(69, 10, 10, 0.92), rgba(127, 29, 29, 0.72) 48%, rgba(146, 64, 14, 0.62)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide__inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 56px;
  padding: 86px 0 104px;
}

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

.hero-eyebrow,
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.hero p {
  margin: 0;
  max-width: 690px;
  color: #fee2e2;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--red-900);
  background: linear-gradient(135deg, #ffffff, var(--amber-100));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.button--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-poster-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: 34px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.hero-poster-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-slide.is-active .hero-poster-card img {
  transform: scale(1.04);
}

.hero-poster-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.hero-poster-card__caption strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.15;
}

.hero-poster-card__caption span {
  display: block;
  margin-top: 8px;
  color: #fed7aa;
  font-size: 0.92rem;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

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

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

.stats-strip {
  width: var(--container);
  margin: -44px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(254, 215, 170, 0.9);
}

.stat-card strong {
  display: block;
  color: var(--red-800);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: linear-gradient(90deg, var(--red-50), var(--amber-50));
}

.section--gray {
  background: linear-gradient(180deg, #f9fafb, #ffffff);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.section-heading__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
}

.section-heading p {
  grid-column: 1 / -1;
  margin: -12px 0 0;
  color: var(--muted);
}

.section-heading__line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-600), transparent);
}

.section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.22);
}

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

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

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

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

.movie-card__link {
  display: grid;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card__link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.36);
}

.movie-card__poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(127, 29, 29, 0.95), rgba(217, 119, 6, 0.78)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
}

.movie-card--compact .movie-card__poster {
  aspect-ratio: 16 / 10;
}

.movie-card__poster img,
.mini-card__poster img,
.related-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.movie-card__link:hover .movie-card__poster img,
.mini-card:hover .mini-card__poster img,
.related-card:hover .related-card__poster img {
  transform: scale(1.09);
}

.poster-image.is-missing {
  display: none;
}

.movie-card__meta-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 800;
}

.rank-badge,
.mini-rank {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 10px 22px rgba(127, 29, 29, 0.28);
  font-weight: 900;
}

.movie-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.movie-card__body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.35;
}

.movie-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

.movie-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.movie-card__info span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.mini-card {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.3);
}

.mini-card__poster {
  position: relative;
  width: 120px;
  flex: 0 0 120px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--red-800), var(--amber-600));
}

.mini-card__content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
}

.mini-card__content strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card__content span {
  color: var(--red-700);
  font-size: 0.83rem;
  font-weight: 800;
}

.mini-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(153, 27, 27, 0.98), rgba(217, 119, 6, 0.88));
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile::after {
  content: "";
  position: absolute;
  width: 128px;
  height: 128px;
  right: -38px;
  bottom: -44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
}

.category-tile strong {
  display: block;
  margin-top: 18px;
  font-size: 1.7rem;
  line-height: 1.12;
}

.category-tile small {
  display: block;
  margin-top: 10px;
  color: #ffedd5;
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(110deg, var(--red-900), var(--red-800) 55%, var(--amber-800));
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 44px,
    rgba(255, 255, 255, 0.22) 44px,
    rgba(255, 255, 255, 0.22) 45px
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 74px 0;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: #fee2e2;
  font-size: 1.1rem;
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.34);
  box-shadow: var(--shadow-sm);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #f5c6a5;
  border-radius: 14px;
  padding: 0 14px;
  outline: 0;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

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

.filter-panel__result {
  margin: 0;
  color: var(--red-700);
  font-weight: 800;
}

.detail-shell {
  padding: 34px 0 78px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--red-700);
  font-weight: 800;
}

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

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.player-panel,
.detail-card,
.sidebar-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

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

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.18)),
    var(--poster-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-start {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: transparent;
  text-align: center;
}

.player-start__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  font-size: 2.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.player-start:hover .player-start__icon {
  transform: scale(1.08);
}

.player-start strong {
  font-size: 1.25rem;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fef3c7;
  font-size: 0.9rem;
}

.detail-card {
  margin-top: 26px;
  padding: 30px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tag,
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.info-pill--hot,
.tag--hot {
  color: var(--red-700);
  background: var(--red-100);
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f0d7c4;
  color: var(--muted-strong);
  font-weight: 700;
}

.content-block {
  margin-top: 28px;
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.content-block p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.95;
  text-align: justify;
}

.review-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(90deg, var(--amber-50), var(--red-50));
  border-left: 5px solid var(--red-600);
}

.review-box h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.sidebar-card {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.sidebar-card h2 {
  margin: 0 0 18px;
  font-size: 1.22rem;
}

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

.related-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: var(--red-50);
}

.related-card__poster {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--red-800), var(--amber-600));
}

.related-card__content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.related-card__content strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-card__content span {
  color: var(--muted);
  font-size: 0.82rem;
}

.related-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.search-app {
  display: grid;
  gap: 24px;
}

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

.empty-state {
  display: none;
  padding: 40px;
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.cta-panel {
  overflow: hidden;
  padding: 46px;
  border-radius: 32px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(110deg, var(--red-800), var(--amber-800));
  box-shadow: var(--shadow-xl);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta-panel p {
  margin: 0 auto 26px;
  max-width: 720px;
  color: #fee2e2;
  line-height: 1.8;
}

.site-footer {
  color: #ffffff;
  background: #1f2937;
}

.site-footer__inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.8fr;
  gap: 40px;
  padding: 52px 0 38px;
}

.footer-about p,
.footer-links a {
  color: #d1d5db;
}

.footer-about p {
  max-width: 460px;
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: #ffffff;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-category-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-category-cloud span {
  color: #fed7aa;
}

.site-footer__bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .movie-grid,
  .search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .mini-list,
  .category-grid,
  .category-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .mobile-menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
  }

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

  .site-nav a {
    border-radius: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-slide__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 0 96px;
  }

  .hero-poster-card,
  .hero-poster-card img {
    min-height: 300px;
  }

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

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

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

  .site-header__inner {
    min-height: 64px;
  }

  .brand__text {
    font-size: 1rem;
  }

  .site-nav {
    top: 64px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-actions,
  .detail-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .stats-strip,
  .movie-grid,
  .movie-grid--three,
  .movie-grid--compact,
  .mini-list,
  .category-grid,
  .category-cloud,
  .search-results {
    grid-template-columns: 1fr;
  }

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

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

  .detail-card,
  .cta-panel {
    padding: 22px;
  }

  .page-hero__content {
    padding: 48px 0;
  }
}
