:root {
    --primary: #16d6a5;
    --primary-strong: #0aa97f;
    --primary-soft: rgba(22, 214, 165, 0.16);
    --bg: #080e13;
    --bg-elevated: #101820;
    --bg-card: #121d26;
    --surface: #182530;
    --text: #f4fbf8;
    --muted: #a9bbb4;
    --line: rgba(255, 255, 255, 0.10);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --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", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(22,214,165,0.22), transparent 32rem),
        linear-gradient(180deg, #071016 0%, var(--bg) 42%, #0b1218 100%);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.18; letter-spacing: -0.02em; }
main { min-height: 72vh; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 14, 19, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.mobile-header {
    height: 62px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}
.desktop-header { display: none; }
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.menu-button span {
    height: 2px;
    width: 20px;
    background: var(--text);
    border-radius: 999px;
}
.mobile-logo { justify-self: center; display: flex; align-items: center; }
.mobile-logo img { height: 32px; width: auto; object-fit: contain; }
.desktop-logo img { height: 38px; width: auto; object-fit: contain; }
.top-action-button, .main-button, .secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.top-action-button, .main-button {
    background: var(--primary);
    color: #04110d;
    box-shadow: 0 12px 28px rgba(22, 214, 165, 0.28);
    padding: 0 18px;
}
.top-action-button:hover, .main-button:hover { filter: brightness(0.85); transform: translateY(-1px); }
.secondary-link {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    padding: 0 16px;
}
.secondary-link:hover { border-color: var(--primary); color: var(--primary); }
.mobile-panel {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 68px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 20, 27, .98);
    box-shadow: var(--shadow);
}
.mobile-panel.open { display: grid; }
.mobile-panel a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
}
.mobile-panel a.active, .mobile-panel a:hover { color: var(--primary); background: var(--primary-soft); }
.search-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    position: relative;
    flex: 0 0 auto;
}
.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: 24px;
    top: 25px;
    border-radius: 999px;
}

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { margin-bottom: 24px; max-width: 760px; }
.eyebrow, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(22, 214, 165, .30);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .86rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.eyebrow::before, .badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(22,214,165,.12);
}

.movie-hero, .banner-section {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7,16,22,.96) 0%, rgba(7,16,22,.72) 45%, rgba(7,16,22,.38) 100%),
        url('banner.webp') center/cover no-repeat;
}
.movie-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 110px 0 80px;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { font-size: clamp(2.35rem, 8vw, 5.7rem); margin: 12px 0 18px; }
.hero-copy p { font-size: clamp(1rem, 2vw, 1.18rem); max-width: 680px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 28px;
}
.hero-meta span, .pill {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--text);
    font-size: .9rem;
}
.main-button { min-height: 48px; padding: 0 24px; }

.category-grid, .service-grid, .stat-grid, .feature-grid, .faq-grid, .notice-grid, .cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.movie-card, .service-card, .data-chart-panel, .faq-item, .notice-card, .info-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.026));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}
.movie-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.movie-card h3, .service-card h3, .notice-card h3, .info-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card-link { color: var(--primary); font-weight: 800; margin-top: 12px; display: inline-flex; }
.card-link:hover { text-decoration: underline; }
.card-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
    border: 1px solid rgba(22, 214, 165, .28);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
.split-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
}
.split-image img { width: 100%; min-height: 260px; object-fit: cover; }
.data-chart-panel { position: relative; overflow: hidden; }
.data-chart-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(22,214,165,.18), transparent 26rem);
    pointer-events: none;
}
.data-row, .premiere-row, .account-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.data-row:last-child, .premiere-row:last-child, .account-row:last-child { border-bottom: 0; }
.trend-up, .tag-ok { color: var(--primary); font-weight: 900; }
.trend-neutral { color: #e9d28c; font-weight: 900; }
.stars { letter-spacing: 3px; color: var(--primary); }
.chart-bars { display: grid; gap: 10px; margin-top: 18px; }
.chart-bars span { display: block; height: 9px; border-radius: 999px; background: rgba(255,255,255,.10); overflow: hidden; }
.chart-bars i { display: block; height: 100%; background: var(--primary); border-radius: inherit; }

.device-showcase, .security-section, .parental-guidance-section, .cta-section {
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(22,214,165,.14), rgba(255,255,255,.045));
    box-shadow: var(--shadow);
    padding: 24px;
}
.security-section { background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(22,214,165,.08)); }
.parental-guidance-section { background: linear-gradient(135deg, rgba(22,214,165,.11), rgba(255,255,255,.035)); }
.cta-section { text-align: center; background: linear-gradient(135deg, var(--primary), #0b745b); color: #04110d; }
.cta-section p, .cta-section h2 { color: #04110d; }
.cta-section .main-button { background: #04110d; color: var(--text); box-shadow: none; }

.page-hero {
    padding: 118px 0 52px;
    background:
        radial-gradient(circle at 20% 0%, rgba(22,214,165,.24), transparent 34rem),
        linear-gradient(180deg, rgba(255,255,255,.045), transparent);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 6vw, 4rem); max-width: 940px; margin: 12px 0 16px; }
.page-hero p { max-width: 850px; font-size: 1.05rem; }
.page-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }
.content-panel {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
}
.content-panel h2 { margin: 10px 0 12px; font-size: 1.55rem; }
.content-panel ul, .content-panel ol { margin: 8px 0 0; padding-left: 1.2rem; color: var(--muted); }
.content-panel li { margin-bottom: 8px; }
.table-like { display: grid; gap: 10px; }
.table-like .row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; }
.table-like strong { color: var(--text); }
.warning-box {
    border: 1px solid rgba(233, 210, 140, .35);
    background: rgba(233, 210, 140, .08);
    border-radius: 18px;
    padding: 18px;
    color: #f6e8b4;
}

.site-footer {
    margin-top: 48px;
    padding: 48px 0 22px;
    background: #060a0e;
    border-top: 1px solid var(--line);
}
.footer-grid {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 12px; }
.site-footer a { display: block; color: var(--muted); margin-bottom: 8px; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom {
    width: min(100% - 32px, var(--max));
    margin: 28px auto 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: .92rem;
}

@media (min-width: 640px) {
    .category-grid, .service-grid, .stat-grid, .feature-grid, .faq-grid, .notice-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .table-like .row { grid-template-columns: 1.1fr 1fr 1fr; }
}

@media (min-width: 900px) {
    .mobile-header, .mobile-panel { display: none !important; }
    .desktop-header {
        width: min(100% - 36px, 1280px);
        min-height: 76px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 22px;
    }
    .desktop-logo { flex: 0 0 auto; }
    .desktop-nav {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(12px, 1.3vw, 22px);
        min-width: 0;
    }
    .desktop-nav a {
        color: var(--muted);
        font-size: .95rem;
        font-weight: 760;
        white-space: nowrap;
        padding: 26px 0 22px;
        border-bottom: 3px solid transparent;
    }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); border-color: var(--primary); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid, .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-grid, .faq-grid, .notice-grid, .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .split-section { grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: 46px; }
    .split-section.reverse { grid-template-columns: minmax(320px, .96fr) minmax(0, 1.04fr); }
    .reverse .split-image { order: -1; }
    .device-showcase, .security-section, .parental-guidance-section, .cta-section { padding: 42px; }
    .page-layout { grid-template-columns: 1.25fr .75fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1.1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1180px) {
    .category-grid { grid-template-columns: repeat(6, 1fr); }
    .movie-card { min-height: 240px; }
}
