:root {
  --cream-50: #fefdfb;
  --cream-100: #faf5eb;
  --cream-200: #f1e6d3;
  --cream-300: #e5d1b2;
  --coffee-50: #f7f2ec;
  --coffee-100: #ead9c2;
  --coffee-300: #b3926c;
  --coffee-500: #8d6b45;
  --coffee-600: #6f5536;
  --coffee-700: #54402a;
  --coffee-800: #3b2d1d;
  --coffee-900: #2a1f15;
  --ink: #2a1f15;
  --muted: #745f48;
  --white: #ffffff;
  --shadow-sm: 0 8px 22px rgba(42, 31, 21, 0.08);
  --shadow-md: 0 18px 45px rgba(42, 31, 21, 0.12);
  --shadow-lg: 0 26px 70px rgba(42, 31, 21, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream-50);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 253, 251, 0.86);
  border-bottom: 1px solid rgba(141, 107, 69, 0.16);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--coffee-900);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coffee-600), var(--coffee-300));
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
}

.brand__text small {
  color: var(--coffee-600);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  border-radius: 999px;
  color: var(--coffee-600);
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--coffee-900);
  background: var(--coffee-100);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  padding: 6px;
  border: 1px solid rgba(141, 107, 69, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--coffee-900);
  background: transparent;
  padding: 8px 10px;
}

.header-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--coffee-600);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--coffee-100);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: var(--coffee-800);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(141, 107, 69, 0.16);
  padding: 12px 16px 18px;
  background: var(--cream-50);
}

.mobile-link {
  display: block;
  padding: 13px 14px;
}

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

.btn-primary {
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coffee-600), var(--coffee-300));
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  min-height: 48px;
  padding: 0 22px;
  color: var(--cream-50);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  color: var(--white);
  background: var(--coffee-600);
}

.text-link {
  color: var(--coffee-700);
}

.text-link:hover {
  color: var(--coffee-900);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 74px));
  overflow: hidden;
  background: var(--coffee-900);
}

.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__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(229, 209, 178, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(42, 31, 21, 0.92), rgba(42, 31, 21, 0.68) 46%, rgba(42, 31, 21, 0.32)),
    linear-gradient(0deg, rgba(42, 31, 21, 0.74), transparent 52%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: min(780px, calc(100vh - 74px));
  padding-top: 88px;
  padding-bottom: 108px;
}

.hero-copy {
  max-width: 760px;
  color: var(--cream-50);
}

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

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-info .eyebrow {
  color: var(--cream-200);
}

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

.hero-copy__summary,
.page-hero p,
.detail-one-line {
  margin: 18px 0 0;
  color: rgba(254, 253, 251, 0.86);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.75;
}

.hero-tags,
.genre-row,
.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

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

.hero-tags span,
.genre-row span,
.tag-row span,
.tag-cloud a {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--coffee-700);
  background: var(--coffee-100);
  font-size: 12px;
  font-weight: 750;
}

.hero-tags span,
.genre-row span {
  color: var(--cream-50);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

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

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

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

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--white);
  font-weight: 800;
  background: rgba(42, 31, 21, 0.72);
  backdrop-filter: blur(10px);
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--cream-50);
}

.hero-search {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  display: flex;
  width: min(680px, calc(100% - 32px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(254, 253, 251, 0.92);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}

.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  background: transparent;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--white);
  background: var(--coffee-600);
}

.section {
  padding: clamp(54px, 7vw, 96px) 0;
}

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

.section--white {
  background: var(--white);
}

.section-head {
  margin-bottom: 34px;
}

.section-head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  margin: 0;
  color: var(--coffee-900);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius-md);
  color: var(--cream-50);
  background: var(--coffee-800);
  box-shadow: var(--shadow-sm);
}

.category-tile img,
.category-panel__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img,
.category-panel:hover .category-panel__cover img,
.movie-card:hover img {
  transform: scale(1.05);
}

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 31, 21, 0.12), rgba(42, 31, 21, 0.88));
}

.category-tile strong,
.category-tile small {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.category-tile strong {
  bottom: 56px;
  font-size: 24px;
}

.category-tile small {
  bottom: 20px;
  color: rgba(254, 253, 251, 0.78);
  line-height: 1.4;
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(141, 107, 69, 0.14);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card__poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--coffee-100), var(--coffee-300));
}

.movie-card__poster img {
  width: 100%;
  aspect-ratio: 3 / 4.18;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.play-pill {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(42, 31, 21, 0.72);
}

.rank-badge {
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d8a34e, var(--coffee-600));
}

.movie-card__body {
  padding: 16px;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--coffee-600);
  font-size: 12px;
  font-weight: 760;
}

.movie-card__meta a {
  color: var(--coffee-800);
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  color: var(--coffee-900);
  font-size: 18px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p {
  display: -webkit-box;
  min-height: 64px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.movie-card--compact h3 {
  min-height: auto;
  font-size: 16px;
}

.movie-card--compact p {
  -webkit-line-clamp: 2;
  min-height: 44px;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  color: var(--cream-50);
  background:
    linear-gradient(90deg, rgba(42, 31, 21, 0.92), rgba(42, 31, 21, 0.62)),
    var(--detail-bg, var(--hero-image, linear-gradient(135deg, var(--coffee-900), var(--coffee-600))));
  background-position: center;
  background-size: cover;
}

.page-hero--compact {
  background:
    radial-gradient(circle at 78% 10%, rgba(229, 209, 178, 0.28), transparent 30%),
    linear-gradient(135deg, var(--coffee-900), var(--coffee-600));
}

.page-hero .breadcrumb {
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(254, 253, 251, 0.78);
  font-size: 14px;
}

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

.filter-panel,
.search-app {
  border: 1px solid rgba(141, 107, 69, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.filter-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-panel h2,
.related-category-links h2 {
  margin: 0;
  color: var(--coffee-900);
}

.filter-panel p,
.search-count {
  margin: 0;
  color: var(--muted);
}

.filter-grid,
.search-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
}

.filter-grid label,
.search-panel label {
  display: grid;
  gap: 8px;
  color: var(--coffee-700);
  font-size: 13px;
  font-weight: 760;
}

.filter-grid input,
.filter-grid select,
.search-panel input,
.search-panel select {
  width: 100%;
  border: 1px solid rgba(141, 107, 69, 0.2);
  border-radius: 14px;
  outline: none;
  padding: 12px 13px;
  color: var(--coffee-900);
  background: var(--white);
}

.filter-grid input:focus,
.filter-grid select:focus,
.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--coffee-500);
  box-shadow: 0 0 0 4px rgba(141, 107, 69, 0.12);
}

.related-category-links {
  display: grid;
  gap: 18px;
}

.related-category-links div,
.footer-links,
.footer-links--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-category-links a,
.footer-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--coffee-700);
  background: var(--cream-100);
  font-weight: 700;
}

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

.category-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(141, 107, 69, 0.14);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.category-panel__cover {
  overflow: hidden;
  min-height: 280px;
  background: var(--coffee-100);
}

.category-panel__body {
  padding: 24px;
}

.category-panel h2 {
  margin: 0 0 8px;
  color: var(--coffee-900);
}

.category-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.category-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.category-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--coffee-700);
  border-bottom: 1px dashed rgba(141, 107, 69, 0.18);
  padding-bottom: 8px;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(141, 107, 69, 0.14);
  border-radius: 18px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rank-row__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--white);
  background: var(--coffee-600);
  font-weight: 850;
}

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

.rank-row__content {
  min-width: 0;
}

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

.rank-row__content strong {
  color: var(--coffee-900);
}

.rank-row__content small {
  margin-top: 4px;
  color: var(--muted);
}

.rank-row em {
  color: var(--coffee-700);
  font-style: normal;
  font-weight: 850;
}

.search-panel {
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  align-items: end;
}

.search-count {
  margin-top: 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream-50);
  background:
    linear-gradient(90deg, rgba(42, 31, 21, 0.94), rgba(42, 31, 21, 0.72), rgba(42, 31, 21, 0.48)),
    var(--detail-bg),
    var(--coffee-900);
  background-position: center;
  background-size: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(229, 209, 178, 0.22), transparent 30%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 76px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  margin-top: 28px;
}

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--coffee-100);
}

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

.detail-info h1 {
  max-width: 900px;
}

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

.detail-meta div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.detail-meta dt {
  color: rgba(254, 253, 251, 0.66);
  font-size: 12px;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.player-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--coffee-900);
  box-shadow: var(--shadow-lg);
}

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

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050403;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(42, 31, 21, 0.14), rgba(42, 31, 21, 0.66)),
    transparent;
}

.player-overlay.is-hidden {
  display: none;
}

.player-overlay__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--coffee-900);
  background: var(--cream-50);
  font-size: 34px;
  box-shadow: var(--shadow-md);
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay small {
  color: rgba(254, 253, 251, 0.72);
}

.player-meta {
  padding: 22px;
  color: var(--cream-50);
  background: linear-gradient(135deg, var(--coffee-800), var(--coffee-700));
}

.player-meta h2,
.player-meta p {
  margin: 0;
}

.player-meta p {
  margin-top: 8px;
  color: rgba(254, 253, 251, 0.72);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.prose-card {
  border: 1px solid rgba(141, 107, 69, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.prose-card h2 {
  margin: 0 0 14px;
  color: var(--coffee-900);
}

.prose-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.tag-card {
  grid-column: 1 / -1;
}

.tag-cloud a {
  color: var(--coffee-700);
}

.site-footer {
  color: var(--cream-100);
  background: var(--coffee-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr;
  gap: 38px;
  padding: 56px 0;
}

.footer-brand {
  color: var(--cream-50);
  font-size: 24px;
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(254, 253, 251, 0.68);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--cream-100);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  color: rgba(254, 253, 251, 0.6);
  font-size: 14px;
}

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

@media (max-width: 1180px) {
  .movie-grid--six,
  .movie-grid--five,
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-search {
    min-width: 220px;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-slide__content {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .movie-grid--six,
  .movie-grid--five,
  .category-grid,
  .category-panel-grid,
  .rank-columns,
  .detail-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

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

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

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

  .hero,
  .hero-slide__content {
    min-height: 680px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
  }

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

  .hero-search input {
    padding: 12px 14px;
  }

  .section-head--split,
  .filter-panel__head,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid--six,
  .movie-grid--five,
  .category-grid,
  .category-panel-grid,
  .rank-columns,
  .filter-grid,
  .search-panel,
  .detail-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

  .category-panel__cover {
    min-height: 220px;
  }

  .rank-row {
    grid-template-columns: 36px 52px minmax(0, 1fr);
  }

  .rank-row em {
    display: none;
  }

  .detail-poster {
    width: min(260px, 78vw);
  }

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