@charset "UTF-8";

/* 基础色彩、排版与尺寸 */
:root {
  color-scheme: dark;
  --bg: #0F172A;
  --bg-deep: #020617;
  --panel: #1E293B;
  --panel-soft: #263449;
  --line: rgba(148, 163, 184, .18);
  --text: #F1F5F9;
  --muted: #94A3B8;
  --accent: #22D3EE;
  --accent-dark: #0891B2;
  --gold: #FBBF24;
  --radius: 14px;
  --content: 1180px;
  --shadow: 0 18px 50px rgba(2, 6, 23, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(34, 211, 238, .07), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: rgba(34, 211, 238, .28); color: #fff; }
.skip-link {
  position: fixed; z-index: 1000; top: 8px; left: 8px;
  padding: 9px 14px; transform: translateY(-150%);
  color: var(--bg-deep); background: var(--accent); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 顶部品牌区 */
.site-header {
  position: sticky; z-index: 50; top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 42, .94);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 11px; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { padding: 9px 14px; border-radius: 9px; color: #CBD5E1; font-size: 14px; transition: background .18s, color .18s; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); background: rgba(34, 211, 238, .09); }
.menu-toggle { display: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); }

/* 页面容器与首屏 */
.page-shell { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; }
.hero-panel {
  min-height: 430px; margin: 28px 0 48px; padding: 46px 54px;
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 22px;
  background: linear-gradient(118deg, rgba(30, 41, 59, .98), rgba(15, 23, 42, .88) 62%, rgba(8, 47, 73, .7));
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.hero-copy h1 { margin: 17px 0 14px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.2; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 520px; margin: 0; color: #CBD5E1; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { min-height: 44px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04232B; background: var(--accent); }
.button-primary:hover { color: #04232B; background: #67E8F9; }
.button-quiet { color: var(--text); border-color: rgba(148, 163, 184, .28); background: rgba(15, 23, 42, .45); }
.button-quiet:hover { border-color: var(--accent); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--muted); font-size: 12px; }
.hero-facts span::before { content: "✓"; margin-right: 6px; color: var(--accent); }
.hero-art { min-height: 330px; position: relative; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.hero-poster { position: absolute; width: 178px; aspect-ratio: 3 / 4.2; object-fit: cover; border: 4px solid rgba(241, 245, 249, .14); border-radius: 12px; box-shadow: 0 22px 45px rgba(0,0,0,.45); }
.hero-poster-one { z-index: 2; transform: translate(-112px, 12px) rotate(-10deg); }
.hero-poster-two { z-index: 3; transform: translate(0, -12px) rotate(1deg) scale(1.08); }
.hero-poster-three { z-index: 1; transform: translate(112px, 16px) rotate(10deg); }
.hero-orbit { position: absolute; width: 380px; height: 230px; border: 1px solid rgba(34, 211, 238, .2); border-radius: 50%; transform: rotate(-18deg); }

/* 内容区块 */
.content-section { margin: 0 0 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2, .info-panel h2, .detail-copy h2 { margin: 7px 0 5px; font-size: clamp(22px, 2.5vw, 29px); line-height: 1.35; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { flex: 0 0 auto; padding-bottom: 5px; color: var(--accent); font-size: 13px; font-weight: 700; }
.movie-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.movie-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movie-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s, box-shadow .2s; }
.movie-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .42); box-shadow: 0 15px 34px rgba(2, 6, 23, .24); }
.poster-link { position: relative; display: block; overflow: hidden; background: #0B1220; }
.poster-link img { width: 100%; aspect-ratio: 3 / 4.1; object-fit: cover; transition: transform .35s; }
.movie-card:hover .poster-link img { transform: scale(1.035); }
.poster-badge { position: absolute; right: 9px; bottom: 9px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #E0F2FE; background: rgba(2, 6, 23, .76); font-size: 10px; }
.card-rank { position: absolute; z-index: 2; top: 9px; left: 9px; min-width: 26px; padding: 2px 6px; border-radius: 5px; color: #082F49; background: var(--accent); text-align: center; font-size: 12px; font-weight: 800; }
.movie-card-body { padding: 13px 14px 14px; }
.movie-meta { display: flex; gap: 10px; color: var(--muted); font-size: 11px; }
.movie-card h3 { overflow: hidden; margin: 5px 0 5px; font-size: 16px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.movie-card h3 a:hover { color: var(--accent); }
.movie-summary { min-height: 43px; margin: 0; display: -webkit-box; overflow: hidden; color: #AEBBCC; font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; }
.rating { color: var(--gold); font-weight: 700; }
.card-bottom a { color: var(--accent); }

/* 剧集连续列表与口碑排行 */
.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.split-section .section-heading { margin: 0; }
.series-list { border-top: 1px solid var(--line); }
.series-row { min-width: 0; display: grid; grid-template-columns: 34px 76px 1fr 24px; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.series-index { color: #64748B; font-size: 17px; font-weight: 800; }
.series-row img { width: 76px; height: 100px; object-fit: cover; border-radius: 7px; }
.series-info > span { color: var(--muted); font-size: 11px; }
.series-info h3 { margin: 3px 0; font-size: 15px; }
.series-info p { margin: 0; color: #AEBBCC; font-size: 12px; line-height: 1.6; }
.row-arrow { color: var(--accent); font-size: 25px; text-align: right; }
.ranking-section { padding: 26px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(135deg, rgba(30,41,59,.9), rgba(15,23,42,.8)); }
.ranking-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.ranking-item { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ranking-number { width: 27px; color: #64748B; font-size: 17px; }
.ranking-item:nth-child(-n+3) .ranking-number { color: var(--accent); }
.ranking-title { min-width: 0; flex: 1; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ranking-title small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.ranking-genre { color: var(--muted); font-size: 11px; white-space: nowrap; }
.ranking-item strong { color: var(--gold); font-size: 12px; white-space: nowrap; }

/* 专题片单 */
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.collection-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #1E293B, #172337); }
.collection-number { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.collection-card h3 { margin: 8px 0; font-size: 17px; }
.collection-card > p { min-height: 66px; margin: 0; color: #B6C2D1; font-size: 12px; }
.collection-titles { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.collection-titles a { padding: 4px 8px; border: 1px solid rgba(148,163,184,.2); border-radius: 6px; color: #D7E2EE; background: rgba(2,6,23,.18); font-size: 11px; }
.collection-titles a:hover { border-color: var(--accent); color: var(--accent); }
.collection-card > small { color: var(--muted); font-size: 11px; }

/* 分类目录与访问提示 */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 20px; }
.filter-chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: #C2CEDD; background: rgba(30,41,59,.55); font-size: 12px; }
.filter-chips a:hover, .filter-chips a.is-active { border-color: var(--accent); color: var(--bg-deep); background: var(--accent); }
.empty-state { padding: 28px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.access-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 60px; padding: 26px 30px; border: 1px solid rgba(34,211,238,.22); border-radius: 16px; background: linear-gradient(100deg, rgba(8,47,73,.6), rgba(30,41,59,.72)); }
.access-strip h2 { margin: 6px 0; font-size: 21px; }
.access-strip p { margin: 0; color: var(--muted); font-size: 12px; }

/* 辅助页面与详情 */
.narrow-page { max-width: 980px; min-height: 58vh; }
.breadcrumb { margin: 22px 0; color: var(--muted); font-size: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 9px; color: #64748B; }
.breadcrumb a:hover { color: var(--accent); }
.intro-banner { margin: 26px 0; padding: 40px 44px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(circle at 90% 10%, rgba(34,211,238,.11), transparent 20rem), var(--panel); }
.intro-banner h1 { margin: 10px 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.25; }
.intro-banner > p { max-width: 760px; margin: 0 0 22px; color: #C3CEDB; }
.info-panel { margin: 24px 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 15px; background: rgba(30,41,59,.72); }
.info-panel h2 { margin-top: 0; font-size: 22px; }
.info-panel > p { color: #C0CBD8; }
.steps-grid, .device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.steps-grid article, .device-card { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: rgba(2,6,23,.18); }
.steps-grid b { color: var(--accent); font-size: 19px; }
.steps-grid h3, .device-card h3 { margin: 7px 0 4px; font-size: 15px; }
.steps-grid p, .device-card p { margin: 0; color: var(--muted); font-size: 12px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.inline-links a { color: var(--accent); font-size: 13px; }
.device-icon { color: var(--accent); font-size: 27px; }
.check-list, .highlight-list { padding-left: 20px; color: #C4CFDC; }
.check-list li, .highlight-list li { margin: 8px 0; padding-left: 4px; }
.detail-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; padding: 20px 0 30px; }
.detail-poster img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.detail-main h1 { margin: 8px 0; font-size: clamp(30px, 4vw, 42px); }
.detail-lead { color: #C4D0DE; font-size: 16px; }
.detail-rating { display: flex; align-items: baseline; gap: 10px; margin: 15px 0; }
.detail-rating strong { color: var(--gold); font-size: 22px; }
.detail-rating span { color: var(--muted); font-size: 11px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.detail-facts div { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(30,41,59,.7); }
.detail-facts dt { color: var(--muted); font-size: 11px; }
.detail-facts dd { margin: 2px 0 0; font-size: 13px; }
.detail-notice { padding: 13px 15px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: rgba(34,211,238,.07); }
.detail-notice strong { color: var(--accent); font-size: 13px; }
.detail-notice p { margin: 4px 0 0; color: #C4D0DC; font-size: 12px; }
.detail-copy { padding: 24px 0; border-top: 1px solid var(--line); }
.detail-copy h2 { margin-top: 22px; font-size: 21px; }
.detail-copy p { color: #C5D0DD; }
.related-section { margin: 25px 0 55px; }
.related-section .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.not-found { padding: 90px 20px; text-align: center; }
.not-found-code { color: var(--accent); font-size: 70px; font-weight: 900; line-height: 1; }
.not-found h1 { margin: 15px 0 8px; font-size: 30px; }
.not-found p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); }

/* 页脚 */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(2,6,23,.45); }
.footer-inner { width: min(var(--content), calc(100% - 40px)); margin: auto; padding: 30px 0 22px; display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; }
.footer-brand > a { font-size: 18px; font-weight: 800; }
.footer-brand p { max-width: 520px; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 18px; color: #C0CBD8; font-size: 12px; }
.copyright { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #718096; font-size: 11px; }

/* 中等屏幕 */
@media (max-width: 980px) {
  .hero-panel { padding: 36px; }
  .hero-poster { width: 145px; }
  .hero-poster-one { transform: translate(-88px, 12px) rotate(-10deg); }
  .hero-poster-three { transform: translate(88px, 16px) rotate(10deg); }
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .movie-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-section { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .header-inner { width: min(100% - 28px, var(--content)); min-height: 66px; }
  .brand { font-size: 17px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: 9px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; padding: 10px 14px 15px; border-bottom: 1px solid var(--line); background: #0F172A; }
  .primary-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-nav a { padding: 11px; text-align: center; }
  .page-shell { width: min(100% - 28px, var(--content)); }
  .hero-panel { min-height: 0; margin: 18px 0 38px; padding: 28px 23px 20px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 35px; }
  .hero-copy > p { font-size: 14px; }
  .hero-art { min-height: 220px; margin-top: 12px; }
  .hero-poster { width: 120px; }
  .hero-poster-one { transform: translate(-75px, 8px) rotate(-9deg); }
  .hero-poster-two { transform: translate(0, -5px) rotate(1deg) scale(1.04); }
  .hero-poster-three { transform: translate(75px, 8px) rotate(9deg); }
  .hero-orbit { width: 280px; height: 170px; }
  .content-section { margin-bottom: 42px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 22px; }
  .section-heading p { max-width: 520px; }
  .movie-grid, .movie-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .movie-card-body { padding: 10px; }
  .movie-card h3 { font-size: 14px; }
  .movie-summary { font-size: 11px; }
  .split-section { gap: 15px; }
  .series-row { grid-template-columns: 25px 64px 1fr 16px; gap: 9px; }
  .series-row img { width: 64px; height: 88px; }
  .series-info p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ranking-section { padding: 18px; }
  .ranking-list { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card > p { min-height: 0; }
  .access-strip { align-items: start; flex-direction: column; padding: 22px; }
  .intro-banner { padding: 28px 22px; }
  .info-panel { padding: 21px 19px; }
  .steps-grid, .device-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 118px 1fr; gap: 17px; }
  .detail-main h1 { font-size: 26px; }
  .detail-lead { font-size: 13px; }
  .detail-facts { grid-template-columns: 1fr 1fr; gap: 7px; }
  .detail-facts div { padding: 7px 8px; }
  .detail-facts dd { font-size: 11px; }
  .related-section .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { width: min(100% - 28px, var(--content)); grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}
@media (max-width: 380px) {
  .movie-grid, .movie-grid-featured { gap: 9px; }
  .movie-card-body { padding: 8px; }
  .card-bottom { font-size: 10px; }
  .detail-layout { grid-template-columns: 94px 1fr; gap: 13px; }
  .detail-facts { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
