:root {
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-blue-50: #eff6ff;
  --color-amber-600: #d97706;
  --color-amber-500: #f59e0b;
  --color-amber-400: #fbbf24;
  --color-orange-500: #f97316;
  --color-orange-100: #ffedd5;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-500));
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fde68a, #fb923c);
  -webkit-background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-amber-400);
}

.header-search {
  position: relative;
  width: 280px;
}

.header-search input,
.mobile-search input,
.inline-filter input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--color-white);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.inline-filter input {
  max-width: 420px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.4);
}

.header-search input:focus,
.mobile-search input:focus,
.inline-filter input:focus {
  border-color: var(--color-amber-400);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: none;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-white);
  color: #111827;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.search-results.open {
  display: block;
}

.search-results a,
.search-empty {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.search-results a:hover {
  background: #fffbeb;
}

.search-results strong {
  display: block;
  font-size: 14px;
  color: #111827;
}

.search-results span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

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

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  position: relative;
  margin-bottom: 14px;
}

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

.mobile-nav-link {
  padding: 12px 14px;
  color: #cbd5e1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

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

.hero {
  background: var(--color-slate-950);
}

.hero-stage {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.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-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.hero-content > * {
  max-width: 650px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 15px;
  color: var(--color-white);
  font-weight: 700;
  background: var(--color-amber-500);
}

.hero-kicker strong {
  color: #fde68a;
  font-weight: 700;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  color: var(--color-white);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0 0 24px;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-meta,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin-bottom: 30px;
  color: #cbd5e1;
}

.hero-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

.primary-button {
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-amber-500), var(--color-orange-500));
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.32);
}

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

.ghost-button {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--color-amber-600);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 42px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.48);
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.04);
}

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

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

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

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

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

.quick-strip {
  background: var(--color-white);
  border-bottom: 1px solid #e2e8f0;
}

.quick-strip-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
}

.quick-strip a {
  flex: 0 0 auto;
  padding: 9px 15px;
  color: #374151;
  border-radius: 999px;
  background: #f8fafc;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.quick-strip a:hover {
  color: #92400e;
  background: #fef3c7;
}

.home-sections,
.overview-stack,
.category-content,
.ranking-list,
.more-related {
  padding: 68px 0;
}

.home-sections {
  display: grid;
  gap: 68px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.section-line {
  width: 6px;
  height: 38px;
  margin-top: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-amber-500), var(--color-orange-500));
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 7px 0 0;
  color: #64748b;
}

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

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

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

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

.movie-card,
.movie-list-card,
.rank-card,
.category-overview-card,
.content-panel,
.side-panel,
.detail-card,
.white-panel,
.warm-panel {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.movie-card {
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img,
.list-cover img,
.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover img,
.movie-list-card:hover img,
.rank-card:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.75));
  transition: opacity 0.25s ease;
}

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(245, 158, 11, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
}

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

.genre-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--color-white);
  background: var(--color-amber-500);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card h3,
.movie-list-card h3,
.rank-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.movie-card a:hover h3,
.movie-list-card a:hover h3,
.rank-card a:hover h3 {
  color: var(--color-amber-600);
}

.movie-card p,
.movie-list-card p,
.rank-card p {
  margin: 0 0 13px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta span {
  color: #64748b;
  background: #f8fafc;
  font-size: 12px;
}

.warm-panel,
.white-panel {
  border-radius: 28px;
  padding: 34px;
}

.warm-panel {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.category-tile {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 22px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-slate-900), #1d4ed8);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, #92400e, var(--color-orange-500));
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

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

.category-tile strong {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.category-tile em {
  color: #fde68a;
  font-style: normal;
  font-size: 13px;
}

.list-stack {
  display: grid;
  gap: 16px;
}

.movie-list-card {
  display: flex;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.list-cover {
  position: relative;
  flex: 0 0 210px;
  min-height: 130px;
  overflow: hidden;
  background: #0f172a;
}

.list-content {
  padding: 18px;
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.page-hero {
  color: var(--color-white);
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.35), transparent 34%), linear-gradient(135deg, var(--color-slate-950), #1e3a8a);
}

.slim-hero,
.category-hero {
  padding: 74px 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

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

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

.inline-filter {
  margin-top: 26px;
}

.overview-stack {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
}

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

.category-overview-copy p {
  margin: 0 0 16px;
  color: #64748b;
}

.mini-poster-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.mini-poster-row a {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #0f172a;
}

.mini-poster-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mini-poster-row a:hover img {
  transform: scale(1.08);
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: stretch;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-500));
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.25);
}

.rank-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border-radius: 18px;
}

.rank-cover {
  overflow: hidden;
  min-height: 120px;
  background: #0f172a;
}

.rank-body {
  padding: 18px;
}

.detail-top {
  padding: 34px 0 58px;
  color: var(--color-white);
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 38%), linear-gradient(135deg, var(--color-slate-950), #1e3a8a);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-frame.is-playing .play-cover,
.player-frame.is-starting .play-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-orb {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 36px;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 22px 55px rgba(245, 158, 11, 0.38);
  backdrop-filter: blur(12px);
}

.play-copy {
  font-size: 18px;
  font-weight: 900;
}

.detail-card {
  overflow: hidden;
  border-radius: 26px;
  color: #111827;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0f172a;
}

.detail-info {
  padding: 24px;
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.detail-info p {
  margin: 0 0 18px;
  color: #475569;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #92400e;
  background: #fef3c7;
  font-size: 13px;
  font-weight: 800;
}

.detail-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 58px 0;
}

.content-panel,
.side-panel {
  border-radius: 24px;
  padding: 28px;
}

.content-panel h2,
.side-panel h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
}

.content-panel p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.info-grid div {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
}

.info-grid span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.info-grid strong {
  display: block;
  margin-top: 5px;
  color: #111827;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.prev-next a {
  padding: 14px 16px;
  border-radius: 14px;
  color: #92400e;
  background: #fffbeb;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prev-next a:last-child {
  text-align: right;
}

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

.side-related {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 8px;
  transition: background 0.2s ease;
}

.side-related:hover {
  background: #f8fafc;
}

.side-related img {
  width: 96px;
  height: 66px;
  object-fit: cover;
  border-radius: 12px;
  background: #0f172a;
}

.side-related strong,
.side-related em {
  display: block;
}

.side-related strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.side-related em {
  margin-top: 4px;
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.site-footer {
  color: #cbd5e1;
  background: var(--color-slate-950);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 40px;
  padding: 54px 0 36px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 480px;
  margin: 0;
  color: #94a3b8;
}

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

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: 18px;
}

.footer-links a:hover {
  color: var(--color-amber-400);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 14px;
}

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

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

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

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

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

  .side-panel {
    order: 2;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .hero-stage {
    height: 560px;
  }

  .hero-content {
    padding: 0 18px;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .warm-panel,
  .white-panel {
    padding: 22px;
  }

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

  .category-overview-card,
  .rank-card,
  .movie-list-card {
    grid-template-columns: 1fr;
  }

  .movie-list-card {
    display: block;
  }

  .list-cover {
    display: block;
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

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

  .rank-cover {
    aspect-ratio: 16 / 10;
  }

  .info-grid,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .prev-next a:last-child {
    text-align: left;
  }

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

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

  .brand-name {
    font-size: 18px;
  }

  .hero-stage {
    height: 520px;
  }

  .hero h1,
  .hero h2 {
    font-size: 40px;
  }

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

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .quick-strip-inner {
    min-height: 66px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .home-sections,
  .overview-stack,
  .category-content,
  .ranking-list,
  .more-related {
    padding: 42px 0;
  }

  .slim-hero,
  .category-hero {
    padding: 52px 0;
  }

  .ranking-row {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .rank-number {
    font-size: 16px;
    border-radius: 14px;
  }

  .content-panel,
  .side-panel {
    padding: 20px;
  }

  .play-orb {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
}
