:root {
    --primary: #D7A83F;
    --primary-deep: #A97A1F;
    --bg: #111018;
    --bg-soft: #181722;
    --bg-card: #211f2a;
    --surface: #f7f2e7;
    --surface-soft: #fffaf0;
    --text: #f9f4e8;
    --text-dark: #19171f;
    --muted: #c9c1b5;
    --muted-dark: #615848;
    --line: rgba(215,168,63,0.24);
    --shadow: 0 22px 70px rgba(0,0,0,0.34);
    --radius: 18px;
}
* { 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(215,168,63,0.18), transparent 30rem), var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17,16,24,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-header {
    height: 62px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}
.logo img { width: 132px; height: auto; object-fit: contain; }
.mobile-logo { justify-self: center; }
.menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.menu-button span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); }
.top-action, .main-button, .text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.top-action {
    min-width: 64px;
    min-height: 38px;
    padding: 9px 16px;
    background: var(--primary);
    color: #1b1404;
    box-shadow: 0 10px 24px rgba(215,168,63,0.28);
}
.top-action:hover, .main-button:hover, .text-button:hover { filter: brightness(0.85); transform: translateY(-1px); }
.mobile-drawer {
    position: fixed;
    top: 62px;
    left: 0;
    width: min(82vw, 320px);
    height: calc(100vh - 62px);
    padding: 20px;
    background: #15131d;
    border-right: 1px solid var(--line);
    transform: translateX(-105%);
    transition: transform .25s ease;
    z-index: 55;
    overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-mask {
    position: fixed;
    inset: 62px 0 0 0;
    background: rgba(0,0,0,0.52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 54;
}
.drawer-mask.open { opacity: 1; visibility: visible; }
.mobile-nav { display: grid; gap: 8px; }
.mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.active, .mobile-nav a:hover {
    color: #1b1404;
    background: var(--primary);
}
.desktop-header { display: none; }
.wrapper { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
main { overflow: hidden; }
.movie-hero, .banner-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background-image: linear-gradient(90deg, rgba(17,16,24,0.94) 0%, rgba(17,16,24,0.72) 50%, rgba(17,16,24,0.52) 100%), url('/images/banner.webp');
    background-size: cover;
    background-position: center;
}
.movie-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(0deg, var(--bg), transparent);
    z-index: -1;
}
.hero-content { width: min(760px, 100%); padding: 72px 0 96px; }
.eyebrow, .page-badge, .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(215,168,63,0.14);
    color: var(--primary);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(34px, 8vw, 78px); letter-spacing: -0.05em; }
h2 { font-size: clamp(26px, 5vw, 44px); letter-spacing: -0.035em; }
h3 { font-size: 20px; }
p { margin: 0; }
.hero-content h1 { margin-top: 18px; }
.hero-lead { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 2.8vw, 20px); max-width: 700px; }
.main-button {
    margin-top: 30px;
    min-height: 52px;
    padding: 13px 24px;
    background: var(--primary);
    color: #191103;
    box-shadow: 0 18px 44px rgba(215,168,63,0.26);
}
.hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.hero-meta span { display: block; color: var(--primary); font-weight: 800; font-size: 22px; }
.hero-meta p { color: var(--muted); padding: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.05); }
.section { padding: 74px 0; }
.section.light { background: var(--surface); color: var(--text-dark); }
.section-head { display: grid; gap: 12px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 780px; }
.light .section-head p, .light p { color: var(--muted-dark); }
.category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.movie-card, .service-card, .info-card, .faq-item, .data-chart-panel, .notice-box, .step-card {
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
    box-shadow: var(--shadow);
}
.movie-card { padding: 22px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.movie-card p, .service-card p, .info-card p, .notice-box p, .step-card p { color: var(--muted); }
.movie-card .link, .text-link { color: var(--primary); font-weight: 800; margin-top: 18px; display: inline-flex; }
.card-badge { margin-bottom: 15px; }
.service-grid, .info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card { padding: 22px; }
.service-card strong { display: inline-block; color: var(--primary); margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.image-panel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.image-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17,16,24,0.38), transparent 55%);
    pointer-events: none;
}
.feature-list { display: grid; gap: 12px; margin-top: 22px; }
.feature-list li, .check-list li {
    list-style: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
}
ul { margin: 0; padding: 0; }
.data-chart-panel { padding: 24px; }
.chart-bars { display: grid; gap: 13px; margin: 22px 0; }
.chart-row { display: grid; grid-template-columns: 96px 1fr 54px; gap: 10px; align-items: center; color: var(--muted); }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.rating-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.rating-card { padding: 14px; border-radius: 16px; background: rgba(215,168,63,0.12); border: 1px solid var(--line); }
.rating-card strong { display: block; color: var(--primary); font-size: 23px; }
.device-showcase { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(215,168,63,0.18), rgba(255,255,255,0.04)); }
.device-showcase .device-copy { padding: 28px; }
.security-section, .parental-guidance-section { position: relative; }
.notice-box { padding: 22px; background: rgba(215,168,63,0.1); border-color: var(--line); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; }
.faq-item h3 { color: var(--primary); margin-bottom: 9px; }
.page-hero {
    padding: 92px 0 54px;
    background: radial-gradient(circle at 20% 10%, rgba(215,168,63,0.18), transparent 26rem), var(--bg-soft);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-hero h1 { margin-top: 16px; max-width: 900px; }
.page-hero p { color: var(--muted); margin-top: 18px; max-width: 820px; font-size: 18px; }
.content-block { display: grid; gap: 18px; color: var(--muted); }
.info-card, .step-card { padding: 22px; }
.light .info-card, .light .faq-item, .light .step-card {
    background: var(--surface-soft);
    border-color: rgba(25,23,31,0.1);
    box-shadow: 0 16px 40px rgba(40,31,12,0.08);
}
.light .info-card p, .light .faq-item p, .light .step-card p { color: var(--muted-dark); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,0.1); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: rgba(255,255,255,0.04); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
th { color: var(--primary); font-weight: 800; }
td { color: var(--muted); }
.cta-section { padding: 68px 0; background: linear-gradient(135deg, rgba(215,168,63,0.95), rgba(169,122,31,0.95)); color: #160f02; }
.cta-box { display: grid; gap: 18px; align-items: center; }
.cta-box p { color: rgba(22,15,2,0.82); }
.cta-box .main-button { background: #19171f; color: var(--text); margin-top: 0; justify-self: start; }
.footer { background: #0d0c12; border-top: 1px solid rgba(255,255,255,0.08); color: var(--muted); }
.footer-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; display: grid; gap: 28px; }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 480px; }
.footer-links { display: grid; grid-template-columns: 1fr; gap: 22px; }
.footer-links h3 { color: var(--text); margin-bottom: 12px; font-size: 16px; }
.footer-links a { display: block; padding: 5px 0; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.legal-line { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 16px 24px; text-align: center; font-size: 13px; }
@media (min-width: 640px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 920px) {
    .mobile-header, .mobile-drawer, .drawer-mask { display: none; }
    .desktop-header {
        width: min(1240px, calc(100% - 40px));
        height: 78px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        gap: 24px;
        align-items: center;
    }
    .desktop-logo img { width: 150px; }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
    .desktop-nav a { position: relative; color: var(--muted); font-size: 14px; padding: 28px 0; white-space: nowrap; }
    .desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s ease; }
    .desktop-nav a.active, .desktop-nav a:hover { color: var(--text); }
    .desktop-nav a.active::after, .desktop-nav a:hover::after { transform: scaleX(1); }
    .search-icon { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; position: relative; display: inline-flex; }
    .search-icon::before { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--primary); border-radius: 50%; left: 10px; top: 9px; }
    .search-icon::after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--primary); transform: rotate(45deg); left: 22px; top: 23px; border-radius: 2px; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split { grid-template-columns: 1.04fr .96fr; gap: 54px; }
    .split.reverse { grid-template-columns: .96fr 1.04fr; }
    .split.reverse .image-panel, .split.reverse .data-chart-panel { order: -1; }
    .device-showcase { display: grid; grid-template-columns: 1fr .9fr; align-items: center; }
    .cta-box { grid-template-columns: 1fr auto; }
    .footer-wrap { grid-template-columns: 1fr 1.25fr; }
}
@media (min-width: 1180px) {
    .desktop-nav { gap: 24px; }
    .category-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .wrapper { width: min(100% - 24px, 1180px); }
    .movie-hero { min-height: 590px; }
    .hero-content { padding-top: 54px; }
    .rating-grid { grid-template-columns: 1fr; }
    .chart-row { grid-template-columns: 72px 1fr 44px; }
    .top-action { min-width: 56px; padding-inline: 12px; }
    .logo img { width: 116px; }
}
