:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-500: #f97316;
  --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;
  --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500), var(--red-500));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand-name,
.footer-brand {
  display: block;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  display: block;
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--amber-600);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

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

.site-search-input,
.category-filter-input,
.sort-select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--gray-800);
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-input:focus,
.category-filter-input:focus,
.sort-select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: 430px;
  overflow: auto;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.8);
  display: none;
}

.search-results.is-visible {
  display: grid;
  gap: 8px;
}

.search-results a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 8px;
  transition: background 0.2s ease;
}

.search-results a:hover {
  background: var(--amber-50);
}

.search-results img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: var(--gray-100);
}

.search-results strong {
  display: block;
  color: var(--gray-900);
  font-size: 14px;
  margin-bottom: 4px;
}

.search-results span {
  color: var(--gray-500);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
}

.mobile-panel {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 118px 0 80px;
  color: var(--white);
  background: linear-gradient(120deg, var(--amber-600) 0%, var(--orange-500) 50%, var(--red-500) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.78) 0, rgba(255, 255, 255, 0.78) 2px, transparent 3px), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.7) 3px, transparent 4px);
  background-size: 64px 64px, 110px 110px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.hero-eyebrow,
.detail-kicker,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 750;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 24px 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 760px;
}

.hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.8;
}

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

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

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

.btn-light {
  color: var(--amber-700);
  background: var(--white);
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.18);
}

.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

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

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-quick-links a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  opacity: 0;
  transform: translateX(26px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.38);
  background: rgba(255, 255, 255, 0.2);
}

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

.hero-poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.64), transparent);
}

.hero-slide-info {
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-slide-info span,
.hero-meta span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-slide-info h2 {
  margin: 8px 0;
  font-size: 26px;
}

.hero-slide-info p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-dots {
  position: absolute;
  right: 18px;
  bottom: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: height 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  height: 28px;
  background: var(--white);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(0deg, var(--white), rgba(255, 255, 255, 0));
}

.stat-strip {
  background: var(--white);
  padding: 34px 0;
}

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

.stat-grid div {
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-card);
}

.stat-grid strong {
  display: block;
  font-size: 24px;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.stat-grid span {
  color: var(--gray-500);
}

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

.section-warm {
  background: linear-gradient(180deg, var(--amber-50), var(--white));
}

.section-ranking {
  background: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading span,
.page-hero span,
.detail-kicker {
  color: var(--amber-700);
  background: var(--amber-100);
}

.section-heading h2,
.page-hero h1 {
  margin: 14px 0;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray-600);
  line-height: 1.8;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  text-align: left;
}

.split-heading p {
  margin: 0;
}

.text-link {
  color: var(--amber-700);
  font-weight: 800;
}

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

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

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

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

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

.featured-grid .poster-wrap {
  aspect-ratio: 4 / 3;
}

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

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

.poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: rgba(17, 24, 39, 0.36);
  transition: opacity 0.25s ease;
}

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

.play-mini,
.play-orb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--amber-700);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.26);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

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

.movie-meta-line,
.card-bottom,
.rank-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-card h3 {
  margin: 8px 0 10px;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.28;
}

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

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-size: 12px;
}

.card-bottom {
  justify-content: space-between;
  margin-top: 16px;
}

.movie-card-compact h3 {
  font-size: 17px;
}

.movie-card-compact .movie-card-body {
  padding: 15px;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 20px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(249, 115, 22, 0.88));
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-soft);
}

.category-icon {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 24px;
}

.category-cover {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

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

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile strong {
  margin-top: 74px;
  font-size: 24px;
}

.category-tile em {
  margin-top: 10px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  font-size: 13px;
}

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

.full-rank-grid {
  margin-top: 28px;
}

.rank-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-cover {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  background: var(--gray-100);
}

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

.rank-cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-info {
  padding: 24px;
}

.rank-info h3 {
  margin: 0 0 10px;
  color: var(--gray-900);
  font-size: 22px;
}

.rank-info p {
  margin: 0 0 18px;
  color: var(--gray-600);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.center-action {
  justify-content: center;
}

.page-main {
  padding-top: 80px;
}

.page-hero {
  position: relative;
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--amber-600), var(--orange-500), var(--red-500));
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 25% 30%, #fff 0, #fff 2px, transparent 3px);
  background-size: 70px 70px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero span {
  color: var(--amber-700);
  background: var(--white);
}

.page-hero h1,
.page-hero p {
  color: var(--white);
  margin-left: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  border-radius: 26px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-stack {
  position: relative;
  height: 210px;
}

.category-stack img {
  position: absolute;
  width: 126px;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
  background: var(--gray-100);
}

.category-stack img:nth-child(1) {
  left: 0;
  top: 24px;
  transform: rotate(-8deg);
}

.category-stack img:nth-child(2) {
  left: 48px;
  top: 0;
  z-index: 2;
}

.category-stack img:nth-child(3) {
  right: 0;
  top: 32px;
  transform: rotate(8deg);
}

.category-overview-body span {
  font-size: 34px;
}

.category-overview-body h2 {
  margin: 10px 0;
  color: var(--gray-900);
  font-size: 28px;
}

.category-overview-body p {
  color: var(--gray-600);
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-controls,
.chip-row,
.slim-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.chip-row {
  justify-content: flex-start;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.sort-select {
  width: 170px;
}

.empty-state {
  display: none;
  margin: 26px 0 0;
  padding: 26px;
  text-align: center;
  color: var(--gray-500);
  border-radius: 20px;
  background: var(--gray-50);
}

.empty-state.is-visible {
  display: block;
}

.detail-main {
  background: var(--white);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  color: var(--white);
  background: var(--gray-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  filter: blur(2px);
}

.detail-backdrop img {
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72));
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-cover {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  background: var(--gray-100);
}

.detail-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

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

.detail-info h1 {
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.78);
}

.detail-tags span {
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.16);
}

.player-section {
  background: linear-gradient(180deg, var(--gray-900), var(--gray-800));
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.74));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-cover strong {
  font-size: 24px;
}

.player-cover em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
}

.detail-article,
.detail-side {
  border-radius: 26px;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 18px;
  color: var(--gray-900);
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 28px;
  color: var(--gray-700);
  line-height: 2;
  font-size: 16px;
}

.detail-side dl,
.detail-side div {
  margin: 0;
}

.detail-side div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail-side dt {
  color: var(--gray-500);
}

.detail-side dd {
  margin: 0;
  color: var(--gray-900);
}

.site-footer {
  padding: 54px 0 24px;
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

.footer-grid p {
  max-width: 430px;
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

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

.footer-links a {
  color: var(--gray-600);
}

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

.footer-bottom {
  margin-top: 36px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .mobile-panel {
    padding: 0 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.08);
  }

  .mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
  }

  .mobile-panel nav a {
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--gray-700);
    background: var(--gray-50);
  }

  .mobile-panel nav a.active {
    color: var(--amber-700);
    background: var(--amber-50);
  }

  .mobile-search-wrap {
    position: relative;
  }

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

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

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

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

  .category-overview-grid,
  .rank-grid,
  .footer-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header-inner {
    height: 72px;
  }

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

  .hero-section {
    min-height: auto;
    padding: 104px 0 56px;
  }

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

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

  .hero-dots {
    right: 12px;
    bottom: 166px;
  }

  .section-block {
    padding: 56px 0;
  }

  .stat-grid,
  .movie-grid,
  .small-grid,
  .category-movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .filter-controls,
  .slim-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-select {
    width: 100%;
  }

  .rank-card {
    grid-template-columns: 120px 1fr;
  }

  .rank-cover {
    min-height: 168px;
  }

  .rank-info {
    padding: 16px;
  }

  .rank-info h3 {
    font-size: 18px;
  }

  .rank-info p {
    -webkit-line-clamp: 3;
  }

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

  .detail-hero {
    padding-top: 52px;
  }

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

  .detail-cover {
    max-width: 250px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .detail-article,
  .detail-side {
    padding: 22px;
  }
}
