* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: #111827;
  --line: rgba(148, 163, 184, 0.2);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --gold: #eab308;
  --gold-light: #fde047;
  --blue: #1e3a8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(234, 179, 8, 0.12), transparent 30rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.22), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0b1120 42%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-light), #ffffff 45%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--gold);
  color: #020617;
  font-size: 16px;
  box-shadow: 0 0 28px rgba(234, 179, 8, 0.45);
}

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

.main-nav a {
  position: relative;
  color: #e5e7eb;
  font-size: 14px;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.page-search input,
.quick-search input,
.mobile-panel input {
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
}

.header-search input:focus,
.page-search input:focus,
.quick-search input:focus,
.mobile-panel input:focus {
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.12);
}

.header-search button,
.page-search button,
.quick-search button,
.mobile-panel button {
  border: none;
  background: var(--gold);
  color: #020617;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.page-search button:hover,
.quick-search button:hover,
.mobile-panel button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  width: 100%;
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.64) 42%, rgba(2, 6, 23, 0.15) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.12) 48%, rgba(2, 6, 23, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 210px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: #020617;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
  padding: 8px 16px;
  box-shadow: 0 0 28px rgba(234, 179, 8, 0.35);
}

.hero h1 {
  margin: 26px 0 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
  color: var(--gold-light);
}

.hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  color: #d1d5db;
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  padding: 0 28px;
  color: #020617;
  background: var(--gold);
  box-shadow: 0 16px 40px rgba(234, 179, 8, 0.26);
}

.primary-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  border-color: rgba(250, 204, 21, 0.75);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-picks {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hero-picks a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-picks a:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 179, 8, 0.55);
}

.hero-picks img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #1e3a8a);
}

.hero-picks span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 800;
  color: white;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: max(22px, calc((100% - 1120px) / 2));
  bottom: 172px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

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

.scroll-mark {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  width: 28px;
  height: 44px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-mark span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: white;
  animation: pulseDown 1.3s infinite;
}

@keyframes pulseDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

.section-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0;
}

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

.section-title.tight {
  margin-bottom: 18px;
}

.section-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-weight: 900;
}

.section-title h2,
.quick-search h2,
.page-hero h1,
.detail-content h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.section-title a,
.text-link {
  color: var(--gold-light);
}

.movie-grid,
.poster-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(234, 179, 8, 0.14);
  border-color: rgba(234, 179, 8, 0.3);
}

.poster-wrap {
  position: relative;
  display: block;
  height: 255px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.compact-card .poster-wrap {
  height: auto;
  aspect-ratio: 2 / 3;
}

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

.movie-card:hover img,
.ranking-card:hover img,
.mini-card:hover img,
.feature-poster:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78));
}

.card-category,
.card-year {
  position: absolute;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.card-category {
  left: 14px;
  color: #020617;
  background: var(--gold);
}

.card-year {
  right: 14px;
  color: white;
  background: rgba(0, 0, 0, 0.55);
}

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

.card-body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  color: white;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body strong {
  color: var(--gold-light);
}

.card-body em,
.card-meta,
.category-tile em,
.overview-text small,
.ranking-card small,
.mini-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.card-body em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 3.3em;
  font-size: 14px;
}

.card-meta {
  font-size: 13px;
  color: var(--gold-light);
}

.tag-list,
.filter-bar,
.detail-meta,
.info-strip,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.tag-list {
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  color: #cbd5e1;
  padding: 6px 10px;
  font-size: 12px;
}

.wide-band {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.28), rgba(15, 23, 42, 0.48), rgba(30, 58, 138, 0.18));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(234, 179, 8, 0.45);
}

.rank-item strong {
  grid-row: span 2;
  color: var(--gold-light);
  font-size: 22px;
}

.rank-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.rank-item em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.category-tile {
  min-height: 152px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(234, 179, 8, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.45);
}

.category-tile span,
.category-tile strong,
.category-tile em {
  display: block;
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile strong {
  margin: 8px 0;
  color: var(--gold-light);
}

.feature-stack {
  display: grid;
  gap: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-row.reverse .feature-poster {
  order: 2;
}

.feature-poster {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
}

.feature-poster img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-text span {
  color: var(--gold-light);
  font-weight: 900;
}

.feature-text h3 {
  margin: 12px 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.feature-text p {
  color: #cbd5e1;
  line-height: 1.85;
}

.mini-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.mini-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-card img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 13px;
  transition: transform 0.4s ease;
}

.mini-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.quick-search {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.quick-search form,
.page-search {
  display: flex;
  gap: 10px;
  width: min(520px, 100%);
}

.quick-search input,
.page-search input {
  width: 100%;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(234, 179, 8, 0.18), transparent 24rem),
    radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.24), transparent 30rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero > div {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero p {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  min-height: 190px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.4);
}

.thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.thumb-stack img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
  background: #0f172a;
}

.overview-text strong,
.overview-text em,
.overview-text small {
  display: block;
}

.overview-text strong {
  font-size: 26px;
  margin-bottom: 8px;
}

.overview-text em {
  color: var(--gold-light);
  font-weight: 900;
  margin-bottom: 10px;
}

.filter-bar {
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  padding: 10px 16px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--gold);
  color: #020617;
  border-color: var(--gold);
}

.movie-card.is-hidden {
  display: none;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 72px 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-card:hover {
  transform: translateX(5px);
  border-color: rgba(234, 179, 8, 0.44);
}

.ranking-card strong {
  color: var(--gold-light);
  font-size: 30px;
  font-weight: 950;
  text-align: center;
}

.ranking-card img {
  width: 110px;
  height: 145px;
  object-fit: cover;
  border-radius: 16px;
  background: #0f172a;
  transition: transform 0.45s ease;
}

.ranking-card b,
.ranking-card em,
.ranking-card small {
  display: block;
}

.ranking-card b {
  font-size: 22px;
  margin-bottom: 8px;
}

.ranking-card em {
  color: var(--gold-light);
  font-style: normal;
  margin-bottom: 8px;
}

.detail-shell {
  padding: 36px 0 0;
}

.breadcrumbs,
.player-card,
.detail-content {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumbs a {
  color: var(--gold-light);
}

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 30%, rgba(234, 179, 8, 0.12), transparent 20rem),
    #000;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
  color: #020617;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.45));
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 18px rgba(234, 179, 8, 0.15), 0 24px 68px rgba(0, 0, 0, 0.45);
  font-size: 28px;
  padding-left: 5px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.07);
  background: var(--gold-light);
}

.play-overlay.is-hidden {
  display: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.72);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  display: none;
}

.player-message.is-visible {
  display: block;
}

.detail-content {
  margin-top: 28px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-meta {
  gap: 10px;
  margin-bottom: 22px;
}

.detail-meta a,
.detail-meta span {
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(30, 41, 59, 0.95);
  color: #cbd5e1;
  font-size: 13px;
}

.detail-meta a {
  color: #020617;
  background: var(--gold);
  font-weight: 900;
}

.detail-content h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.lead-text {
  margin: 20px 0 22px;
  color: var(--gold-light);
  font-size: 21px;
  line-height: 1.75;
  font-weight: 800;
}

.info-strip {
  gap: 12px;
  margin: 22px 0;
}

.info-strip span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.36);
  color: #cbd5e1;
  padding: 12px 14px;
}

.info-strip strong {
  color: var(--muted);
}

.detail-tags {
  margin: 18px 0 28px;
}

.detail-content section {
  margin-top: 30px;
}

.detail-content h2 {
  margin: 0 0 14px;
  font-size: 26px;
  color: white;
}

.detail-content p {
  color: #d1d5db;
  line-height: 1.9;
  font-size: 17px;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.prev-next a {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.4);
  color: var(--gold-light);
}

.related-wrap {
  padding-top: 48px;
}

.dynamic-grid:empty::before {
  content: "暂无匹配内容";
  display: block;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
}

.sitemap-wrap {
  display: grid;
  gap: 24px;
}

.sitemap-section {
  padding: 24px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sitemap-section h2 {
  margin: 0 0 14px;
  color: var(--gold-light);
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 16px;
}

.sitemap-links a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cbd5e1;
}

.sitemap-links a:hover {
  color: var(--gold-light);
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(0, 0, 0, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
}

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

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

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.copyright {
  width: min(1280px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-size: 14px;
}

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

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

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

  .split-layout,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-poster {
    order: 0;
  }

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

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 72px 0 270px;
  }

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

  .hero h2 {
    font-size: 30px;
  }

  .hero-picks {
    grid-template-columns: 1fr 1fr;
    bottom: 50px;
  }

  .hero-dots {
    flex-direction: row;
    right: auto;
    left: 16px;
    bottom: 216px;
  }

  .hero-dot.is-active {
    width: 34px;
    height: 12px;
  }

  .scroll-mark {
    display: none;
  }

  .section-title,
  .quick-search {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-search form,
  .page-search,
  .mobile-panel form {
    flex-direction: column;
  }

  .movie-grid,
  .poster-grid,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap {
    height: 280px;
  }

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

  .ranking-card strong {
    text-align: left;
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

  .detail-content {
    padding: 22px;
  }

  .sitemap-links {
    grid-template-columns: 1fr;
  }
}
