:root {
    --primary: #d7a23a;
    --primary-rgb: 215, 162, 58;
    --primary-deep: #8b641d;
    --bg: #0d0d12;
    --bg-soft: #14141c;
    --surface: rgba(24, 24, 32, 0.92);
    --surface-strong: #1c1c26;
    --surface-light: #f6f0e3;
    --text: #fff8ea;
    --text-dark: #211b12;
    --muted: #c7bda7;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    --radius: 18px;
    --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 0%, rgba(var(--primary-rgb), 0.18), transparent 34rem),
        radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.08), transparent 28rem),
        var(--bg);
    overflow-x: hidden;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { min-height: 70vh; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.site-header, header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 13, 18, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}
.mobile-header {
    height: 62px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}
.logo img { width: 132px; max-height: 42px; object-fit: contain; }
.mobile-logo { justify-self: center; }
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.menu-button span {
    width: 19px;
    height: 2px;
    background: var(--text);
    border-radius: 99px;
    display: block;
}
.top-action, .top-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: #171207;
    background: var(--primary);
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.28);
    white-space: nowrap;
}
.top-action:hover, .main-button:hover, .small-link:hover { filter: brightness(0.85); }
.mobile-panel {
    max-height: 0;
    overflow: hidden;
    display: grid;
    padding: 0 18px;
    transition: max-height 0.25s ease, padding 0.25s ease;
    background: rgba(17, 17, 24, 0.98);
    border-top: 1px solid transparent;
}
.mobile-panel.open { max-height: 620px; padding: 10px 18px 18px; border-top-color: var(--line); }
.mobile-panel a {
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 650;
}
.mobile-panel a.active, .mobile-panel a:hover { color: var(--text); background: rgba(var(--primary-rgb), 0.16); }
.desktop-header { display: none; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
    position: relative;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 0;
    white-space: nowrap;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.2s ease;
}
.nav a.active, .nav a:hover { color: var(--text); }
.nav a.active::after, .nav a:hover::after { width: 100%; }
.search-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-block;
    position: relative;
}
.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: 8px;
    height: 2px;
    background: var(--primary);
    transform: rotate(45deg);
    left: 22px;
    top: 24px;
    border-radius: 8px;
}
.movie-hero, .banner-section {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(13, 13, 18, 0.96) 0%, rgba(13, 13, 18, 0.78) 50%, rgba(13, 13, 18, 0.2) 100%),
        url('/banner.webp');
    background-size: cover;
    background-position: center;
}
.movie-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    background: linear-gradient(180deg, transparent, var(--bg));
    z-index: -1;
}
.hero-content { width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 80px 0; }
.eyebrow, .section-kicker, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #171207;
    background: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.06em;
}
.hero-content h1, .page-hero h1 {
    margin: 18px 0 18px;
    max-width: 820px;
    font-size: clamp(36px, 8vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}
.hero-content p, .page-hero p { max-width: 720px; color: var(--muted); font-size: 17px; }
.main-button {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #171207;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(var(--primary-rgb), 0.26);
}
.section { padding: 72px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1.15; letter-spacing: -0.04em; }
.section-heading p { color: var(--muted); max-width: 760px; margin: 0; }
.category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.movie-card, .service-card, .detail-card, .faq-item, .info-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow);
}
.movie-card, .service-card, .detail-card { padding: 22px; }
.movie-card .badge { margin-bottom: 16px; }
.movie-card h3, .service-card h3, .detail-card h3 { margin: 0 0 10px; font-size: 21px; }
.movie-card p, .service-card p, .detail-card p, .info-panel p { color: var(--muted); margin: 0 0 14px; }
.text-link {
    color: var(--primary);
    font-weight: 850;
}
.service-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card .tag {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 12px;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.13);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}
.split, .device-showcase, .security-section, .parental-guidance-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}
.visual-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface-strong);
}
.visual-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-list, .check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.feature-list li, .check-list li {
    padding-left: 28px;
    color: var(--muted);
    position: relative;
}
.feature-list li::before, .check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 999px;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.12);
}
.data-chart-panel {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}
.data-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.data-row:last-child { border-bottom: 0; }
.data-row strong { font-size: 19px; }
.trend { color: var(--primary); font-weight: 900; }
.bars { display: grid; gap: 11px; margin-top: 18px; }
.bar { height: 10px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.info-panel { padding: 24px; }
.security-section, .parental-guidance-section { border-radius: 26px; padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,0.045); }
.parental-guidance-section { background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.13), rgba(255,255,255,0.04)); }
.faq-grid { display: grid; gap: 14px; }
.faq-item { padding: 20px; }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-panel {
    border-radius: 28px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.95), rgba(var(--primary-rgb), 0.56));
    color: #171207;
    box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 48px); line-height: 1.14; }
.cta-panel p { max-width: 760px; }
.cta-panel .main-button { background: #171207; color: var(--text); box-shadow: none; }
.page-hero {
    padding: 76px 0 40px;
    background:
        radial-gradient(circle at 72% 20%, rgba(var(--primary-rgb), 0.2), transparent 28rem),
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
}
.page-body { padding-bottom: 72px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.table-panel { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.04); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--primary); font-size: 13px; letter-spacing: 0.06em; }
td { color: var(--muted); }
.notice {
    border-left: 4px solid var(--primary);
    padding: 18px 20px;
    background: rgba(var(--primary-rgb), 0.12);
    border-radius: 0 18px 18px 0;
    color: var(--muted);
}
.footer {
    border-top: 1px solid var(--line);
    padding: 54px 0 24px;
    background: #0a0a0f;
}
.footer-grid { width: min(100% - 32px, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer h2 { font-size: 16px; margin: 0 0 14px; color: var(--primary); }
.footer p, .footer a, .footer-bottom { color: var(--muted); }
.footer a { display: block; margin: 8px 0; }
.footer-bottom { width: min(100% - 32px, var(--max)); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.small-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.13);
    color: var(--primary);
    font-weight: 850;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
}
@media (min-width: 640px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .mobile-header, .mobile-panel { display: none; }
    .desktop-header {
        width: min(100% - 40px, 1320px);
        height: 78px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 34px;
    }
    .desktop-logo img { width: 150px; }
    .desktop-tools { display: flex; align-items: center; gap: 14px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .split, .device-showcase, .security-section, .parental-guidance-section { grid-template-columns: 1fr 1fr; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1180px) {
    .nav { gap: 24px; }
    .category-grid.six { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 520px) {
    .top-action { min-height: 34px; padding: 0 12px; font-size: 13px; }
    .logo img { width: 118px; }
    .movie-hero { min-height: auto; background-image: linear-gradient(180deg, rgba(13,13,18,0.74), rgba(13,13,18,0.96)), url('/banner.webp'); }
    .hero-content { padding: 78px 0 56px; }
    .section { padding: 52px 0; }
    .cta-panel { padding: 24px; }
}
