:root {
  --primary: #1de6cd;
  --primary-dark: #0f8f82;
  --primary-soft: rgba(29, 230, 205, 0.14);
  --accent: #f5c466;
  --bg: #071317;
  --surface: #0d2026;
  --surface-strong: #132c33;
  --text: #f5f7f1;
  --muted: #a8babd;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.28);
  --danger-soft: rgba(245, 196, 102, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body {
  background: radial-gradient(circle at 20% 0%, rgba(29,230,205,0.10), transparent 32%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
main { min-height: 70vh; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 23, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.mobile-header {
  min-height: 62px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
}
.desktop-header { display: none; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.mobile-logo { justify-self: center; }
.mobile-logo img { height: 40px; }
.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--text);
  border-radius: 2px;
}
nav a, .desktop-nav a, .mobile-nav a { color: var(--muted); font-weight: 700; }
.mobile-nav {
  position: fixed;
  left: 0;
  top: 62px;
  width: min(84vw, 340px);
  height: calc(100vh - 62px);
  padding: 18px;
  background: #0a1b20;
  border-right: 1px solid var(--border);
  transform: translateX(-105%);
  transition: transform .22s ease;
  box-shadow: 18px 0 40px var(--shadow);
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a.active, .desktop-nav a.active { color: var(--primary); background: var(--primary-soft); }
.search-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.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);
  left: 23px;
  top: 25px;
  border-radius: 2px;
}
.top-action-button, .main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #032022;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(29,230,205,0.18);
}
.top-action-button:hover, .main-button:hover { filter: brightness(0.85); color: #032022; }
.top-action-button { white-space: nowrap; }

.banner-section, .movie-hero {
  position: relative;
  overflow: hidden;
}
.movie-hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(7,19,23,0.92), rgba(7,19,23,0.72)), url('/banner.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero-content { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 78px 0; }
.hero-kicker, .badge, .data-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #05201f;
  background: var(--primary);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
}
.hero-content h1, .page-hero h1 {
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 18px 0 18px;
  max-width: 960px;
}
.hero-content p { max-width: 760px; color: var(--muted); font-size: 18px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
  max-width: 720px;
}
.hero-stat, .stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}
.hero-stat strong, .stat-card strong { display: block; font-size: 28px; color: var(--primary); line-height: 1; }
.hero-stat span, .stat-card span { color: var(--muted); font-size: 13px; }

.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}
.content-section.compact { padding: 34px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section-heading h2, .content-section h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.15; margin: 0 0 10px; }
.section-heading p, .content-section > p { color: var(--muted); max-width: 720px; margin: 0; }
.responsive-grid, .category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.category-grid.two, .responsive-grid.two { grid-template-columns: 1fr; }
.movie-card, .service-card, .info-card, .data-chart-panel, .device-showcase, .security-section, .parental-guidance-section, .faq-item, .article-card, .timeline-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px var(--shadow);
}
.movie-card h3, .service-card h3, .info-card h3, .article-card h3 { margin: 0 0 8px; font-size: 21px; }
.movie-card p, .service-card p, .info-card p, .article-card p, .timeline-item p { color: var(--muted); margin: 0 0 14px; }
.movie-card img { border-radius: 18px; margin-bottom: 16px; aspect-ratio: 16/10; object-fit: cover; }
.text-link { color: var(--primary); font-weight: 900; }
.text-link:after { content: " →"; }
.alert-box {
  border: 1px solid rgba(245,196,102,0.32);
  background: var(--danger-soft);
  border-radius: 18px;
  padding: 18px;
  color: #f9e2ad;
}
.data-badge { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(29,230,205,0.35); }
.trend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trend-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}
.trend-list b { color: var(--primary); }
.trend-list span { color: var(--muted); }
.bar-track {
  width: 100%;
  min-width: 70px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.bar-track i { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.data-chart-panel {
  position: relative;
  min-height: 260px;
}
.chart-bars { display: flex; align-items: end; gap: 12px; min-height: 170px; padding-top: 24px; }
.chart-bars i { flex: 1; min-width: 18px; background: linear-gradient(180deg, var(--primary), rgba(29,230,205,.18)); border-radius: 12px 12px 4px 4px; }
.device-showcase { display: grid; gap: 20px; align-items: center; }
.device-showcase img, .data-image img { border-radius: 24px; border: 1px solid var(--border); }
.security-section { border-color: rgba(29,230,205,0.28); }
.parental-guidance-section { border-color: rgba(245,196,102,0.28); }
.check-list { padding-left: 0; list-style: none; display: grid; gap: 12px; margin: 18px 0 0; }
.check-list li { padding: 13px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 14px; }
.check-list li:before { content: "✓"; color: var(--primary); font-weight: 900; margin-right: 8px; }

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 34px;
}
.page-hero p { color: var(--muted); max-width: 850px; font-size: 18px; }
.page-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 58px;
}
.page-layout article p { color: var(--muted); }
.split-layout { display: grid; gap: 22px; }
.side-panel { display: grid; gap: 16px; align-content: start; }
.timeline { border-left: 2px solid rgba(29,230,205,.28); padding-left: 18px; display: grid; gap: 16px; }
.timeline-item { position: relative; }
.timeline-item:before { content:""; position:absolute; left:-30px; top:24px; width:12px; height:12px; background:var(--primary); border-radius:50%; }
.faq-list { display: grid; gap: 16px; }
.faq-item h2, .faq-item h3 { margin-top: 0; font-size: 21px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }
.cta-section {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 72px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(29,230,205,.16), rgba(245,196,102,.10));
  border: 1px solid rgba(29,230,205,.28);
  text-align: center;
}
.cta-section h2 { font-size: clamp(28px, 5vw, 48px); margin: 0 0 12px; }
.cta-section p { color: var(--muted); max-width: 760px; margin: 0 auto 22px; }

footer.site-footer {
  background: #051014;
  border-top: 1px solid var(--border);
  padding: 44px 0 24px;
}
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.footer-grid h2 { font-size: 18px; margin: 0 0 12px; }
.footer-grid p, .footer-bottom p { color: var(--muted); margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.footer-links a, .footer-bottom a { color: var(--primary); }
.footer-logo img { height: 46px; margin-bottom: 14px; }
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

@media (min-width: 720px) {
  .responsive-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid.three, .responsive-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .device-showcase { grid-template-columns: 1fr 1fr; }
  .split-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
@media (min-width: 1040px) {
  .mobile-header, .mobile-nav { display: none; }
  .desktop-header {
    width: min(1280px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
  }
  .desktop-header .logo img { height: 52px; }
  .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
  .desktop-nav a { padding: 12px 13px; border-radius: 999px; font-size: 14px; }
  .desktop-nav a:hover { color: var(--primary); background: rgba(29,230,205,.09); }
  .movie-hero { min-height: 720px; }
  .responsive-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
