:root {
    --primary: #c98942;
    --primary-soft: rgba(201, 137, 66, .16);
    --primary-strong: #f0c783;
    --bg: #0d1117;
    --bg-deep: #070a0f;
    --surface: #151b24;
    --surface-2: #1b2330;
    --line: rgba(255,255,255,.1);
    --text: #f8f5ed;
    --muted: #aeb7c6;
    --muted-2: #d5d9e0;
    --dark-text: #151923;
    --safe: #58d68d;
    --warn: #f5c16c;
    --shadow: 0 24px 80px rgba(0,0,0,.35);
    --radius: 18px;
    --radius-lg: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(201, 137, 66, .16), transparent 38%), var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 14px;
}

main {
    min-height: 70vh;
}

.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 13, 18, .9);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(var(--max), calc(100% - 28px));
    min-height: 64px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
}

.logo-link {
    justify-self: center;
}

.logo {
    width: 116px;
    height: auto;
    object-fit: contain;
}

.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.desktop-nav {
    display: none;
}

.mobile-nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: min(86vw, 360px);
    height: calc(100vh - 65px);
    padding: 20px;
    background: rgba(11, 14, 20, .98);
    transform: translateX(-105%);
    transition: transform .26s ease;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    padding: 13px 14px;
    border-radius: 14px;
    color: var(--muted-2);
    border: 1px solid transparent;
}

.mobile-nav a.active,
.mobile-nav a:hover {
    border-color: rgba(201, 137, 66, .4);
    background: var(--primary-soft);
    color: var(--primary-strong);
}

.search-icon {
    display: none;
}

.top-action-button,
.main-button,
.cta-button,
.card-link,
.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #111111;
    font-weight: 800;
    letter-spacing: .02em;
    border: 0;
    box-shadow: 0 14px 34px rgba(201, 137, 66, .28);
}

.top-action-button:hover,
.main-button:hover,
.cta-button:hover {
    filter: brightness(.85);
}

.top-action-button {
    justify-self: end;
    min-width: 72px;
    padding: 0 14px;
}

.movie-hero,
.banner-section {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7,10,15,.94) 0%, rgba(7,10,15,.70) 52%, rgba(7,10,15,.4) 100%),
        url("banner.webp") center/cover no-repeat;
}

.movie-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 88px 0 80px;
    max-width: 780px;
}

.eyebrow,
.category-badge,
.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    border: 1px solid rgba(201, 137, 66, .34);
    font-size: 13px;
    font-weight: 800;
}

.movie-hero h1,
.page-hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 9vw, 76px);
    line-height: 1.04;
    letter-spacing: -.05em;
}

.hero-lead,
.page-lead {
    max-width: 760px;
    color: var(--muted-2);
    font-size: clamp(16px, 2.6vw, 20px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px 0 30px;
    max-width: 680px;
}

.stat-card,
.data-tile {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}

.stat-card strong,
.data-tile strong {
    display: block;
    font-size: 24px;
    color: var(--primary-strong);
}

.section {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 64px 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.section-head h2,
.page-section h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -.03em;
}

.section-head p {
    max-width: 760px;
    color: var(--muted);
}

.category-grid,
.service-grid,
.page-grid,
.faq-grid,
.data-grid {
    display: grid;
    gap: 16px;
}

.category-grid,
.service-grid,
.page-grid {
    grid-template-columns: 1fr;
}

.movie-card,
.service-card,
.info-card,
.faq-item,
.data-chart-panel,
.security-section,
.parental-guidance-section,
.notice-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.movie-card,
.service-card,
.info-card,
.faq-item {
    padding: 20px;
}

.movie-card h3,
.service-card h3,
.info-card h3,
.faq-item h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}

.movie-card p,
.service-card p,
.info-card p,
.faq-item p {
    color: var(--muted);
}

.card-link,
.inline-link {
    margin-top: 10px;
    background: transparent;
    border: 1px solid rgba(201, 137, 66, .45);
    color: var(--primary-strong);
    box-shadow: none;
    min-height: 38px;
    padding: 0 14px;
}

.feature-split,
.device-showcase,
.security-section,
.parental-guidance-section,
.data-chart-panel {
    padding: 20px;
    display: grid;
    gap: 24px;
    align-items: center;
}

.feature-split {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(201,137,66,.14), rgba(255,255,255,.04));
    border: 1px solid var(--line);
}

.feature-copy h2,
.device-showcase h2,
.security-section h2,
.parental-guidance-section h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 5vw, 44px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.feature-copy p,
.device-showcase p,
.security-section p,
.parental-guidance-section p {
    color: var(--muted-2);
}

.showcase-image {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--surface);
}

.data-bars {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.data-bar {
    display: grid;
    gap: 7px;
}

.data-bar span {
    display: flex;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: 14px;
}

.data-bar i {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.data-bar i::before {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-strong));
}

.device-showcase {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 0%, rgba(201,137,66,.2), transparent 34%),
        var(--surface);
}

.security-section {
    background:
        linear-gradient(135deg, rgba(88,214,141,.1), rgba(255,255,255,.035));
}

.parental-guidance-section {
    background:
        linear-gradient(135deg, rgba(245,193,108,.13), rgba(255,255,255,.035));
}

.check-list,
.timeline,
.clean-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li,
.timeline li,
.clean-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted-2);
}

.check-list li::before,
.timeline li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px var(--primary-soft);
}

.faq-item {
    background: rgba(255,255,255,.045);
}

.faq-item h3 {
    color: var(--text);
}

.cta-section {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto 72px;
    padding: 34px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    background:
        radial-gradient(circle at 70% 0%, rgba(255,255,255,.28), transparent 28%),
        linear-gradient(135deg, var(--primary), #98612a);
    color: #111;
}

.cta-section h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 5vw, 46px);
    letter-spacing: -.04em;
}

.cta-section p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: rgba(17,17,17,.82);
    font-weight: 600;
}

.cta-section .cta-button {
    background: #111;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.page-hero {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 88px 0 40px;
}

.page-hero.compact {
    padding-bottom: 20px;
}

.page-section {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 58px;
}

.page-section p {
    color: var(--muted-2);
}

.notice-box {
    padding: 22px;
    background: var(--surface);
}

.notice-box strong {
    color: var(--primary-strong);
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.info-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: rgba(255,255,255,.045);
}

.info-table th,
.info-table td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.info-table th {
    color: var(--primary-strong);
    background: rgba(201,137,66,.1);
}

.site-footer,
footer {
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
    padding: 42px 0 24px;
}

.footer-grid {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.footer-grid h2 {
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--primary-strong);
}

.footer-grid a {
    display: block;
    color: var(--muted);
    margin: 8px 0;
}

.footer-grid p {
    color: var(--muted);
}

.footer-logo {
    width: 116px;
    margin-bottom: 14px;
}

.footer-bottom {
    width: min(var(--max), calc(100% - 28px));
    margin: 26px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-strong);
}

@media (min-width: 680px) {
    .category-grid,
    .service-grid,
    .page-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-split,
    .device-showcase,
    .security-section,
    .parental-guidance-section,
    .data-chart-panel {
        grid-template-columns: 1fr 1fr;
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .header-inner {
        grid-template-columns: auto 1fr auto auto;
        min-height: 76px;
        gap: 24px;
    }

    .menu-button {
        display: none;
    }

    .logo-link {
        justify-self: start;
    }

    .logo {
        width: 140px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .desktop-nav a {
        position: relative;
        padding: 25px 9px;
        color: var(--muted-2);
        font-size: 14px;
        white-space: nowrap;
    }

    .desktop-nav a::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 17px;
        height: 2px;
        border-radius: 999px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .2s ease;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
        color: var(--primary-strong);
    }

    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
        transform: scaleX(1);
    }

    .mobile-nav {
        display: none;
    }

    .search-icon {
        display: inline-flex;
        width: 36px;
        height: 36px;
        border: 1px solid var(--line);
        border-radius: 50%;
        position: relative;
    }

    .search-icon::before {
        content: "";
        position: absolute;
        width: 12px;
        height: 12px;
        border: 2px solid var(--muted-2);
        border-radius: 50%;
        left: 9px;
        top: 8px;
    }

    .search-icon::after {
        content: "";
        position: absolute;
        width: 9px;
        height: 2px;
        background: var(--muted-2);
        transform: rotate(45deg);
        left: 21px;
        top: 23px;
        border-radius: 999px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .movie-hero,
    .banner-section {
        min-height: 720px;
    }

    .section {
        padding: 82px 0;
    }
}

@media (min-width: 1180px) {
    .desktop-nav a {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 15px;
    }
}
