:root {
  color-scheme: light;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --amber-300: #fcd34d;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --blue-600: #2563eb;
  --blue-900: #1e3a8a;
  --rose-600: #e11d48;
  --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.12), 0 4px 6px -4px rgb(15 23 42 / 0.12);
  --shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.15), 0 8px 10px -6px rgb(15 23 42 / 0.15);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: inherit;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-lg);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fb923c, var(--amber-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--orange-500);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgb(249 115 22 / 0.35);
  font-size: 13px;
}

.desktop-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #e5e7eb;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: white;
  background: rgb(51 65 85 / 0.95);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(310px, 28vw);
}

.nav-search input,
.mobile-search input {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  color: white;
  background: rgb(255 255 255 / 0.11);
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: rgb(226 232 240 / 0.76);
}

.nav-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: white;
  background: var(--orange-500);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: white;
  background: rgb(255 255 255 / 0.1);
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  background: var(--slate-900);
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 50%, #0f172a);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 25px 25px, rgb(255 255 255 / 0.38) 2px, transparent 0);
  background-size: 54px 54px;
}

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 86px 0 110px;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: blur(1px) saturate(1.2);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(15 23 42 / 0.98), rgb(30 58 138 / 0.78), rgb(15 23 42 / 0.93));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--amber-300);
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.75;
}

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

.btn-primary,
.btn-ghost,
.section-more,
.ranking-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  padding: 14px 24px;
  color: white;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 18px 32px rgb(234 88 12 / 0.32);
}

.btn-primary:hover,
.btn-ghost:hover,
.section-more:hover,
.ranking-action:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 13px 22px;
  color: white;
  border: 1px solid rgb(255 255 255 / 0.32);
  background: rgb(255 255 255 / 0.13);
  backdrop-filter: blur(8px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.45);
  background: linear-gradient(135deg, #111827, #1d4ed8);
}

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

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span,
.play-dot,
.play-cover-button {
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange-500);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgb(249 115 22 / 0.32);
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  font-size: 25px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  color: white;
  background: rgb(255 255 255 / 0.18);
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.66;
}

.hero-dot.is-active {
  width: 30px;
  background: var(--orange-500);
  opacity: 1;
}

.movie-section,
.category-overview,
.ranking-section {
  padding: 74px 0;
}

.movie-section:nth-of-type(even) {
  background: white;
}

.theme-orange {
  --theme-color: var(--orange-500);
  --theme-dark: var(--orange-600);
  --theme-soft: #fff7ed;
}

.theme-cyan {
  --theme-color: var(--cyan-500);
  --theme-dark: var(--cyan-600);
  --theme-soft: #ecfeff;
}

.theme-emerald {
  --theme-color: var(--emerald-500);
  --theme-dark: var(--emerald-600);
  --theme-soft: #ecfdf5;
}

.theme-blue {
  --theme-color: var(--blue-600);
  --theme-dark: #1d4ed8;
  --theme-soft: #eff6ff;
}

.theme-slate {
  --theme-color: var(--slate-700);
  --theme-dark: var(--slate-900);
  --theme-soft: #f1f5f9;
}

.theme-rose {
  --theme-color: var(--rose-600);
  --theme-dark: #be123c;
  --theme-soft: #fff1f2;
}

.theme-amber {
  --theme-color: #d97706;
  --theme-dark: #b45309;
  --theme-soft: #fffbeb;
}

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

.section-head h2,
.category-block h2,
.story-block h2,
.side-card h2 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--gray-900);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.section-head h2::before,
.category-block h2::before,
.story-block h2::before,
.side-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 6px;
  height: 1.05em;
  border-radius: 999px;
  background: var(--theme-color, var(--orange-500));
}

.section-head p,
.category-block p {
  max-width: 720px;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: var(--theme-dark, var(--orange-600));
  background: var(--theme-soft, #fff7ed);
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), transparent 55%);
}

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

.movie-card:hover .poster-frame img,
.related-card:hover img,
.ranking-row:hover img {
  transform: scale(1.08);
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  left: 12px;
  background: var(--theme-color, var(--orange-500));
}

.rank-badge {
  right: 12px;
  background: rgb(15 23 42 / 0.88);
}

.play-dot {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.card-body h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.card-body h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body h2 a:hover {
  color: var(--theme-dark, var(--orange-600));
}

.card-meta,
.card-desc {
  margin: 7px 0 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.55;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.1em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.tag-row span {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--theme-dark, var(--orange-600));
  background: var(--theme-soft, #fff7ed);
  font-size: 12px;
  font-weight: 700;
}

.category-overview {
  background: linear-gradient(135deg, #f8fafc, #f3f4f6);
}

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

.category-tile {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(135deg, var(--theme-soft), white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-tile span {
  color: var(--theme-dark);
  font-size: 22px;
  font-weight: 850;
}

.category-tile em {
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.7;
}

.ranking-section {
  background: white;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 92px 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 20px;
  padding: 16px;
  background: white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.ranking-poster {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

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

.ranking-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--orange-500), #f59e0b);
  font-size: 22px;
  font-weight: 900;
}

.ranking-content h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.ranking-content p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.65;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.ranking-action {
  padding: 10px 15px;
  color: white;
  background: var(--orange-500);
  white-space: nowrap;
}

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

.page-hero {
  padding: 76px 0;
  color: white;
  background: linear-gradient(135deg, var(--theme-dark, #1e3a8a), var(--theme-color, #2563eb));
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 20px;
  line-height: 1.72;
}

.category-page-list,
.listing-wrap,
.ranking-wrap {
  padding: 58px 0 76px;
}

.category-block {
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 30px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.category-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.search-panel {
  position: sticky;
  top: 88px;
  z-index: 10;
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 18px;
  background: rgb(255 255 255 / 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.js-search {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 15px 18px;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.js-search:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgb(249 115 22 / 0.14);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--gray-600);
  background: var(--gray-100);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: white;
  background: var(--orange-500);
}

.movie-card.is-hidden,
.ranking-row.is-hidden {
  display: none;
}

.detail-page {
  min-height: 100vh;
  padding: 30px 0 76px;
  color: #d1d5db;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-900) 45%, #020617);
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: #cbd5e1;
  font-size: 14px;
}

.detail-breadcrumb a:hover,
.side-card a:hover {
  color: #fb923c;
}

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

.watch-column {
  display: grid;
  gap: 24px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: black;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.5);
}

.player-video {
  width: 100%;
  height: 100%;
  background: black;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  background: black;
  cursor: pointer;
}

.play-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.1);
}

.play-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.12));
}

.play-cover-button {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  font-size: 30px;
}

.movie-player.is-playing .play-cover {
  display: none;
}

.detail-info,
.side-card {
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 24px;
  padding: 26px;
  background: rgb(30 41 59 / 0.88);
  box-shadow: var(--shadow-xl);
}

.detail-info h1 {
  margin: 0 0 14px;
  color: white;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
}

.detail-line {
  margin: 0 0 18px;
  color: #67e8f9;
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #e5e7eb;
  background: rgb(51 65 85 / 0.96);
  font-size: 13px;
  font-weight: 700;
}

.large-tags span,
.side-tags span {
  color: #fed7aa;
  background: rgb(249 115 22 / 0.16);
}

.story-block {
  --theme-color: var(--orange-500);
  margin-top: 28px;
}

.story-block h2,
.side-card h2 {
  color: white;
  font-size: 23px;
}

.story-block p {
  margin: 12px 0 0;
  color: #d1d5db;
  line-height: 1.9;
}

.review-block {
  border-left: 5px solid var(--orange-500);
  border-radius: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgb(51 65 85 / 0.92), rgb(30 41 59 / 0.92));
}

.detail-side {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 20px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: #94a3b8;
}

.side-card dd {
  margin: 0;
  color: white;
}

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

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

.related-card:hover {
  background: rgb(51 65 85 / 0.9);
}

.related-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.related-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: rgb(0 0 0 / 0.14);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.related-card:hover .related-thumb span {
  opacity: 1;
}

.related-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: white;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.45;
}

.related-info em {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, var(--slate-900), black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 34px;
}

.site-footer p {
  max-width: 520px;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 18px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fb923c;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 18px;
  color: #94a3b8;
  text-align: center;
}

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

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

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

  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .mobile-link {
    display: block;
  }

  .hero-stage {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px 0 120px;
  }

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

  .section-head,
  .category-block-head {
    display: grid;
  }

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

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

  .ranking-list.compact {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 78px 42px minmax(0, 1fr);
  }

  .ranking-action {
    grid-column: 2 / -1;
    width: max-content;
  }

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

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

  .brand {
    font-size: 19px;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy h2 {
    font-size: 23px;
  }

  .hero-copy p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .movie-section,
  .category-overview,
  .ranking-section {
    padding: 52px 0;
  }

  .movie-grid,
  .listing-grid,
  .small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-body h2 {
    font-size: 14px;
  }

  .ranking-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .ranking-number {
    position: absolute;
    width: 34px;
    height: 34px;
    margin: 8px;
    font-size: 16px;
  }

  .ranking-content,
  .ranking-action {
    grid-column: 2;
  }

  .ranking-action {
    width: 100%;
  }

  .page-hero {
    padding: 54px 0;
  }

  .search-panel {
    top: 76px;
    padding: 14px;
  }

  .detail-page {
    padding-top: 18px;
  }

  .detail-info,
  .side-card {
    padding: 20px;
    border-radius: 18px;
  }

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