:root {
  --primary: #97a85f;
  --primary-dark: #66753e;
  --primary-soft: rgba(151, 168, 95, .16);
  --accent: #b5844c;
  --bg: #151a19;
  --surface: #202725;
  --surface-strong: #2b332f;
  --text: #f1f3e8;
  --muted: #bcc5b0;
  --border: rgba(231, 236, 220, .14);
  --shadow: rgba(0, 0, 0, .28);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(circle at top left, rgba(151,168,95,.18), transparent 32rem), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(21,26,25,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.mobile-header { height: 64px; display: grid; grid-template-columns: 48px 1fr 78px; align-items: center; gap: 12px; padding: 0 14px; }
.desktop-header { display: none; }
.menu-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-button span { width: 19px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.open span:nth-child(2) { opacity: 0; }
.menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-logo { justify-self: center; }
.mobile-logo img { width: 122px; height: auto; }
.logo, .desktop-logo img { height: 46px; width: auto; }
.top-action, .main-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary); color: #11150f; font-weight: 800; border: 0; box-shadow: 0 10px 26px rgba(151,168,95,.2); }
.top-action { height: 38px; padding: 0 16px; font-size: 14px; }
.top-action:hover, .main-button:hover { filter: brightness(0.85); color: #11150f; }
.mobile-drawer { display: none; padding: 8px 14px 18px; background: rgba(21,26,25,.98); border-bottom: 1px solid var(--border); }
.mobile-drawer.open { display: block; }
.mobile-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mobile-nav a { padding: 12px 14px; border-radius: 14px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.mobile-nav a.active, .mobile-nav a:hover { color: var(--text); border-color: rgba(151,168,95,.6); background: var(--primary-soft); }
nav a { transition: color .2s ease, background .2s ease, border .2s ease; }
.search-icon { color: var(--muted); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; }
main { width: 100%; }
.content-section, .page-hero, .movie-hero, .cta-section, .banner-section { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.movie-hero { position: relative; min-height: 680px; display: grid; align-items: end; padding: 52px 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 28px 28px; opacity: .48; }
.movie-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,26,25,.18), rgba(21,26,25,.94)); border-radius: 0 0 28px 28px; }
.hero-content { position: relative; z-index: 1; max-width: 850px; padding: 30px 0; }
.kicker, .data-badge, .category-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(151,168,95,.45); border-radius: 999px; background: var(--primary-soft); color: var(--text); font-size: 13px; font-weight: 700; }
h1, h2, h3 { line-height: 1.18; margin: 0; }
h1 { font-size: clamp(34px, 9vw, 82px); letter-spacing: -.05em; }
h2 { font-size: clamp(25px, 4vw, 42px); letter-spacing: -.03em; }
h3 { font-size: 21px; }
p { margin: 0; color: var(--muted); }
.hero-content p { margin-top: 18px; max-width: 720px; font-size: 18px; color: #dce3cf; }
.main-button { margin-top: 28px; min-height: 48px; padding: 0 24px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.section-head p { max-width: 780px; }
.content-section { padding: 42px 0; }
.banner-section { padding: 26px 0; }
.responsive-grid, .category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.movie-card, .service-card, .info-card, .faq-item, .data-chart-panel, .security-section, .parental-guidance-section { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 36px var(--shadow); }
.movie-card, .service-card, .info-card { padding: 20px; }
.movie-card img, .device-showcase img, .data-chart-panel img { width: 100%; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 16px; }
.movie-card .meta, .service-card .meta { color: var(--primary); font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.card-link { display: inline-flex; margin-top: 14px; color: var(--text); font-weight: 800; border-bottom: 1px solid var(--primary); }
.data-chart-panel { padding: 22px; }
.chart-bars { display: grid; gap: 12px; margin-top: 16px; }
.chart-bars span { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.chart-bars span:nth-child(1) { width: 86%; }
.chart-bars span:nth-child(2) { width: 72%; }
.chart-bars span:nth-child(3) { width: 63%; }
.chart-bars span:nth-child(4) { width: 48%; }
.device-showcase { display: grid; gap: 18px; align-items: center; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 24px; padding: 20px; }
.security-section, .parental-guidance-section { padding: 22px; }
.alert-box { padding: 18px; border-radius: 16px; border: 1px solid rgba(181,132,76,.45); background: rgba(181,132,76,.12); color: #f2ddc0; }
.alert-box p { color: #f2ddc0; }
.trend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trend-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 15px; background: rgba(255,255,255,.035); border: 1px solid var(--border); }
.trend-list strong { color: var(--primary); }
.page-hero { padding: 52px 0 28px; }
.page-hero h1 { margin-top: 12px; font-size: clamp(34px, 7vw, 64px); }
.page-hero p { max-width: 820px; margin-top: 14px; font-size: 17px; }
.split-layout { display: grid; gap: 18px; }
.timeline { border-left: 2px solid var(--primary); padding-left: 22px; display: grid; gap: 18px; }
.timeline article { position: relative; }
.timeline article::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px var(--primary-soft); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 18px; }
.faq-item h2, .faq-item h3 { font-size: 19px; margin-bottom: 8px; }
.cta-section { margin-top: 34px; margin-bottom: 56px; padding: 34px 22px; border-radius: 26px; background: linear-gradient(135deg, var(--surface-strong), rgba(151,168,95,.18)); border: 1px solid rgba(151,168,95,.35); text-align: center; }
.cta-section p { max-width: 720px; margin: 12px auto 0; }
.site-footer { background: #101413; border-top: 1px solid var(--border); padding: 42px 16px 24px; }
.footer-grid { width: min(var(--max), 100%); margin: 0 auto; display: grid; gap: 22px; }
.footer-grid h2 { font-size: 18px; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { width: min(var(--max), 100%); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--border); }
@media (min-width: 680px) {
  .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.1fr .9fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .mobile-header, .mobile-drawer { display: none !important; }
  .desktop-header { width: min(var(--max), calc(100% - 40px)); height: 78px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
  .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
  .desktop-nav a { padding: 10px 13px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; }
  .desktop-nav a.active, .desktop-nav a:hover { background: var(--primary-soft); color: var(--text); }
  .header-tools { display: flex; align-items: center; gap: 12px; }
  .movie-hero { width: min(1440px, calc(100% - 48px)); min-height: 720px; padding: 72px 58px; }
  .responsive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split-layout.wide-main { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); }
  .footer-grid { grid-template-columns: 1.25fr 1.05fr .8fr 1fr; }
}
