:root {
  --primary: #7c5cff;
  --primary-dark: #513cc3;
  --primary-soft: rgba(124, 92, 255, 0.15);
  --accent: #24d6c8;
  --bg: #0d1021;
  --surface: #151a2d;
  --surface-strong: #1d2440;
  --text: #f6f7fb;
  --muted: #b7bdd4;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.28);
  --danger-soft: rgba(255, 178, 88, 0.13);
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top left, rgba(124,92,255,.18), transparent 32%), var(--bg);
  color: var(--text);
  line-height: 1.72;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
header, nav, main, section, article, footer { display: block; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 16, 33, .92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.mobile-header { height: 64px; display: grid; grid-template-columns: 48px 1fr 82px; align-items: center; gap: 10px; padding: 0 14px; }
.desktop-header { display: none; max-width: var(--max); margin: 0 auto; align-items: center; min-height: 78px; gap: 22px; padding: 0 22px; }
.logo img { width: 154px; height: auto; object-fit: contain; }
.mobile-logo { justify-self: center; }
.mobile-logo img { width: 118px; }
.menu-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.06); display: grid; place-content: center; gap: 5px; padding: 0; cursor: pointer; }
.menu-button span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; display: block; }
nav a { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.desktop-nav a { color: var(--muted); padding: 10px 12px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(124,92,255,.28); }
.mobile-drawer { position: fixed; top: 64px; left: 0; width: min(82vw, 330px); height: calc(100vh - 64px); transform: translateX(-105%); transition: transform .25s ease; background: #11162a; border-right: 1px solid var(--border); padding: 20px; z-index: 60; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-mask { display: none; position: fixed; inset: 64px 0 0 0; background: rgba(0,0,0,.5); z-index: 55; }
.drawer-mask.is-visible { display: block; }
.mobile-nav { display: grid; gap: 8px; }
.mobile-nav a { padding: 13px 14px; border: 1px solid var(--border); border-radius: 16px; color: var(--text); background: rgba(255,255,255,.04); }
.mobile-nav a.is-active { background: var(--primary-soft); border-color: rgba(124,92,255,.45); color: #fff; }
.drawer-note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.search-icon { width: 38px; height: 38px; display: inline-block; position: relative; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.04); }
.search-icon::before { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--muted); border-radius: 50%; left: 10px; top: 9px; }
.search-icon::after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--muted); transform: rotate(45deg); right: 10px; bottom: 11px; border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.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; font-weight: 700; border: 0; box-shadow: 0 12px 32px rgba(124,92,255,.24); }
.top-action-button:hover, .main-button:hover { color: #fff; filter: brightness(0.85); }
main { width: 100%; }
.content-section, .banner-section, .security-section, .parental-guidance-section, .cta-section, .page-hero, .movie-hero { max-width: var(--max); margin: 0 auto; padding: 48px 18px; }
.movie-hero { min-height: 720px; display: grid; align-items: center; position: relative; }
.hero-backdrop { position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1; overflow: hidden; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .46; filter: saturate(1.08); }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,16,33,.96), rgba(13,16,33,.68), rgba(13,16,33,.96)); }
.hero-content { max-width: 740px; padding: 38px 0; }
.eyebrow, .data-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: #fff; border: 1px solid rgba(124,92,255,.35); font-size: 13px; font-weight: 700; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 7vw, 68px); letter-spacing: -1.6px; }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: 21px; }
p { color: var(--muted); margin: 0 0 16px; }
.hero-content p { font-size: 18px; max-width: 660px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.hero-meta span { border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); }
.responsive-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.movie-card, .service-card, .info-card, .faq-item, .data-chart-panel, .article-card { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: 0 18px 42px var(--shadow); }
.movie-card img, .service-card img { border-radius: 16px; margin-bottom: 16px; }
.movie-card .meta, .article-card .meta { color: var(--accent); font-weight: 700; font-size: 13px; }
.card-link { display: inline-flex; margin-top: 12px; color: #fff; border-bottom: 1px solid var(--primary); }
.data-chart-panel { position: relative; overflow: hidden; }
.data-chart-panel::before { content: ""; position: absolute; inset: auto 20px 20px 20px; height: 130px; background: linear-gradient(180deg, transparent, rgba(124,92,255,.14)); border-bottom: 1px solid rgba(124,92,255,.45); }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; min-height: 170px; padding-top: 30px; }
.chart-bars span { flex: 1; min-width: 18px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--accent), var(--primary)); opacity: .9; }
.device-showcase { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.device-showcase img { border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 24px 60px var(--shadow); }
.security-section, .parental-guidance-section { background: linear-gradient(135deg, rgba(124,92,255,.12), rgba(36,214,200,.06)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: 100%; }
.security-section > *, .parental-guidance-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.alert-box { border: 1px solid rgba(255, 190, 100, .33); background: var(--danger-soft); color: #ffe8c2; border-radius: 18px; padding: 18px; }
.trend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trend-list li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid var(--border); }
.trend-list b { color: var(--accent); }
.timeline { display: grid; gap: 14px; border-left: 2px solid rgba(124,92,255,.5); padding-left: 18px; }
.timeline article { position: relative; background: rgba(255,255,255,.045); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.timeline article::before { content:""; position: absolute; left: -28px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(124,92,255,.18); }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { padding: 14px 14px 14px 42px; position: relative; background: rgba(255,255,255,.045); border: 1px solid var(--border); border-radius: 16px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 15px; top: 12px; color: var(--accent); font-weight: 900; }
.faq-item { margin-bottom: 16px; }
.faq-item h2, .faq-item h3 { font-size: 20px; margin-bottom: 8px; }
.page-hero { padding-top: 72px; padding-bottom: 32px; }
.page-hero p { max-width: 820px; font-size: 17px; }
.split-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related-links a { border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.04); color: var(--text); }
.related-links a:hover { background: var(--primary-soft); color: #fff; }
.cta-section { text-align: center; padding-top: 64px; padding-bottom: 78px; }
.cta-box { background: linear-gradient(135deg, rgba(124,92,255,.26), rgba(36,214,200,.1)); border: 1px solid rgba(124,92,255,.4); border-radius: 24px; padding: 34px 20px; }
.site-footer { border-top: 1px solid var(--border); background: #090c19; padding: 46px 18px 26px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 22px; }
.footer-grid h2 { font-size: 17px; }
.footer-logo img { width: 150px; margin-bottom: 14px; }
.footer-links { max-width: var(--max); margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; }
.footer-links a:hover { color: #fff; background: var(--primary-soft); }
.copyright { max-width: var(--max); margin: 18px auto 0; font-size: 13px; }
.banner-section { padding-top: 22px; }
.banner-section img { border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 24px 80px var(--shadow); }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 30px; color: #fff; }
@media (min-width: 700px) {
  .responsive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .device-showcase, .split-layout { grid-template-columns: 1.08fr .92fr; }
  .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .mobile-header, .mobile-drawer, .drawer-mask { display: none; }
  .desktop-header { display: flex; }
  .movie-hero { min-height: 760px; }
  .responsive-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .responsive-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .content-section, .banner-section, .security-section, .parental-guidance-section, .cta-section, .page-hero { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 390px) {
  .category-grid { grid-template-columns: 1fr; }
  .mobile-header { grid-template-columns: 44px 1fr 76px; padding: 0 10px; }
  .top-action-button { padding: 0 14px; }
}
