:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #f59e0b;
  --amber-500: #f59e0b;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --pink-500: #ec4899;
  --blue-500: #3b82f6;
  --cyan-500: #06b6d4;
  --green-500: #22c55e;
  --emerald-500: #10b981;
  --purple-500: #a855f7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --black: #000000;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 2px solid var(--amber-200);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.38);
}

.brand-mark svg {
  fill: currentColor;
}

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

.brand-copy strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #d97706, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--gray-600);
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-400));
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.28);
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.nav-chip,
.mobile-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--amber-200);
  color: var(--gray-700);
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(217, 119, 6, 0.08);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-chip:hover,
.mobile-chip:hover {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-400));
  transform: translateY(-1px);
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--gray-700);
}

.mobile-panel {
  display: none;
  padding: 14px 18px 18px;
  background: var(--white);
  border-top: 1px solid var(--amber-200);
  box-shadow: 0 20px 35px rgba(17, 24, 39, 0.12);
}

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

.mobile-link {
  display: flex;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-link.active {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-400));
}

.mobile-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--amber-100), #ffedd5, var(--amber-100));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
}

.hero h1,
.hero h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.5vw, 22px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta span,
.hero-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  color: var(--white);
  font-size: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.32);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

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

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.page-shell {
  padding: 48px 0 64px;
}

.home-shell {
  display: grid;
  gap: 54px;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -24px;
  position: relative;
  z-index: 3;
}

.quick-panel a {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(245, 158, 11, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-panel a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.quick-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.quick-panel span {
  color: var(--gray-600);
}

.content-section {
  padding: 30px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.content-section.soft-blue {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.content-section.soft-green {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5, #f0fdfa);
}

.content-section.soft-amber {
  background: linear-gradient(135deg, #fefce8, var(--amber-50), #fff7ed);
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--gray-600);
}

.section-link {
  flex: 0 0 auto;
  color: #d97706;
  font-weight: 800;
}

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

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

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

.movie-card {
  position: relative;
  min-width: 0;
}

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

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

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  opacity: 0.72;
}

.card-badge,
.card-corner,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  left: 12px;
  top: 12px;
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
}

.card-corner {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.72);
}

.rank-badge {
  left: -10px;
  top: -10px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.35);
  font-size: 18px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
  color: #d97706;
}

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

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

.tag-row {
  margin-top: auto;
  margin-bottom: 14px;
}

.tag-row span,
.detail-tags a,
.genre-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
}

.detail-tags a:hover {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.horizontal-grid,
.rank-list,
.side-list {
  display: grid;
  gap: 14px;
}

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

.compact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.12);
}

.compact-cover {
  flex: 0 0 112px;
  height: 74px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--amber-100);
}

.compact-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-info {
  min-width: 0;
}

.compact-info strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-info em {
  display: block;
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.compact-rank {
  margin-left: auto;
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  font-weight: 850;
}

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

.poster-mosaic .card-body p,
.poster-mosaic .tag-row,
.poster-mosaic .meta-row {
  display: none;
}

.poster-mosaic .card-body h3 {
  min-height: auto;
  margin-bottom: 0;
  font-size: 15px;
}

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

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

.category-card,
.category-overview-card a {
  display: block;
  height: 100%;
  padding: 24px;
  border-radius: 22px;
  color: var(--gray-900);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card strong,
.category-overview-body h2 {
  display: block;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.category-overview-body p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.category-mini {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.category-mini span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-700);
  font-size: 13px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.tone-orange,
.tone-amber {
  background: linear-gradient(135deg, var(--amber-50), #fff7ed);
}

.tone-blue,
.tone-cyan {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.tone-purple,
.tone-indigo {
  background: linear-gradient(135deg, #f5f3ff, #eef2ff);
}

.tone-pink,
.tone-rose {
  background: linear-gradient(135deg, #fdf2f8, #fff1f2);
}

.tone-green {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.tone-red {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
}

.tone-yellow {
  background: linear-gradient(135deg, #fefce8, #fffbeb);
}

.tone-slate {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.page-hero {
  position: relative;
  margin-bottom: 32px;
  padding: 44px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--amber-50), #ffedd5, var(--white));
  box-shadow: var(--shadow-soft);
}

.small-hero::after,
.category-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -70px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
}

.page-hero > span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 13px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
  font-size: 13px;
  font-weight: 850;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #d97706;
}

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

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--amber-100);
}

.category-overview-body span {
  display: inline-flex;
  margin-top: 16px;
  color: #d97706;
  font-weight: 850;
}

.filter-bar,
.search-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

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

.search-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
}

.search-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.filter-bar label,
.search-panel label {
  display: grid;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 750;
}

.filter-bar input,
.filter-bar select,
.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  background: var(--gray-50);
  padding: 0 14px;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-bar input:focus,
.filter-bar select:focus,
.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--amber-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.listing-grid {
  align-items: stretch;
}

.detail-shell {
  padding-top: 28px;
}

.detail-breadcrumb {
  margin-bottom: 20px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

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

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black);
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.28));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.35);
  font-size: 34px;
  line-height: 1;
  padding-left: 5px;
}

.play-layer strong {
  font-size: 18px;
}

.detail-card {
  padding: 28px;
}

.detail-category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
  font-weight: 800;
  font-size: 14px;
}

.detail-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gray-600);
}

.detail-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 13px;
}

.detail-card h2,
.side-card h2 {
  margin: 26px 0 10px;
  font-size: 22px;
  font-weight: 900;
}

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

.detail-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 112px;
}

.side-card {
  padding: 20px;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: var(--amber-100);
}

.poster-side h2 {
  margin-top: 16px;
}

.poster-side p {
  margin: 0 0 12px;
  color: var(--gray-600);
}

.related-section {
  margin-top: 34px;
}

.site-footer {
  background: linear-gradient(180deg, #111827, #030712);
  color: #d1d5db;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer h2 {
  font-size: 24px;
}

.site-footer h3 {
  font-size: 18px;
}

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

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

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

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

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

  .detail-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .desktop-nav,
  .chip-row {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

  .hero {
    height: 560px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
  }

  .quick-panel,
  .grid-3,
  .rank-grid,
  .horizontal-grid,
  .filter-bar,
  .search-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .search-selects,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .content-section,
  .page-hero,
  .detail-card {
    padding: 22px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .page-shell,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

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

  .brand-copy small {
    display: none;
  }

  .hero {
    height: 540px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .grid-4,
  .grid-3,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .poster-mosaic {
    grid-template-columns: 1fr;
  }

  .compact-cover {
    flex-basis: 96px;
    height: 68px;
  }

  .page-shell {
    padding-top: 30px;
  }
}
