:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --blue-600: #2563eb;
  --emerald-600: #059669;
  --purple-600: #9333ea;
  --white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.10);
  --radius-xl: 1.25rem;
  --radius-lg: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: scale(1.03);
}

.brand-icon,
.footer-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.32);
}

.brand-text strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 0.78rem;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #cbd5e1;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  min-height: 42px;
  padding: 0 15px;
}

.nav-link:hover,
.mobile-nav-link:hover {
  color: var(--white);
  background: rgba(51, 65, 85, 0.8);
  transform: translateY(-1px);
}

.nav-link.is-active,
.mobile-nav-link.is-active {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.7);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

.mobile-nav-link {
  min-height: 46px;
  padding: 0 14px;
}

.hero-slider {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

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

.hero-slide {
  opacity: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.75s ease, transform 1.1s ease;
}

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

.hero-shade,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 40%, rgba(245, 158, 11, 0.25), transparent 28%), linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.78) 42%, rgba(15, 23, 42, 0.42));
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 54px;
  height: 100%;
  padding: 92px 0 82px;
}

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

.hero-kicker,
.detail-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fffbeb;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(234, 88, 12, 0.95));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-shadow: 0 16px 42px rgba(2, 6, 23, 0.48);
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: #e2e8f0;
  font-size: 1.1rem;
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 16px 28px rgba(234, 88, 12, 0.32);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.ghost-button.dark {
  color: var(--slate-800);
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.hero-poster {
  display: block;
  min-height: 470px;
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(1.5deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 23, 42, 0.52);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(245, 158, 11, 0.88);
}

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

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

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

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

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

.search-band {
  position: relative;
  z-index: 4;
  margin-top: -36px;
}

.search-band-inner,
.filter-panel,
.search-page-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.search-band strong {
  display: block;
  color: var(--slate-900);
  font-size: 1.2rem;
}

.search-band span {
  color: var(--slate-500);
}

.hero-search-form,
.search-page-box {
  display: flex;
  width: min(520px, 100%);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.hero-search-form input,
.search-page-box input,
.filter-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 14px 16px;
  color: var(--slate-800);
  background: transparent;
}

.hero-search-form button,
.search-page-box button {
  border: 0;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
  cursor: pointer;
}

.content-section {
  margin-top: 64px;
}

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

.section-heading > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.section-heading p {
  grid-column: 2;
  margin: -2px 0 0;
  color: var(--slate-500);
}

.section-link {
  color: var(--amber-600);
  font-weight: 900;
}

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

.category-chip {
  min-height: 126px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-chip:hover,
.movie-card:hover,
.compact-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
}

.category-chip strong {
  display: block;
  color: var(--slate-900);
  font-size: 1.1rem;
}

.category-chip span {
  display: block;
  margin-top: 8px;
  color: var(--slate-500);
  font-size: 0.94rem;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-poster-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5.4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

.movie-poster {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.35s ease;
}

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

.movie-score {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.movie-card-body {
  padding: 15px;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--slate-500);
  font-size: 0.8rem;
}

.movie-card h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 1.05rem;
  line-height: 1.32;
}

.movie-card h2 a:hover {
  color: var(--amber-600);
}

.movie-card p {
  min-height: 48px;
  margin: 8px 0 12px;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.tag-row span {
  min-height: 26px;
  color: var(--amber-700);
  background: #fff7ed;
  border-color: #fed7aa;
}

.movie-card-small .movie-card-body {
  padding: 12px;
}

.movie-card-small h2 {
  font-size: 0.98rem;
}

.movie-card-small p {
  min-height: 42px;
  font-size: 0.86rem;
}

.horizontal-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x proximity;
}

.compact-card {
  position: relative;
  display: flex;
  flex: 0 0 286px;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 22px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card span {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.9);
  font-weight: 900;
  font-size: 0.78rem;
}

.compact-card strong {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
  text-shadow: 0 8px 22px rgba(2, 6, 23, 0.46);
}

.compact-card small {
  color: #e2e8f0;
}

.ranking-home {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  box-shadow: var(--shadow-card);
}

.ranking-strip,
.ranking-list-page {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.ranking-strip a,
.ranking-row a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.ranking-strip a {
  min-height: 58px;
  padding: 0 16px;
}

.ranking-strip span,
.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
}

.ranking-strip strong,
.rank-main strong {
  flex: 1;
  color: var(--slate-900);
}

.ranking-strip em,
.ranking-row em {
  color: var(--amber-600);
  font-style: normal;
  font-weight: 900;
}

.page-main {
  padding: 48px 0 72px;
}

.page-hero {
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  margin: 20px 0 12px;
  color: var(--slate-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
}

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

.category-overview-card {
  min-height: 300px;
  padding: 22px;
  border-radius: 26px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.category-overview-link {
  display: block;
  color: var(--white);
}

.category-overview-link span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  font-weight: 900;
}

.category-overview-link h2 {
  margin: 54px 0 8px;
  font-size: 2rem;
  line-height: 1.1;
}

.category-overview-link p {
  margin: 0;
  color: #e2e8f0;
}

.category-overview-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.category-overview-list a {
  display: block;
  color: #fff7ed;
  font-weight: 700;
}

.filter-panel {
  margin-top: 28px;
}

.filter-panel label {
  min-width: max-content;
  color: var(--slate-900);
  font-weight: 900;
}

.filter-panel input {
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
}

.ranking-list-page {
  display: grid;
  gap: 12px;
}

.ranking-row a {
  min-height: 82px;
  padding: 12px 16px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.rank-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-position: center;
  background-size: cover;
}

.rank-main {
  flex: 1;
  display: grid;
  gap: 3px;
}

.rank-main small {
  color: var(--slate-500);
}

.search-page-panel {
  flex-direction: column;
  align-items: stretch;
  margin-top: 28px;
}

.search-page-box {
  width: 100%;
}

.search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.search-chip-row button {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--amber-600);
  background: #fff7ed;
  font-weight: 900;
  cursor: pointer;
}

.detail-main {
  background: linear-gradient(180deg, #0f172a 0, #0f172a 520px, #f8fafc 521px);
}

.detail-hero {
  position: relative;
  min-height: 600px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #fbbf24;
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
  color: var(--white);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  min-height: 450px;
  border-radius: 28px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.detail-copy p {
  max-width: 800px;
  margin: 0;
  color: #e2e8f0;
  font-size: 1.1rem;
}

.detail-meta {
  margin-top: 22px;
}

.detail-tags {
  margin-top: 16px;
}

.player-section {
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.34);
  aspect-ratio: 16 / 9;
}

.movie-video,
.player-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-video {
  background: #000;
}

.player-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.22), rgba(2, 6, 23, 0.82));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.38);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.35rem;
}

.player-overlay small {
  color: #e2e8f0;
  font-size: 0.96rem;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  margin-top: 46px;
}

.detail-article,
.detail-side {
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.detail-article {
  padding: 30px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 1.5rem;
}

.detail-article p {
  margin: 0 0 22px;
  color: var(--slate-700);
  font-size: 1.02rem;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.detail-side {
  padding: 24px;
  align-self: start;
}

.detail-side dl,
.detail-side div {
  display: grid;
  gap: 10px;
}

.detail-side dl {
  margin: 0;
}

.detail-side div {
  grid-template-columns: 70px 1fr;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-200);
}

.detail-side div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-side dt {
  color: var(--slate-500);
}

.detail-side dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 800;
}

.site-footer {
  margin-top: 72px;
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 460px;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.05rem;
}

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

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(245, 158, 11, 0.28);
}

.footer-bottom {
  padding: 18px 16px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.empty-result {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 22px;
  color: var(--slate-500);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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

  .mobile-menu-button {
    display: block;
  }

  .brand-text small {
    display: none;
  }

  .hero-slider {
    min-height: 680px;
  }

  .hero-content,
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-poster {
    min-height: 260px;
    transform: none;
  }

  .hero-arrow {
    display: none;
  }

  .search-band-inner,
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .category-chip-grid,
  .category-overview-grid,
  .ranking-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-poster {
    min-height: 380px;
  }
}

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

  .header-inner {
    min-height: 64px;
  }

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

  .brand-text strong {
    font-size: 1.08rem;
  }

  .hero-slider {
    min-height: 690px;
  }

  .hero-content {
    padding: 62px 0 86px;
  }

  .hero-copy p,
  .detail-copy p {
    font-size: 1rem;
  }

  .hero-poster {
    min-height: 230px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > div {
    grid-template-columns: auto 1fr;
  }

  .section-heading p {
    grid-column: 1 / -1;
  }

  .movie-grid,
  .category-chip-grid,
  .category-overview-grid,
  .ranking-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster-link {
    aspect-ratio: 16 / 10;
  }

  .page-hero {
    padding: 28px;
  }

  .detail-hero-inner {
    padding-bottom: 64px;
  }

  .detail-poster {
    min-height: 300px;
  }

  .player-section {
    margin-top: -28px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .detail-article,
  .detail-side {
    padding: 22px;
  }

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