:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(41, 37, 36, 0.12);
  --shadow-card: 0 14px 30px rgba(41, 37, 36, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--stone-800);
  background: linear-gradient(180deg, var(--stone-50), rgba(255, 251, 235, 0.45));
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.96), rgba(120, 53, 15, 0.78));
  border-bottom: 1px solid rgba(253, 230, 138, 0.15);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(41, 37, 36, 0.18);
}

.nav-shell {
  width: min(100%, var(--content-width));
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand {
  color: var(--amber-50);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.36);
}

.brand-text {
  font-size: 22px;
}

.desktop-nav,
.desktop-chips {
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-nav {
  margin-left: auto;
}

.nav-link {
  color: var(--amber-100);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

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

.nav-chip {
  color: var(--amber-100);
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(253, 230, 138, 0.25);
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.06);
}

.nav-chip:hover {
  color: var(--white);
  border-color: rgba(253, 230, 138, 0.6);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 251, 235, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-100);
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
}

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

.mobile-nav-link {
  color: var(--amber-100);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 251, 235, 0.06);
}

.mobile-nav-link.active {
  color: var(--white);
  background: rgba(245, 158, 11, 0.24);
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--stone-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s 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(28, 25, 23, 0.92), rgba(28, 25, 23, 0.48), rgba(28, 25, 23, 0.2)),
    linear-gradient(0deg, rgba(28, 25, 23, 0.98), rgba(28, 25, 23, 0));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--content-width)) / 2 + 24px));
  bottom: 12%;
  width: min(680px, calc(100vw - 48px));
  color: var(--white);
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--white);
  background: rgba(217, 119, 6, 0.88);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--stone-200);
  font-size: clamp(17px, 2.1vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.26);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
}

.button-ghost {
  color: var(--amber-50);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.button-light {
  color: var(--amber-800);
  background: var(--amber-50);
  border-color: var(--amber-200);
}

.full-width {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.38);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.active {
  width: 30px;
  background: var(--amber-500);
}

.quick-search-panel {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 48px), var(--content-width));
  margin: -36px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.quick-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.quick-search label,
.filter-panel label,
.search-fields label {
  color: var(--stone-700);
  font-weight: 800;
}

.quick-search input,
.filter-panel input,
.filter-panel select,
.search-fields input,
.search-fields select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  color: var(--stone-800);
  background: var(--white);
  outline: none;
}

.quick-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-fields input:focus,
.search-fields select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.quick-search button,
.hot-entry {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--amber-700);
  font-weight: 800;
  cursor: pointer;
}

.hot-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.content-section,
.page-main,
.rank-table-section {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.content-section {
  padding: 72px 0 0;
}

.no-top-padding {
  padding-top: 34px;
}

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

.section-heading h2,
.rank-heading h2,
.page-hero h1,
.category-hero h1,
.detail-card h1 {
  margin: 0;
  color: var(--stone-900);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.category-hero p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

.section-more {
  flex: 0 0 auto;
  color: var(--amber-700);
  font-weight: 800;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card.small .card-summary,
.movie-card.small .tag-row {
  display: none;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--stone-900), var(--amber-900));
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-badge,
.poster-score {
  position: absolute;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.poster-badge {
  top: 10px;
  background: rgba(217, 119, 6, 0.9);
}

.poster-score {
  bottom: 10px;
  background: rgba(28, 25, 23, 0.74);
}

.card-body {
  padding: 14px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--stone-900);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title:hover {
  color: var(--amber-700);
}

.card-meta {
  margin: 7px 0 0;
  color: var(--stone-500);
  font-size: 13px;
}

.card-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  margin: 9px 0 0;
  color: var(--stone-600);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags,
.genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span,
.detail-tags span,
.detail-tags a,
.genre-row span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-50);
  font-size: 12px;
  font-weight: 700;
}

.warm-panel {
  padding: 52px;
  margin-top: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(245, 158, 11, 0.11));
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--stone-900);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-tile:hover img {
  opacity: 0.56;
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.12));
}

.category-tile span,
.category-tile strong,
.category-tile p {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile span {
  margin-top: 68px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile strong {
  margin-top: 4px;
  color: var(--amber-200);
}

.category-tile p {
  margin: 10px 0 0;
  color: var(--stone-200);
  font-size: 13px;
}

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

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(180deg, var(--amber-900), var(--stone-900));
  box-shadow: var(--shadow-soft);
}

.rank-panel .eyebrow,
.rank-heading .eyebrow {
  color: var(--amber-200);
}

.rank-panel h2 {
  color: var(--white);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rank-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--amber-900);
  background: var(--amber-200);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  grid-column: 2;
  margin-top: -6px;
  color: var(--stone-300);
  font-size: 12px;
}

.page-main {
  padding-top: 110px;
}

.page-hero,
.category-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--amber-50), rgba(245, 158, 11, 0.16));
  box-shadow: var(--shadow-soft);
}

.slim-hero {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 44px;
}

.filter-panel,
.search-console {
  margin: 28px 0;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.08);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(180px, 0.45fr));
  gap: 16px;
  align-items: end;
}

.filter-panel > div,
.search-fields > div {
  display: grid;
  gap: 8px;
}

.category-hero {
  min-height: 360px;
  color: var(--white);
  background: var(--stone-900);
}

.category-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.54;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.9), rgba(28, 25, 23, 0.34));
}

.category-hero-content {
  position: absolute;
  left: 44px;
  bottom: 44px;
  width: min(620px, calc(100% - 88px));
}

.category-hero h1,
.category-hero p {
  color: var(--white);
}

.overview-stack {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.category-overview-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.08);
}

.category-overview-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 28px;
}

.category-overview-head p {
  margin: 6px 0 0;
  color: var(--stone-600);
}

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

.search-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px 180px;
  gap: 16px;
}

.search-count {
  margin: 18px 0 0;
  color: var(--stone-600);
  font-weight: 700;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--stone-900);
  box-shadow: var(--shadow-soft);
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transition: transform 0.3s ease;
}

.podium-card:hover img {
  transform: scale(1.06);
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.94), rgba(28, 25, 23, 0.08));
}

.podium-card span,
.podium-card h2,
.podium-card p {
  position: relative;
  z-index: 2;
}

.podium-card span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-200);
  font-weight: 900;
}

.podium-card h2 {
  margin: 230px 0 8px;
  font-size: 28px;
}

.podium-card p {
  color: var(--stone-200);
}

.rank-table-section {
  padding: 54px 0 0;
}

.rank-table {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.08);
}

.rank-table-row {
  display: grid;
  grid-template-columns: 70px 68px minmax(0, 1fr) 110px 140px 110px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stone-100);
}

.rank-table-row:hover {
  background: var(--amber-50);
}

.rank-table-index {
  color: var(--amber-700);
  font-weight: 900;
}

.rank-table-cover img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-table-main strong,
.rank-table-main em {
  display: block;
}

.rank-table-main strong {
  color: var(--stone-900);
  font-size: 16px;
}

.rank-table-main em {
  overflow: hidden;
  margin-top: 4px;
  color: var(--stone-500);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-main {
  padding-top: 72px;
  background: var(--stone-100);
}

.player-section {
  background: #000;
}

.player-shell {
  position: relative;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.player-cover.hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.play-circle,
.player-cover strong {
  position: relative;
  z-index: 2;
}

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 18px 38px rgba(217, 119, 6, 0.35);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber-50);
  background: rgba(28, 25, 23, 0.74);
  font-size: 13px;
}

.detail-layout {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 34px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-card {
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.08);
}

.detail-card h1 {
  margin-top: 16px;
}

.detail-one-line {
  color: var(--stone-600);
  font-size: 18px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stone-100);
}

.detail-meta-grid div {
  padding: 14px;
  border-radius: 14px;
  background: var(--stone-50);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: var(--stone-500);
  font-size: 12px;
}

.detail-meta-grid strong {
  margin-top: 4px;
  color: var(--stone-900);
}

.text-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

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

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  align-self: start;
}

.detail-poster {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.related-section {
  padding-bottom: 80px;
}

.site-footer {
  margin-top: 90px;
  color: var(--stone-300);
  background: var(--stone-900);
}

.footer-grid {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: 34px;
}

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

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--amber-100);
  font-size: 18px;
}

.site-footer p {
  color: var(--stone-400);
}

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

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

.site-footer a:hover {
  color: var(--amber-200);
}

.footer-bottom {
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

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

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

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

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    height: 64px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-panel,
  .quick-search,
  .slim-hero,
  .filter-panel,
  .search-fields,
  .footer-grid,
  .rank-table-row {
    grid-template-columns: 1fr;
  }

  .quick-search-panel,
  .slim-hero {
    align-items: stretch;
  }

  .movie-grid,
  .mini-grid,
  .podium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .warm-panel {
    padding: 28px;
  }

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

@media (max-width: 560px) {
  .content-section,
  .page-main,
  .rank-table-section,
  .detail-layout {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .hero-content {
    left: 18px;
    bottom: 82px;
    width: calc(100% - 36px);
  }

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

  .movie-grid,
  .mini-grid,
  .category-grid,
  .podium-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-summary,
  .tag-row {
    display: none;
  }

  .category-hero-content {
    left: 24px;
    bottom: 26px;
    width: calc(100% - 48px);
  }

  .detail-card {
    padding: 22px;
  }
}
