:root {
  --ink-950: #0c0a09;
  --ink-900: #1c1917;
  --ink-800: #292524;
  --ink-700: #44403c;
  --accent: #ea580c;
  --accent-2: #d97706;
  --accent-soft: #fdba74;
  --mint: #0d9488;
  --emerald: #059669;
  --rose: #e11d48;
  --text: #1c1917;
  --muted: #78716c;
  --soft: #fafaf9;
  --line: #e7e5e4;
  --card: #fff;
  --shadow: 0 20px 45px rgba(28, 25, 23, 0.12);
  --shadow-soft: 0 10px 28px rgba(28, 25, 23, 0.08);
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(#fafaf9, #fff);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
a { text-decoration: none; color: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button,
input {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
ul { list-style: none; margin: 0; padding: 0; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: #fff;
  box-shadow: 0 10px 30px rgba(12, 10, 9, 0.28);
}
.nav-shell {
  height: 72px;
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: var(--font-display);
}
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: inline-grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
  font-size: 12px;
}
.brand strong { display: block; font-size: 18px; letter-spacing: 0.02em; line-height: 1.2; }
.brand small { display: block; color: #a8a29e; font-size: 12px; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.nav-link {
  padding: 9px 12px;
  border-radius: 10px;
  color: #f5f5f4;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(68, 64, 60, 0.85);
  color: #fff;
}
.top-search {
  display: flex;
  align-items: center;
  background: #44403c;
  border-radius: 999px;
  padding: 3px;
  min-width: 270px;
}
.top-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
}
.top-search input::placeholder { color: #a8a29e; }
.top-search button,
.mobile-panel button,
.large-search button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #fff;
  border-radius: 10px;
  font-size: 22px;
  padding: 8px 12px;
  cursor: pointer;
}
.mobile-panel {
  display: none;
  background: #1c1917;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
}
.mobile-panel.open { display: grid; gap: 8px; }
.mobile-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #e7e5e4;
}
.mobile-panel a:hover { background: #292524; }
.mobile-panel form { display: flex; gap: 8px; }
.mobile-panel input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #44403c;
  color: #fff;
  font-family: inherit;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.72) 45%, rgba(12, 10, 9, 0.18) 100%);
}
.hero-inner {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 40px;
}
.hero-copy { max-width: 720px; }
.kicker {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.3);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-film {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px) !important;
  line-height: 1.06 !important;
  margin: 0 0 18px !important;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff !important;
}
.hero p {
  font-size: 18px;
  line-height: 1.75;
  color: #e7e5e4;
  margin: 0 0 22px;
}
.hero-tags,
.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 13px;
}
.hero-actions,
.cta-band .container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: 0.25s;
  cursor: pointer;
  font-family: inherit;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.28);
}
.btn.glass {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn.white {
  background: #fff;
  color: var(--accent);
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.hero-panel {
  background: rgba(28, 25, 23, 0.58);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.hero-panel > span {
  color: var(--accent-soft);
  font-weight: 800;
}
.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 8px 0;
}
.hero-panel p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #e7e5e4;
}
.mini-ranks { display: grid; gap: 10px; }
.mini-ranks a {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.mini-ranks b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-size: 13px;
}

/* Stats */
.stats-strip {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  color: #fff;
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats-grid div { text-align: center; }
.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}
.stats-grid span { color: #a8a29e; font-size: 14px; }

/* Sections */
.section { padding: 72px 0; }
.pad-top { padding-top: 78px; }
.soft-bg { background: linear-gradient(180deg, #fafaf9, #fff); }
.tint-bg { background: linear-gradient(135deg, #fff7ed, #fffbeb, #f0fdfa); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head h2,
.center-head h2,
.rank-box-head h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-head p,
.center-head p {
  margin: 0;
  color: var(--muted);
}
.section-more {
  font-weight: 800;
  color: var(--accent);
  display: flex;
  gap: 6px;
  align-items: center;
}
.center-head {
  text-align: center;
  margin-bottom: 34px;
}
.grid { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }

/* Topics */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.topic-card {
  position: relative;
  min-height: 170px;
  border-radius: 24px;
  overflow: hidden;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  transition: 0.25s;
}
.topic-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow);
}
.topic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  mix-blend-mode: multiply;
}
.topic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.12), rgba(12, 10, 9, 0.78));
}
.topic-card strong,
.topic-card small {
  position: relative;
  z-index: 1;
}
.topic-card strong { font-size: 22px; font-family: var(--font-display); }
.topic-card small { color: #e7e5e4; }
.grad-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.grad-blue { background: linear-gradient(135deg, #0f766e, #0d9488); }
.grad-cyan { background: linear-gradient(135deg, #d97706, #ea580c); }
.grad-pink { background: linear-gradient(135deg, #e11d48, #be123c); }
.grad-violet { background: linear-gradient(135deg, #b45309, #92400e); }
.grad-emerald { background: linear-gradient(135deg, #059669, #047857); }
.grad-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.grad-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.grad-slate { background: linear-gradient(135deg, #44403c, #1c1917); }
.grad-gold { background: linear-gradient(135deg, #ca8a04, #d97706); }

/* Movie cards */
.movie-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.08);
  transition: 0.25s;
  border: 1px solid rgba(231, 229, 228, 0.8);
}
.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1c1917;
}
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.movie-card:hover .poster-wrap img { transform: scale(1.09); }
.year-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}
.card-body { padding: 18px; }
.region-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.movie-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
  color: #292524;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
}
.movie-card:hover h3 { color: var(--accent); }
.movie-card p {
  margin: 0 0 12px;
  color: #78716c;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tag-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag-strip span {
  background: #f5f5f4;
  border-radius: 999px;
  padding: 3px 8px;
  color: #57534e;
  font-size: 12px;
}
.meta-line {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #78716c;
  font-size: 12px;
  min-width: 0;
}
.meta-line span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-credits {
  margin: -8px 0 22px !important;
  font-size: 14px !important;
  color: #d6d3d1 !important;
  line-height: 1.6 !important;
}
.info-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
  list-style: none;
  padding: 0;
}
.info-meta.compact { grid-template-columns: 1fr; gap: 4px; }
.info-meta li {
  background: #fafaf9;
  border: 1px solid #f5f5f4;
  border-radius: 10px;
  padding: 8px 10px;
}
.info-meta .lbl {
  display: block;
  font-size: 11px;
  color: #a8a29e;
}
.info-meta .val {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #44403c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-cast,
.mini-date {
  margin: 4px 0 0;
  font-size: 12px;
  color: #78716c;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-date { -webkit-line-clamp: 1; }
.movie-card.horizontal {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-radius: 16px;
}
.movie-card.horizontal .poster-wrap {
  aspect-ratio: auto;
  height: 136px;
}
.movie-card.minimal {
  box-shadow: none;
  border: 0;
  background: transparent;
  border-radius: 14px;
}
.movie-card.minimal:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.movie-card.minimal .poster-wrap {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}
.mini-body { padding: 10px 2px; }
.mini-body h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

/* Two col + ranks */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.list-stack { display: grid; gap: 16px; }
.rank-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  position: sticky;
  top: 96px;
}
.rank-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.rank-box-head h2 { font-size: 24px; }
.rank-box-head a { color: var(--accent); font-weight: 800; }
.rank-list { display: grid; gap: 10px; }
.rank-row {
  display: grid;
  grid-template-columns: 38px 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: 0.2s;
  color: #292524;
}
.rank-row:hover {
  background: #fafaf9;
  color: var(--accent);
}
.rank-number {
  font-weight: 900;
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-display);
}
.rank-row img {
  width: 56px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  background: #1c1917;
}
.rank-title {
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-meta {
  font-size: 12px;
  color: #78716c;
  white-space: nowrap;
}

/* CTA */
.cta-band {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent), #c2410c);
  color: #fff;
  text-align: center;
}
.cta-band .container {
  justify-content: center;
  flex-direction: column;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 42px;
  margin: 0;
}
.cta-band p {
  margin: 0 0 10px;
  color: #ffedd5;
  font-size: 20px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: #d6d3d1;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
}
.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-family: var(--font-display);
}
.site-footer p {
  color: #a8a29e;
  line-height: 1.75;
}
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-top: 32px;
  color: #a8a29e;
}

/* SEO helper */
.seo-intro {
  max-width: 860px;
  margin: 0 auto 8px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  text-align: center;
}

/* Motion */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy,
.hero-panel {
  animation: rise-in 0.7s ease both;
}
.hero-panel { animation-delay: 0.12s; }
.topic-card,
.movie-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .top-search { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(3, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .rank-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-shell { height: 64px; }
  .brand strong { font-size: 17px; }
  .hero,
  .hero-inner { min-height: 72vh; }
  .hero h1 { font-size: 28px; }
  .hero-film { font-size: 40px !important; }
  .hero p { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .topic-grid,
  .cards-3,
  .cards-4,
  .cards-5 { grid-template-columns: 1fr 1fr; }
  .movie-card.horizontal { grid-template-columns: 120px 1fr; }
  .movie-card.horizontal .poster-wrap { height: 132px; }
  .movie-card.horizontal .card-body { padding: 12px; }
  .movie-card.horizontal p,
  .movie-card.horizontal .meta-line { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 32px 52px minmax(0, 1fr); }
  .rank-meta { display: none; }
  .cta-band h2 { font-size: 32px; }
}

/* Inner pages */
.page-hero {
  padding: 62px 0;
  background: linear-gradient(135deg, #c2410c, #ea580c, #d97706);
  color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  margin: 18px 0 12px;
  font-weight: 900;
}
.page-hero p {
  max-width: 760px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.7;
}
.crumb,
.detail-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  flex-wrap: wrap;
}
.detail-crumb {
  color: #78716c;
  margin-bottom: 22px;
}
.detail-crumb a:hover { color: var(--accent); }
.detail-shell { padding: 36px 0 72px; }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.player-card,
.content-card,
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 24px;
}
.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
  flex-wrap: wrap;
}
.player-head h1 {
  margin: 8px 0 0;
  font-size: 28px;
  font-family: var(--font-display);
}
.player-frame {
  position: relative;
  background: #0c0a09;
  aspect-ratio: 16 / 9;
}
.player-frame-lg { aspect-ratio: 16 / 9; }
.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}
.player-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 900;
  padding: 6px 10px;
  letter-spacing: 0.08em;
}
.detail-info { padding: 24px 28px; }
.detail-info h1,
.detail-info h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 900;
  font-family: var(--font-display);
}
.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-pills span,
.detail-pills a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f5f4;
  color: #44403c;
  font-size: 13px;
}
.detail-pills a {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}
.one-line {
  font-size: 17px;
  color: #57534e;
  line-height: 1.75;
}
.content-card { padding: 28px; }
.content-card h2 {
  font-size: 24px;
  margin: 0 0 14px;
  font-weight: 900;
  font-family: var(--font-display);
}
.content-card p {
  color: #57534e;
  line-height: 1.9;
  margin: 0 0 22px;
}
.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 28px;
  list-style: none;
  padding: 0;
}
.info-list li {
  background: #fafaf9;
  border: 1px solid #f5f5f4;
  border-radius: 16px;
  padding: 14px;
}
.info-list .lbl {
  display: block;
  font-size: 12px;
  color: #78716c;
}
.info-list .val {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  color: #292524;
}
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-tags a {
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}
.detail-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.cover-card { padding: 18px; }
.cover-card img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: #1c1917;
}
.cover-card h3 {
  font-size: 24px;
  margin: 16px 0 6px;
  font-family: var(--font-display);
}
.cover-card p { color: #78716c; line-height: 1.7; }
.related-grid { gap: 16px; }
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.category-overview-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}
.category-overview-body { padding: 24px; }
.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-family: var(--font-display);
}
.category-overview-body p {
  color: #78716c;
  line-height: 1.75;
  margin-bottom: 16px;
}
.large-search {
  display: flex;
  max-width: 760px;
  margin-top: 28px;
  background: #fff;
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-soft);
}
.large-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: #1c1917;
  font-family: inherit;
}
.large-search button { padding: 12px 22px; }
.result-note {
  color: #78716c;
  margin: 12px 0 22px;
}
.rank-table { display: grid; gap: 8px; }
.rank-table .rank-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.no-results {
  display: none;
  text-align: center;
  padding: 40px;
  color: #78716c;
}
.no-results.show { display: block; }
.btn.small {
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
}

@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .category-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-hero h1 { font-size: 38px; }
  .detail-info h1,
  .detail-info h2,
  .player-head h1 { font-size: 26px; }
  .info-list { grid-template-columns: 1fr; }
  .category-overview-card { grid-template-columns: 1fr; }
  .category-overview-card .cover img { height: 210px; }
  .large-search {
    border-radius: 22px;
    flex-direction: column;
  }
  .large-search input,
  .large-search button { border-radius: 16px; }
  .content-card,
  .detail-info { padding: 20px; }
}

@media (max-width: 480px) {
  .topic-grid,
  .cards-3,
  .cards-4,
  .cards-5 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .hero-film { font-size: 34px !important; }
  .hero-actions .btn { width: 100%; }
  .poster-wrap { aspect-ratio: 16 / 11; }
  .mobile-panel form { flex-direction: column; }
  .movie-card.horizontal { grid-template-columns: 1fr; }
  .movie-card.horizontal .poster-wrap {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}
