/*
本次站点方案：
视觉方向：影视数据中心式 / 暗黑流媒体风
主色：星云蓝紫
扩展页面数量：12 个
导航策略：热度脉冲 + 全球影库 + 数据榜单 + 绿色观影 + 家长中心
首页排版：Hero → 评分数据面板 → 新片日历 → 主编片单 → 口碑摘要 → 频道宫格 → 多端体验 → 家长分级 → 帮助入口 → CTA
*/
:root {
  --primary: #6d5dfc;
  --primary-dark: #4b3fd7;
  --primary-soft: rgba(109, 93, 252, 0.14);
  --accent: #28d7c4;
  --accent-soft: rgba(40, 215, 196, 0.14);
  --bg: #080a14;
  --surface: #121628;
  --surface-strong: #1a2040;
  --text: #f6f7fb;
  --muted: #a8b0c7;
  --border: rgba(255,255,255,0.11);
  --shadow: rgba(0,0,0,0.28);
  --danger-soft: rgba(255, 180, 80, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(109,93,252,0.22), transparent 34rem),
    radial-gradient(circle at 85% 20%, rgba(40,215,196,0.12), transparent 28rem),
    var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
header, .site-header { width: 100%; z-index: 40; }
.site-header { position: sticky; top: 0; background: rgba(8,10,20,0.84); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.mobile-header { height: 62px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 0 14px; }
.desktop-header { display: none; }
.logo { width: 122px; max-height: 38px; object-fit: contain; }
.mobile-logo { justify-self: center; }
.menu-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; cursor: pointer; }
.menu-button span { width: 19px; height: 2px; background: #fff; border-radius: 999px; }
nav a, .desktop-nav a, .mobile-nav a { color: var(--muted); font-weight: 650; }
.mobile-nav { max-height: 0; overflow: hidden; display: grid; gap: 4px; background: rgba(10,13,26,0.98); border-top: 1px solid var(--border); transition: max-height .25s ease; padding: 0 14px; }
.mobile-nav.open { max-height: 460px; padding: 12px 14px 18px; }
.mobile-nav a { padding: 13px 14px; border-radius: 14px; border: 1px solid transparent; }
.mobile-nav a.active, .mobile-nav a:hover { color: #fff; background: var(--primary-soft); border-color: rgba(109,93,252,0.42); }
.search-icon { position: relative; width: 22px; height: 22px; display: inline-block; border: 2px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--muted); right: -7px; bottom: -3px; transform: rotate(45deg); border-radius: 999px; }
.top-action-button, .main-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--primary); color: #fff !important; font-weight: 800; box-shadow: 0 12px 24px rgba(109,93,252,0.2); }
.top-action-button:hover, .main-button:hover { filter: brightness(0.85); color: #fff !important; }
main { min-height: 60vh; }
.content-section, .page-hero, .cta-section, .banner-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.movie-hero { width: 100%; min-height: 660px; display: flex; align-items: stretch; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.movie-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,20,0.92), rgba(8,10,20,0.72) 45%, rgba(8,10,20,0.34)), url('/banner.webp') center/cover no-repeat; }
.movie-hero .hero-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; align-items: center; padding: 72px 0; }
.hero-copy { max-width: 730px; }
.data-badge, .category-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; color: #fff; background: var(--primary-soft); border: 1px solid rgba(109,93,252,0.42); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
h1 { font-size: clamp(34px, 8vw, 72px); line-height: 1.05; margin: 20px 0 18px; letter-spacing: -0.05em; }
h2 { font-size: clamp(25px, 4vw, 42px); line-height: 1.18; margin: 0 0 14px; letter-spacing: -0.03em; }
h3 { margin: 0 0 10px; line-height: 1.25; }
p { color: var(--muted); margin: 0 0 16px; }
.hero-copy p { max-width: 640px; font-size: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.hero-meta span { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.07); color: #dfe4ff; border: 1px solid var(--border); }
.banner-section { padding: 58px 0 0; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.section-heading p { max-width: 650px; }
.responsive-grid, .category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.movie-card, .service-card, .info-card, .faq-item, .data-chart-panel, .security-section, .parental-guidance-section { background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 22px 55px var(--shadow); }
.movie-card, .service-card, .info-card { padding: 20px; }
.movie-card img, .device-showcase img, .data-chart-panel img { border-radius: 18px; border: 1px solid var(--border); margin-bottom: 18px; }
.movie-card .score { color: #fff; font-size: 32px; font-weight: 900; }
.movie-card .tag { color: var(--accent); font-weight: 800; font-size: 13px; }
.service-card .icon-dot { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); margin-bottom: 12px; }
.data-chart-panel { padding: 22px; }
.chart-bars { display: grid; gap: 14px; margin-top: 18px; }
.chart-bars div { height: 12px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.chart-bars span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.trend-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.trend-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border); }
.trend-list li:last-child { border-bottom: 0; }
.trend-list strong { color: #fff; }
.trend-list b { color: var(--accent); }
.device-showcase { display: grid; gap: 22px; align-items: center; }
.security-section, .parental-guidance-section { padding: 26px; }
.alert-box { padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255,180,80,0.32); background: var(--danger-soft); color: #ffe4bc; }
.alert-box p { color: #ffe4bc; margin: 0; }
.page-hero { padding: 72px 0 30px; }
.page-hero h1 { font-size: clamp(34px, 7vw, 58px); }
.page-layout { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 70px; display: grid; gap: 22px; }
.two-column { display: grid; gap: 18px; }
.article-panel { padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 22px; }
.article-panel p { font-size: 16px; }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline article { position: relative; padding: 18px 18px 18px 58px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,0.035); }
.timeline article::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; }
.check-list { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; color: var(--muted); background: rgba(255,255,255,0.035); }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.inline-links a { border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: #fff; padding: 10px 13px; border-radius: 999px; font-weight: 750; }
.inline-links a:hover { border-color: rgba(40,215,196,0.45); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; }
.faq-item h2, .faq-item h3 { font-size: 20px; margin-bottom: 8px; }
.cta-section { margin-top: 20px; margin-bottom: 70px; padding: 34px; border-radius: 26px; background: linear-gradient(135deg, rgba(109,93,252,0.24), rgba(40,215,196,0.12)); border: 1px solid rgba(109,93,252,0.32); display: grid; gap: 18px; align-items: center; }
.cta-section p { max-width: 760px; }
.site-footer { border-top: 1px solid var(--border); background: #060812; padding: 42px 16px 20px; }
.footer-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; gap: 24px; }
.footer-grid h2, .footer-grid h3 { color: #fff; }
.footer-links { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-bottom { width: min(1180px, 100%); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.footer-bottom a { color: var(--accent); font-weight: 800; }
@media (min-width: 640px) {
  .responsive-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .device-showcase { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr auto; }
}
@media (min-width: 920px) {
  .mobile-header, .mobile-nav { display: none; }
  .desktop-header { height: 76px; width: min(1240px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; color: #fff; white-space: nowrap; }
  .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
  .desktop-nav a { padding: 11px 12px; border-radius: 999px; font-size: 14px; }
  .desktop-nav a.active, .desktop-nav a:hover { background: var(--primary-soft); color: #fff; }
  .header-tools { display: flex; align-items: center; gap: 20px; }
  .movie-hero .hero-inner { padding: 92px 0; }
  .responsive-grid.three { grid-template-columns: repeat(3, 1fr); }
  .responsive-grid.four { grid-template-columns: repeat(4, 1fr); }
  .two-column { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .page-layout { gap: 28px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr .8fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1120px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .desktop-nav a { padding-left: 14px; padding-right: 14px; }
}
