:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #f59e0b;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.11);
  --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), var(--white) 34%, var(--orange-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.12);
  backdrop-filter: blur(16px);
}

.nav-bar {
  width: min(100% - 32px, var(--container));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.brand-text {
  font-size: clamp(20px, 3vw, 28px);
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  background-clip: text;
  -webkit-background-clip: text;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

.mobile-trigger {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 14px;
}

.mobile-trigger span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--amber-50);
}

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

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 18%, rgba(253, 230, 138, 0.82), transparent 33%), linear-gradient(135deg, var(--amber-100), var(--orange-50) 55%, var(--amber-200));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  transform: scale(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 247, 237, 0.76) 48%, rgba(255, 251, 235, 0.32));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 46px;
  padding: 72px 0 90px;
}

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

.eyebrow,
.section-heading span,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: var(--amber-700, #b45309);
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  color: var(--amber-600);
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 660px;
  color: var(--gray-700);
  font-size: clamp(18px, 2.4vw, 22px);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--amber-700, #b45309);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  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-500));
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.secondary-button {
  color: var(--amber-600);
  background: var(--white);
  border: 2px solid rgba(245, 158, 11, 0.55);
}

.ghost-button {
  color: var(--amber-700, #b45309);
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-card);
}

.hero-card {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.hero-card-info {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.88));
  border-radius: 18px;
}

.hero-card-info strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.hero-card-info span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(217, 119, 6, 0.28);
  border: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  padding: 82px 0;
  background: var(--white);
}

.section-alt {
  padding: 82px 0;
  background: linear-gradient(180deg, var(--amber-50), var(--orange-50));
}

.section-dark {
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(135deg, #111827, #1f2937 58%, #431407);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.category-grid,
.movie-grid,
.related-grid {
  display: grid;
  gap: 24px;
}

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

.feature-card,
.category-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--amber-600);
  background: var(--amber-100);
  border-radius: 999px;
  font-size: 28px;
}

.feature-card h3,
.category-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-card p,
.category-card p {
  margin: 0;
  color: var(--gray-600);
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--amber-100);
  aspect-ratio: 2 / 3;
}

.movie-card-compact .poster-wrap {
  aspect-ratio: 4 / 3;
}

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

.movie-card:hover .poster-wrap img,
.horizontal-card:hover img,
.category-cover:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.72));
}

.movie-badge,
.rating-badge,
.rank-badge,
.rank-index {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.movie-badge {
  top: 12px;
  right: 12px;
  background: rgba(245, 158, 11, 0.92);
}

.rating-badge {
  left: 12px;
  bottom: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.rank-badge,
.rank-index {
  top: 12px;
  left: 12px;
  background: var(--red-500);
}

.movie-body {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.movie-body strong {
  font-size: 18px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-body strong,
.horizontal-card:hover strong {
  color: var(--amber-600);
}

.movie-line {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  color: var(--gray-500);
  font-size: 13px;
}

.tag-row {
  margin-top: auto;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.horizontal-poster {
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

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

.horizontal-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

.horizontal-body strong {
  font-size: 18px;
  line-height: 1.3;
}

.horizontal-body span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.horizontal-body em {
  margin-top: auto;
  color: var(--amber-600);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

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

.category-card {
  display: grid;
  gap: 14px;
}

.category-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: var(--amber-100);
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.45s ease;
}

.category-cover span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.78);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.65fr auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 30px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(16px);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

[data-movie-card][hidden] {
  display: none;
}

.page-hero {
  padding: 78px 0;
  background: radial-gradient(circle at 18% 20%, rgba(253, 230, 138, 0.72), transparent 34%), linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.page-hero-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: 36px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--gray-700);
  font-size: 18px;
}

.page-hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-page {
  color: var(--white);
  background: linear-gradient(135deg, #111827, #1f2937 52%, #431407);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 70px;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--detail-bg) center / cover no-repeat;
  opacity: 0.18;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.9), rgba(67, 20, 7, 0.84));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.detail-copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

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

.detail-meta span {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.detail-content {
  padding: 72px 0;
  color: var(--gray-900);
  background: var(--gray-50);
}

.detail-layout {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.content-card,
.side-card {
  background: var(--white);
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

.content-card {
  padding: 28px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.content-card h3,
.side-card h3 {
  margin: 28px 0 12px;
  color: var(--amber-600);
  font-size: 20px;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--gray-700);
  font-size: 17px;
}

.side-card {
  padding: 22px;
}

.side-card + .side-card {
  margin-top: 22px;
}

.player-section {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(135deg, #030712, #111827 62%, #431407);
}

.player-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.player-title {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.player-title h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
}

.player-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.video-player {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.42);
}

.video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72));
  border: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.36);
  font-size: 34px;
}

.play-overlay strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.play-overlay span {
  color: rgba(255, 255, 255, 0.78);
}

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

.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 20px;
  padding: 40px 0;
}

.footer-brand {
  color: var(--white);
  font-size: 22px;
}

.footer-inner p {
  margin: 8px 0 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

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

.copyright {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

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

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

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

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

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

  .mobile-trigger {
    display: flex;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-slide {
    position: relative;
    display: none;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .hero-content,
  .page-hero-inner,
  .detail-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

  .feature-grid,
  .movie-grid,
  .movie-grid.large-grid,
  .category-grid,
  .horizontal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .nav-bar {
    width: min(100% - 20px, var(--container));
  }

  .container,
  .hero-content,
  .page-hero-inner,
  .detail-inner,
  .detail-layout,
  .player-shell,
  .footer-inner {
    width: min(100% - 24px, var(--container));
  }

  .hero-content {
    gap: 28px;
    padding: 48px 0 72px;
  }

  .hero-card-info {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .section,
  .section-alt,
  .section-dark,
  .detail-content,
  .player-section {
    padding: 54px 0;
  }

  .feature-grid,
  .movie-grid,
  .movie-grid.large-grid,
  .category-grid,
  .horizontal-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .movie-body {
    min-height: auto;
  }

  .detail-poster {
    max-width: 280px;
  }
}
