:root {
            --bg-dark: #061218;
            --bg-darker: #03090c;
            --accent-cyan: #22d3ee;
            --accent-lime: #a3e635;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --font-heading: 'Chakra Petch', sans-serif;
            --font-body: 'Manrope', sans-serif;
        }

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

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

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

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

        /* HEADER STYLES */
        header {
            background: rgba(6, 18, 24, 0.95);
            border-bottom: 1px solid rgba(34, 211, 238, 0.15);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }

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

        .logo {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .logo span {
            color: var(--accent-cyan);
        }

        .mobile-toggle {
            background: none;
            border: none;
            color: var(--accent-cyan);
            font-size: 1.8rem;
            cursor: pointer;
            display: block;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 70px;
            left: 0;
            width: 100%;
            background: var(--bg-darker);
            padding: 1rem;
            border-bottom: 1px solid rgba(34, 211, 238, 0.15);
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links a {
            padding: 1rem 0;
            font-family: var(--font-heading);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.95rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: color 0.3s ease;
        }

        .nav-links a:last-child {
            border-bottom: none;
        }

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

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

        /* Decorative background glow */
        .error-main::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, rgba(6, 18, 24, 0) 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
            pointer-events: none;
        }

        .error-code {
            font-family: var(--font-heading);
            font-size: 6rem;
            font-weight: 700;
            line-height: 1;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-lime));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
            filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.3));
        }

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

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

        .btn-home {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-cyan);
            color: var(--bg-dark);
            font-family: var(--font-heading);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 1rem 2rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
        }

        .btn-home:hover {
            background: var(--accent-lime);
            box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3);
            transform: translateY(-2px);
        }

        /* FOOTER STYLES */
        footer {
            background: var(--bg-darker);
            padding: 3rem 0 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-grid {
            display: grid;
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }

        .footer-brand p {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-top: 1rem;
            line-height: 1.6;
            max-width: 300px;
        }

        .footer-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .footer-links div {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

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

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

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

        /* DESKTOP MEDIA QUERIES */
        @media (min-width: 768px) {
            .mobile-toggle {
                display: none;
            }

            .nav-links {
                display: flex;
                flex-direction: row;
                position: static;
                width: auto;
                background: transparent;
                padding: 0;
                border: none;
                gap: 1.5rem;
            }

            .nav-links a {
                padding: 0;
                border: none;
            }

            .error-code {
                font-size: 8rem;
            }

            .error-title {
                font-size: 2rem;
            }

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

            .footer-links {
                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; }
