:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --teal-400: #2dd4bf;
  --white: #ffffff;
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.24);
  --radius-xl: 24px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 52%, #0f172a 100%);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.3);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #dbeafe, #cffafe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  color: #93c5fd;
  font-size: 12px;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link,
.mobile-link {
  color: #dbeafe;
  border-radius: 12px;
  transition: 0.25s ease;
}

.nav-link {
  padding: 10px 13px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
  background: radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.28), transparent 32%), linear-gradient(135deg, #1e3a8a 0%, #0f172a 55%, #020617 100%);
}

.hero-pattern,
.page-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background: linear-gradient(0deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  padding: 72px 0 110px;
}

.hero-slider {
  position: relative;
  min-height: 490px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #dbeafe 0%, #cffafe 48%, #99f6e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  max-width: 680px;
  color: #dbeafe;
  font-size: clamp(17px, 2.2vw, 24px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-tags span,
.pill-row span,
.detail-tags a,
.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.35);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 44px rgba(6, 182, 212, 0.35);
}

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

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: perspective(900px) rotateY(-7deg);
  background: linear-gradient(135deg, #334155, #0f172a);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-poster img,
.poster-frame img,
.overview-card img,
.category-card img,
.ranking-card img,
.related-card img,
.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-play,
.poster-play {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 2;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.25);
}

.hero-play {
  left: 28px;
  bottom: 28px;
  width: 78px;
  height: 78px;
  font-size: 32px;
}

.hero-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.hero-dots,
.hero-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  width: 36px;
  border-radius: 999px;
  background: #22d3ee;
}

.hero-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
}

.feature-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -48px;
  margin-bottom: 70px;
}

.feature-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  transition: 0.25s ease;
}

.feature-card:hover,
.movie-card:hover,
.overview-card:hover,
.ranking-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}

.feature-card.blue .feature-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-card.green .feature-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.feature-card.orange .feature-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.feature-card.cyan .feature-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.feature-card h2,
.section-head h2,
.content-card h2,
.review-card h2,
.side-card h2 {
  margin: 0 0 8px;
  color: #1e293b;
  line-height: 1.2;
}

.feature-card p,
.section-head p {
  margin: 0;
  color: #64748b;
}

.section-block,
.page-section,
.masonry-section {
  padding: 72px 0;
}

.soft-blue {
  background: linear-gradient(90deg, #f8fafc, #eff6ff);
}

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

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

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

.section-head.center {
  text-align: center;
}

.section-head.light h2,
.section-head.light p {
  color: #fff;
}

.text-link {
  color: #2563eb;
  background: #dbeafe;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  transition: 0.25s ease;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin: 0;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.wide-card .poster-frame,
.small-card .poster-frame {
  aspect-ratio: 16 / 10;
}

.poster-frame img {
  transition: transform 0.45s ease;
}

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 42%, rgba(2, 6, 23, 0.68) 100%);
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: #fff;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 20px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: 0.25s ease;
}

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

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

.movie-card h3 {
  margin: 0 0 8px;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h3 {
  color: #2563eb;
}

.movie-meta,
.movie-line {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.movie-line {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  padding: 72px 0;
}

.ranking-panel,
.side-card,
.content-card,
.review-card,
.player-shell,
.filter-bar,
.search-tools {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
}

.ranking-panel {
  overflow: hidden;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 62px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  transition: 0.2s ease;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row:hover {
  background: #eff6ff;
}

.rank-num {
  color: #2563eb;
  font-weight: 900;
  font-size: 20px;
}

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

.rank-title {
  color: #1e293b;
  font-weight: 800;
}

.rank-score {
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 9px;
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.inline-button {
  margin-top: 20px;
}

.category-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background: #0f172a;
}

.category-card img {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: saturate(1.1);
}

.category-card::after,
.overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.76));
}

.category-card div {
  position: relative;
  z-index: 2;
}

.category-card strong,
.overview-card h2 {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.category-card span {
  display: block;
  margin-top: 6px;
  color: #dbeafe;
  font-size: 13px;
}

.dark-section {
  padding: 72px 0;
  background: radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.18), transparent 30%), linear-gradient(135deg, #111827, #1e3a8a 54%, #0f172a);
}

.dark-cards .movie-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.dark-cards .movie-card h3 {
  color: #fff;
}

.dark-cards .movie-meta,
.dark-cards .movie-line {
  color: #cbd5e1;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.compact-hero h1,
.category-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.compact-hero p,
.category-hero p {
  margin: 0;
  max-width: 720px;
  color: #dbeafe;
  font-size: 18px;
}

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

.breadcrumb.light {
  color: #bfdbfe;
}

.breadcrumb a:hover {
  color: #22d3ee;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.overview-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
  background: #0f172a;
}

.overview-card img {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  transition: 0.45s ease;
}

.overview-card:hover img {
  transform: scale(1.08);
}

.overview-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 28px;
}

.overview-card-body span {
  color: #67e8f9;
  font-weight: 800;
}

.overview-card-body h2 {
  margin: 8px 0 8px;
}

.overview-card-body p {
  margin: 0;
  color: #dbeafe;
}

.filter-bar,
.search-tools {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin-bottom: 26px;
}

.filter-bar input,
.filter-bar select,
.search-tools select,
.search-hero-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0 14px;
  color: #1e293b;
  background: #fff;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus,
.search-tools select:focus,
.search-hero-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.filter-bar select {
  max-width: 220px;
}

.empty-tip,
.search-summary {
  margin: 22px 0;
  padding: 18px;
  border-radius: 16px;
  color: #475569;
  background: #eff6ff;
}

.search-hero-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.search-hero-form button {
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 70px 116px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  transition: 0.25s ease;
}

.ranking-index {
  color: #2563eb;
  font-size: 26px;
  font-weight: 1000;
  text-align: center;
}

.ranking-card img {
  width: 116px;
  height: 142px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-card h2 {
  margin: 0 0 8px;
  color: #1e293b;
}

.ranking-card p {
  margin: 0 0 12px;
  color: #64748b;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ranking-meta span,
.ranking-meta strong {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  background: #eff6ff;
  color: #1e40af;
}

.ranking-meta strong {
  color: #fff;
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.detail-hero {
  min-height: 540px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 16%, rgba(34, 211, 238, 0.22), transparent 30%);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 54px 0 74px;
}

.detail-head-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 34px;
}

.detail-cover {
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.detail-head-grid h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.detail-head-grid p {
  max-width: 780px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 20px;
}

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

.detail-tags a,
.tag-pill {
  color: #0f172a;
  background: #dbeafe;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 6px;
  color: #2563eb;
  font-size: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease;
}

.player-overlay:hover .play-button {
  transform: scale(1.08);
}

.content-card,
.review-card,
.side-card {
  padding: 24px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill-row span {
  color: #1e40af;
  background: #eff6ff;
}

.content-card p,
.review-card p,
.side-card p {
  color: #475569;
  margin: 0;
}

.lead-text {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px !important;
  color: #334155 !important;
}

.review-card {
  border-left: 5px solid #f97316;
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.detail-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
}

.related-card img {
  width: 104px;
  height: 74px;
  border-radius: 12px;
  background: #e2e8f0;
}

.related-card span {
  display: block;
  color: #1e293b;
  font-weight: 800;
  line-height: 1.35;
}

.related-card small {
  display: block;
  color: #64748b;
  margin-top: 4px;
}

.related-card:hover span {
  color: #2563eb;
}

.category-side-link {
  display: block;
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
  gap: 28px;
  padding: 48px 0;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin: 0 0 14px;
}

.site-footer p {
  margin: 0;
  color: #cbd5e1;
}

.footer-mini {
  margin-top: 14px;
  color: #93c5fd;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.footer-links a:hover {
  color: #67e8f9;
}

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide,
  .split-section,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-poster {
    max-width: 430px;
    transform: none;
  }

  .feature-grid,
  .movie-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .movie-grid.cols-3,
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-side {
    position: static;
  }
}

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

  .nav-shell {
    min-height: 66px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .hero-container {
    padding: 42px 0 86px;
  }

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

  .hero-slide {
    gap: 26px;
  }

  .hero-copy h1,
  .detail-head-grid h1,
  .compact-hero h1,
  .category-hero h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .detail-head-grid p {
    font-size: 17px;
  }

  .hero-control-row,
  .section-head.between,
  .filter-bar,
  .search-tools,
  .search-hero-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .movie-grid.cols-4,
  .movie-grid.cols-3,
  .overview-grid,
  .category-grid-mini {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-template-columns: 48px 92px 1fr;
    gap: 12px;
  }

  .ranking-card img {
    width: 92px;
    height: 118px;
  }

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

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

  .related-card {
    grid-template-columns: 92px 1fr;
  }

  .related-card img {
    width: 92px;
    height: 66px;
  }

  .footer-links.compact,
  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }
}
