
:root {
  --bg: #07111f;
  --bg-soft: #0f1b2f;
  --panel: rgba(15, 27, 47, .88);
  --panel-2: rgba(20, 34, 58, .92);
  --line: rgba(255,255,255,.08);
  --text: #edf3ff;
  --muted: rgba(237,243,255,.72);
  --accent: #f6c85f;
  --accent-2: #78d7ff;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(120,215,255,.14), transparent 24%),
    radial-gradient(circle at top right, rgba(246,200,95,.12), transparent 28%),
    linear-gradient(180deg, #060c16 0%, #07111f 38%, #060b13 100%);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(20px); background: rgba(6, 11, 19, .72); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-size: 1.2rem; font-weight: 800; letter-spacing: .08em; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.main-nav a:hover { color: white; }
.hero { padding: 24px 0 18px; }
.hero-shell { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(135deg, rgba(31,44,72,.92), rgba(8,17,32,.92)); box-shadow: var(--shadow); }
.hero-slider { position: relative; min-height: 640px; }
.hero-slide { display: none; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 38px; min-height: 640px; }
.hero-slide.active { display: grid; }
.hero-copy h1 { margin: 8px 0 10px; font-size: clamp(1.8rem, 3vw, 3.3rem); line-height: 1.1; }
.hero-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.04; color: #fff; }
.hero-copy p { margin: 0; max-width: 58ch; color: var(--muted); font-size: 1.03rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #fff; background: rgba(255,255,255,.05); font-size: .92rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #ffdf9c); color: #1a1403; }
.btn.ghost { background: rgba(255,255,255,.04); color: #fff; }
.hero-poster { justify-self: end; width: min(360px, 100%); transform: rotate(2deg); }
.hero-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 28px; box-shadow: 0 28px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); }
.hero-controls { position: absolute; inset: auto 28px 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); color: white; }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.25); }
.dot.active { background: var(--accent); width: 28px; border-radius: 999px; }
.section { padding: 22px 0 14px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-head h3 { margin: 0; font-size: 1.45rem; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movie-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(16,28,48,.95), rgba(9,16,29,.95)); box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.movie-card:hover { transform: translateY(-5px); border-color: rgba(246,200,95,.35); box-shadow: 0 20px 55px rgba(0,0,0,.42); }
.movie-card.large .movie-meta h3 { font-size: 1.12rem; }
.poster-wrap { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.movie-card:hover .poster-wrap img { transform: scale(1.06); }
.badge, .score { position: absolute; top: 12px; padding: 6px 10px; border-radius: 999px; font-size: .82rem; backdrop-filter: blur(10px); }
.badge { left: 12px; background: rgba(120,215,255,.18); border: 1px solid rgba(120,215,255,.22); }
.score { right: 12px; background: rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.12); }
.movie-meta { padding: 14px 14px 16px; }
.movie-meta h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.movie-meta p { margin: 0 0 12px; color: var(--muted); font-size: .92rem; min-height: 2.7em; }
.movie-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.movie-tags span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(237,243,255,.84); font-size: .8rem; }
.panel { border: 1px solid var(--line); border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.toolbox { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px; }
.toolbox input, .toolbox select { min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: white; }
.overview { display: grid; grid-template-columns: 1.55fr .75fr; gap: 16px; align-items: start; }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li + li { border-top: 1px solid var(--line); }
.rank-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; }
.rank-list span { color: var(--accent); font-weight: 800; }
.rank-list strong { font-weight: 700; }
.rank-list em { color: var(--muted); font-style: normal; }
.breadcrumbs { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.detail-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.detail-hero { display: grid; grid-template-columns: 280px 1fr; gap: 18px; padding: 18px; }
.detail-poster img { width: 100%; border-radius: 24px; aspect-ratio: 2/3; object-fit: cover; }
.detail-title { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.12; }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); margin: 0 0 14px; }
.detail-meta span { padding: 6px 10px; background: rgba(255,255,255,.06); border-radius: 999px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.player-box { margin-top: 16px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.player-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,.04); }
.player-top .sources { display: flex; gap: 8px; flex-wrap: wrap; }
.source-btn { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: white; }
.source-btn.active { background: var(--accent); color: #201600; border-color: transparent; }
video { width: 100%; display: block; background: black; }
.detail-copy { padding: 18px; color: var(--muted); }
.detail-copy h3 { color: var(--text); margin: 18px 0 10px; }
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 18px 18px; }
.site-footer { padding: 30px 0 38px; color: var(--muted); text-align: center; }
@media (max-width: 1080px) {
  .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .overview, .detail-layout { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-slide { grid-template-columns: 1fr; padding: 22px; min-height: auto; }
  .hero-slider { min-height: auto; }
  .hero-poster { justify-self: start; width: 68%; }
  .grid.cards, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-controls { position: static; padding: 0 20px 18px; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 20px, 1180px); }
  .grid.cards, .grid.three, .related { grid-template-columns: 1fr; }
  .hero-poster { width: 82%; }
  .header-inner { flex-direction: column; align-items: start; padding: 14px 0; }
}
