:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-200: #fed7aa;
  --orange-100: #ffedd5;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  --shadow-strong: 0 30px 70px rgba(15, 23, 42, 0.28);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(180deg, #fff7ed 0, #f8fafc 360px, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-900));
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.24);
}

.nav-wrap {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.38);
  transition: transform 0.28s ease;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span {
  font-size: 21px;
}

.brand-text small {
  margin-top: 4px;
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link,
.search-open,
.menu-toggle,
.mobile-link,
.mobile-search {
  border: 0;
  cursor: pointer;
  color: var(--slate-300);
  background: transparent;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.search-open:hover,
.menu-toggle:hover,
.mobile-link:hover,
.mobile-search:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.nav-link.active,
.mobile-link.active {
  color: var(--white);
  background: var(--orange-500);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

.menu-toggle {
  display: none;
  font-size: 22px;
  padding: 8px 12px;
}

.mobile-panel {
  display: none;
  padding: 10px 24px 18px;
  background: var(--slate-950);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.mobile-panel.open {
  display: grid;
  gap: 6px;
}

.mobile-link,
.mobile-search {
  display: block;
  text-align: left;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(249, 115, 22, 0.34), transparent 24%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.76) 45%, rgba(15, 23, 42, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.8));
}

.hero-content {
  position: relative;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 92px 24px 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 48px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-200);
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(251, 146, 60, 0.26);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 20px 0 18px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-desc {
  margin: 0 0 26px;
  color: var(--slate-300);
  font-size: 21px;
  line-height: 1.75;
}

.hero-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.card-tags span {
  display: inline-flex;
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions,
.page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  color: var(--white);
  background: var(--orange-500);
  padding: 14px 22px;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.38);
}

.primary-btn:hover {
  background: var(--orange-600);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.48);
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 13px 21px;
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ghost-btn.dark {
  color: var(--slate-800);
  background: var(--white);
  border: 1px solid var(--slate-200);
}

.hero-poster {
  position: relative;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(1.2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0) scale(1.03);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

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

.hero-dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot.active {
  background: var(--orange-500);
}

.hero-category-bar {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.hero-category-bar a {
  flex: 0 0 auto;
  color: var(--slate-100);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hero-category-bar a:hover {
  color: var(--white);
  background: var(--orange-500);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.white-panel {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: var(--white);
}

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

.section-head h2,
.ranking-title h2,
.detail-article h2,
.category-overview-head h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p,
.category-overview-head p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--slate-600);
  line-height: 1.8;
}

.section-link {
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 10px 14px;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--white);
  background: var(--orange-500);
  transform: translateY(-2px);
}

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

.feature-card,
.movie-card,
.compact-card,
.category-card,
.category-overview-card,
.rank-row {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 330px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.feature-card a,
.feature-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-card img {
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(249, 115, 22, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  font-size: 30px;
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.34);
}

.feature-text {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.52), transparent);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 800;
}

.feature-text .meta-row {
  justify-content: flex-start;
  color: var(--white);
}

.meta-row span,
.meta-row a {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--orange-100);
  color: var(--orange-600);
}

.feature-text .meta-row span,
.feature-text .meta-row a {
  color: var(--white);
  background: rgba(249, 115, 22, 0.9);
}

.feature-text h3,
.movie-card h3 {
  margin: 12px 0 9px;
  font-size: 24px;
  line-height: 1.25;
}

.feature-text p,
.movie-card p {
  margin: 0;
  line-height: 1.7;
}

.feature-text small {
  display: block;
  margin-top: 12px;
  color: var(--slate-300);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  border-color: var(--orange-200);
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-200);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(2, 6, 23, 0);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.poster-mask span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-500);
  border-radius: 999px;
  font-size: 24px;
}

.movie-card:hover .poster-mask {
  opacity: 1;
  background: rgba(2, 6, 23, 0.42);
}

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

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

.movie-card h3 a:hover {
  color: var(--orange-600);
}

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

.card-tags {
  margin-top: 14px;
}

.card-tags span {
  color: var(--slate-600);
  background: var(--slate-100);
  border-color: var(--slate-200);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.latest-box,
.ranking-box {
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.latest-box {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.latest-box .section-head h2,
.latest-box .section-head p {
  color: var(--white);
}

.ranking-box {
  position: sticky;
  top: 92px;
  background: var(--white);
  border: 1px solid var(--slate-200);
}

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

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

.compact-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.compact-card a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.compact-card img {
  width: 72px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card strong,
.compact-card small {
  display: block;
}

.compact-card strong {
  color: var(--slate-900);
  line-height: 1.35;
}

.compact-card small {
  margin-top: 7px;
  color: var(--slate-500);
  line-height: 1.45;
}

.latest-box .compact-card {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.latest-box .compact-card strong,
.latest-box .compact-card small {
  color: var(--white);
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.ranking-title a {
  color: var(--orange-600);
  font-weight: 800;
}

.ranking-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 11px;
  background: var(--slate-50);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ranking-list a:hover {
  background: var(--orange-100);
  transform: translateX(4px);
}

.ranking-list span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 12px;
  font-weight: 900;
}

.ranking-list strong,
.ranking-list small {
  display: block;
}

.ranking-list small {
  margin-top: 5px;
  color: var(--slate-500);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.5s ease;
}

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

.category-card span {
  position: absolute;
  inset: auto 14px 14px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 13px;
  backdrop-filter: blur(10px);
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card small {
  margin-top: 5px;
  color: var(--orange-200);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 72% 22%, rgba(249, 115, 22, 0.32), transparent 24%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero {
  padding: 82px 24px;
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-300);
  font-size: 19px;
  line-height: 1.8;
}

.slim-hero {
  padding-bottom: 62px;
}

.category-overview {
  display: grid;
  gap: 26px;
}

.category-overview-card {
  border-radius: 28px;
  padding: 28px;
}

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

.ranking-page {
  padding-top: 42px;
}

.rank-row-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.rank-row a {
  display: grid;
  grid-template-columns: 70px 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 18px 12px 12px;
}

.rank-no {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border-radius: 16px;
  font-size: 20px;
  font-weight: 900;
}

.rank-row img {
  width: 86px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-info strong,
.rank-info small,
.rank-info em {
  display: block;
}

.rank-info strong {
  color: var(--slate-900);
  font-size: 20px;
}

.rank-info small {
  margin-top: 8px;
  color: var(--slate-500);
  font-style: normal;
}

.rank-info em {
  margin-top: 8px;
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.7;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.03);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--slate-300);
  font-size: 14px;
  margin-bottom: 32px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
}

.detail-copy p {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--slate-300);
  font-size: 20px;
  line-height: 1.8;
}

.detail-cover {
  width: 300px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
}

.detail-section {
  padding-top: 42px;
}

.player-wrap {
  margin-bottom: 40px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-strong);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at 50% 45%, rgba(249, 115, 22, 0.3), rgba(2, 6, 23, 0.72));
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.player-layer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.player-start {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange-500);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.45);
  font-size: 36px;
  transform: translateX(2px);
}

.player-layer strong {
  max-width: 90%;
  font-size: 22px;
}

.player-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  color: var(--white);
  text-align: center;
  pointer-events: none;
}

.player-status:empty {
  display: none;
}

.detail-article {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--slate-700);
  font-size: 18px;
  line-height: 2;
}

.detail-article h2 {
  margin: 34px 0 14px;
}

.detail-article p {
  margin: 0;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.detail-meta-grid div {
  border-radius: 20px;
  padding: 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: var(--slate-500);
  font-size: 13px;
  margin-bottom: 6px;
}

.detail-meta-grid strong {
  color: var(--slate-900);
}

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

.site-footer {
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

.site-footer p {
  margin: 14px 0 0;
  color: var(--slate-400);
  line-height: 1.8;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: var(--slate-300);
  transition: color 0.25s ease;
}

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

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--slate-400);
  font-size: 14px;
}

.search-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(2, 6, 23, 0.76);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.search-layer.open {
  display: grid;
}

.search-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  border-radius: 28px;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.search-dialog h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 32px;
}

.search-dialog p {
  margin: 10px 0 18px;
  color: var(--slate-600);
}

.search-close {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--slate-700);
  background: var(--slate-100);
  font-size: 26px;
}

.search-input {
  width: 100%;
  border: 2px solid var(--slate-200);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--slate-900);
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

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

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.search-result {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 10px;
  transition: border 0.25s ease, transform 0.25s ease;
}

.search-result:hover {
  border-color: var(--orange-300);
  transform: translateY(-2px);
}

.search-result img {
  width: 68px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.search-result strong,
.search-result span,
.search-result small {
  display: block;
}

.search-result strong {
  color: var(--slate-900);
}

.search-result span {
  margin-top: 5px;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.5;
}

.search-result small {
  margin-top: 5px;
  color: var(--orange-600);
  font-weight: 800;
}

.no-result {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--slate-500);
  background: var(--slate-50);
  border-radius: 16px;
  text-align: center;
}

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    position: static;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .search-open {
    display: none;
  }

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

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 70px;
  }

  .hero-poster {
    display: none;
  }

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

  .feature-grid,
  .movie-grid,
  .catalog-grid,
  .category-grid,
  .compact-grid,
  .compact-grid.four,
  .related-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-cover {
    display: none;
  }

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

  .category-overview-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    height: 62px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-text span {
    font-size: 18px;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content {
    padding: 54px 18px 118px;
  }

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

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

  .content-section,
  .page-hero,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .feature-grid,
  .movie-grid,
  .catalog-grid,
  .category-grid,
  .compact-grid,
  .compact-grid.four,
  .related-grid,
  .search-results,
  .detail-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .category-overview-card,
  .latest-box,
  .ranking-box,
  .search-dialog {
    border-radius: 22px;
  }

  .rank-row a {
    grid-template-columns: 48px 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .rank-no {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .rank-row img {
    width: 64px;
    height: 86px;
  }

  .rank-info em {
    display: none;
  }

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