/* 每日大赛 · 星云蓝紫 · 数据中心冷色风 */
:root {
  --primary: #7464E8;
  --primary-dark: #4F3FC4;
  --primary-soft: #ECE9FF;
  --accent: #39D5D7;
  --bg: #0D1020;
  --surface: #171B31;
  --surface-strong: #222744;
  --text: #F5F7FF;
  --muted: #AEB7D7;
  --border: rgba(255,255,255,.12);
  --shadow: rgba(0,0,0,.28);
  --safe: #67E8A5;
  --warn: #F8C86B;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 2%, rgba(116,100,232,.18), transparent 34%), linear-gradient(180deg, #0b0d1b 0%, var(--bg) 48%, #11152a 100%);
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
header, .site-header {
  width: 100%;
  background: rgba(13,16,32,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  z-index: 20;
}
.logo { width: 138px; height: auto; object-fit: contain; }
.mobile-header {
  height: 62px;
  display: grid;
  grid-template-columns: 48px 1fr 74px;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.mobile-logo { justify-self: center; }
.mobile-logo .logo { width: 120px; }
.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}
.menu-button span { display: block; height: 2px; background: var(--text); border-radius: 999px; }
.top-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 12px 26px rgba(116,100,232,.28);
  white-space: nowrap;
}
.top-action-button:hover, .main-button:hover { filter: brightness(0.85); }
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: #101429;
  transform: translateX(-105%);
  transition: transform .24s ease;
  z-index: 40;
  padding: 18px;
  border-right: 1px solid var(--border);
}
.nav-open .mobile-nav-panel { transform: translateX(0); }
.nav-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.nav-open .nav-mask { opacity: 1; pointer-events: auto; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 16px; }
.mobile-close {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); background: rgba(255,255,255,.05); font-size: 24px; line-height: 1; cursor: pointer;
}
nav.mobile-nav { display: grid; gap: 8px; }
.mobile-nav a { padding: 12px 14px; border-radius: 14px; color: var(--muted); background: rgba(255,255,255,.04); }
.mobile-nav a.active, .mobile-nav a:hover { color: #fff; background: rgba(116,100,232,.22); border: 1px solid rgba(116,100,232,.45); }
.desktop-header { display: none; }
.search-icon {
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; position: relative; display: inline-block;
  background: rgba(255,255,255,.04);
}
.search-icon:before { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid var(--text); border-radius: 50%; left: 11px; top: 10px; }
.search-icon:after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--text); transform: rotate(45deg); right: 10px; bottom: 11px; border-radius: 2px; }
main { min-height: 62vh; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.movie-hero, .banner-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.movie-hero { padding: 42px 0 38px; }
.hero-wrap { display: grid; gap: 26px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .data-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(116,100,232,.16);
  color: #fff;
  border: 1px solid rgba(116,100,232,.36);
  font-size: .86rem;
  font-weight: 800;
}
.movie-hero h1, .page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.15rem, 9vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.06em;
}
.movie-hero p, .page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(116,100,232,.32);
}
.hero-visual { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 24px 80px var(--shadow); }
.hero-visual img { aspect-ratio: 16/11; width: 100%; object-fit: cover; opacity: .92; }
.hero-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,16,32,.88)); }
.hero-stat-strip { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; z-index: 2; }
.hero-stat-strip span { background: rgba(0,0,0,.36); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 10px; font-size: .8rem; color: var(--muted); }
.hero-stat-strip strong { display:block; color:#fff; font-size: 1rem; }
.content-section { padding: 52px 0; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(1.55rem, 5vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); max-width: 760px; }
.responsive-grid, .category-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.movie-card, .service-card, .info-card, .data-chart-panel, .faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.movie-card h3, .service-card h3, .info-card h3 { margin: 8px 0 8px; font-size: 1.08rem; }
.movie-card p, .service-card p, .info-card p, .faq-item p { margin: 0; color: var(--muted); }
.movie-card a, .service-card a, .info-card a, .inline-link { color: #fff; border-bottom: 1px solid rgba(116,100,232,.7); font-weight: 800; }
.movie-card img, .service-card img { border-radius: 16px; margin-bottom: 14px; border: 1px solid var(--border); }
.data-chart-panel { position: relative; overflow: hidden; }
.data-chart-panel:before { content:""; position:absolute; width:170px; height:170px; right:-48px; top:-60px; background:radial-gradient(circle, rgba(57,213,215,.23), transparent 65%); }
.metric-row { display:grid; gap:12px; grid-template-columns: 1fr; }
.metric { padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(0,0,0,.12); }
.metric strong { display:block; font-size: 1.55rem; color:#fff; }
.metric span { color: var(--muted); font-size: .92rem; }
.trend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trend-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.trend-list em { font-style: normal; color: var(--accent); font-weight: 900; }
.trend-list small { color: var(--muted); }
.mini-chart { height: 12px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.mini-chart span { display:block; height:100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.device-showcase, .security-section, .parental-guidance-section {
  display: grid;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(116,100,232,.12), rgba(57,213,215,.07));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
}
.device-showcase img, .security-section img, .parental-guidance-section img { border-radius: 18px; border: 1px solid var(--border); }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li:before { content:""; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); position: absolute; left: 0; top: .32em; box-shadow: inset 0 0 0 5px rgba(255,255,255,.22); }
.alert-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(248,200,107,.12);
  border: 1px solid rgba(248,200,107,.36);
  color: #fff1c9;
}
.alert-box strong { color: #fff; }
.page-hero { padding: 46px 0 26px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 80% 0, rgba(116,100,232,.18), transparent 42%); }
.page-layout { display: grid; gap: 18px; }
.article-flow { display: grid; gap: 18px; }
.article-flow article { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.04); }
.article-flow h2, .article-flow h3 { margin-top: 0; }
.article-flow p { color: var(--muted); }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline .info-card { position: relative; padding-left: 58px; }
.timeline .info-card:before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; }
.faq-item { margin-bottom: 14px; }
.faq-item h2, .faq-item h3 { margin: 0 0 8px; font-size: 1.06rem; }
.cta-section {
  padding: 58px 0;
  background: linear-gradient(135deg, rgba(116,100,232,.26), rgba(57,213,215,.11));
  border-top: 1px solid var(--border);
}
.cta-box { text-align: center; border: 1px solid var(--border); border-radius: 26px; padding: 30px; background: rgba(255,255,255,.05); }
.cta-box h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 7vw, 3rem); }
.cta-box p { color: var(--muted); max-width: 780px; margin: 0 auto; }
footer, .site-footer { background: #090b17; border-top: 1px solid var(--border); }
.footer-top { width:min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 22px; display: grid; gap: 18px; }
.footer-brand p, .footer-column p, .footer-bottom p { color: var(--muted); margin: 8px 0 0; }
.footer-column h2 { margin: 0; font-size: 1rem; }
.footer-links { width:min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0; display:flex; flex-wrap:wrap; gap: 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.footer-links a { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); }
.footer-links a:hover { color: #fff; background: rgba(116,100,232,.18); }
.footer-bottom { width:min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 34px; }
.badge-row { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.split-feature { display:grid; gap:18px; align-items:center; }
.kpi-board { display:grid; gap:14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.kpi-board .metric { min-height: 116px; }
.notice-strip { display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.notice-strip span { padding: 8px 10px; border-radius:999px; background: rgba(255,255,255,.05); color: var(--muted); border:1px solid var(--border); }
@media (min-width: 640px) {
  .responsive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 860px) {
  .mobile-header, .mobile-nav-panel, .nav-mask { display: none; }
  .desktop-header {
    height: 76px;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 28px;
    width: min(1200px, calc(100% - 44px));
    margin: 0 auto;
  }
  .desktop-nav { display:flex; align-items:center; justify-content:center; gap: 4px; }
  .desktop-nav a { padding: 10px 12px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .94rem; }
  .desktop-nav a.active, .desktop-nav a:hover { color:#fff; background: rgba(116,100,232,.18); }
  .desktop-tools { display:flex; align-items:center; gap: 12px; justify-content:flex-end; }
  .hero-wrap { grid-template-columns: 1fr .86fr; }
  .movie-hero { padding: 74px 0 64px; }
  .content-section { padding: 76px 0; }
  .responsive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .metric-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .device-showcase, .security-section, .parental-guidance-section, .split-feature { grid-template-columns: .9fr 1.1fr; padding: 28px; }
  .page-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); align-items:start; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .desktop-nav a { padding: 10px 15px; }
  .logo { width: 148px; }
}
