:root {
            --bg-color: #0c0614;
            --primary: #c084fc;
            --accent: #f472b6;
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --font-head: 'Bebas Neue', sans-serif;
            --font-body: 'Sora', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-color);
            color: var(--text-main);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            line-height: 1.6;
        }

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

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* --- HEADER STYLES --- */
        header {
            background: rgba(12, 6, 20, 0.95);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(192, 132, 252, 0.2);
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .brand-logo {
            font-family: var(--font-head);
            font-size: 2rem;
            color: var(--primary);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .mobile-toggle {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .btn {
            padding: 0.6rem 1.2rem;
            border-radius: 4px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            font-family: var(--font-body);
            font-size: 0.9rem;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
            border: none;
        }

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
        }

        .btn-secondary {
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
        }

        .btn-secondary:hover {
            background: rgba(192, 132, 252, 0.1);
        }

        @media (max-width: 991px) {
            .nav-links, .header-ctas {
                display: none;
                width: 100%;
                background: var(--bg-color);
                padding: 1rem;
                border-bottom: 1px solid rgba(192, 132, 252, 0.2);
                position: absolute;
                left: 0;
            }
            .nav-links {
                flex-direction: column;
                gap: 1rem;
                top: 70px;
            }
            .header-ctas {
                flex-direction: column;
                gap: 0.5rem;
                top: calc(70px + 230px); /* Approx height of nav links */
            }
            header.nav-active .nav-links,
            header.nav-active .header-ctas {
                display: flex;
            }
        }

        @media (min-width: 992px) {
            .mobile-toggle { display: none; }
            .nav-links { display: flex; gap: 1.5rem; align-items: center; }
            .nav-links a { font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
            .nav-links a:hover { color: var(--primary); }
            .header-ctas { display: flex; gap: 1rem; align-items: center; }
        }

        /* --- 404 MAIN CONTENT STYLES --- */
        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 3rem 1rem;
            position: relative;
            overflow: hidden;
        }

        /* Ambient glow effect */
        main::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(192,132,252,0.15) 0%, rgba(12,6,20,0) 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
            border-radius: 50%;
        }

        .error-code {
            font-family: var(--font-head);
            font-size: 7rem;
            line-height: 1;
            margin-bottom: 0.5rem;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 10px 30px rgba(192, 132, 252, 0.2);
            letter-spacing: 5px;
        }

        .error-title {
            font-family: var(--font-head);
            font-size: 2rem;
            letter-spacing: 1px;
            margin-bottom: 1rem;
            color: var(--text-main);
            text-transform: uppercase;
        }

        .error-desc {
            color: var(--text-muted);
            max-width: 450px;
            margin-bottom: 2.5rem;
            font-size: 1rem;
        }

        @media (min-width: 768px) {
            .error-code { font-size: 12rem; }
            .error-title { font-size: 3rem; }
            .error-desc { font-size: 1.1rem; }
            main::before { width: 500px; height: 500px; }
        }

        /* --- FOOTER STYLES --- */
        footer {
            background: #08040d;
            padding: 3rem 0 1.5rem;
            border-top: 1px solid rgba(192, 132, 252, 0.1);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-brand h2 {
            font-family: var(--font-head);
            color: var(--primary);
            font-size: 2rem;
            margin-bottom: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .footer-brand p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .footer-links h3 {
            font-family: var(--font-head);
            font-size: 1.5rem;
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }

        .footer-links ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.8rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        @media (min-width: 768px) {
            .footer-grid { grid-template-columns: 1fr 2fr; }
            .footer-links ul { grid-template-columns: repeat(3, 1fr); }
        }


/* pipeline image & layout guards */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
/* 合规声明块（zb-disclaimer，全站 footer） */
.zb-disclaimer { margin-top: 18px !important; padding: 14px 0 0 0 !important; border-top: 1px solid rgba(128,128,128,.25) !important; font-size: .72rem !important; line-height: 1.7 !important; opacity: .85 !important; display: block !important; text-align: left !important; width: 100% !important; clear: both !important; }
.zb-disclaimer .zb-18 { display: inline-block !important; padding: 2px 10px !important; border: 1.5px solid currentColor !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: 1px !important; margin: 0 0 10px 0 !important; font-size: .78rem !important; }
.zb-disclaimer p { display: block !important; margin: 5px 0 !important; padding: 0 !important; color: inherit !important; font-size: .72rem !important; line-height: 1.7 !important; }
.zb-disclaimer p:last-child { margin-bottom: 0 !important; }
