:root {
            --bg-dark: #12100a;
            --bg-darker: #0a0905;
            --bg-card: #1a1710;
            --primary: #f5c542;
            --primary-hover: #e0b022;
            --secondary: #84cc16;
            --text-light: #ffffff;
            --text-muted: #a09e9a;
            --font-heading: 'Teko', sans-serif;
            --font-body: 'Nunito', sans-serif;
        }

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

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

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

        h1, h2, h3, h4, h5, h6, .logo {
            font-family: var(--font-heading);
            font-weight: 600;
        }

        a {
            text-decoration: none;
            transition: color 0.3s ease;
        }

        /* Buttons */
        .btn {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 4px;
            font-weight: 700;
            font-family: var(--font-body);
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background-color: var(--primary);
            color: var(--bg-dark);
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
            box-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
        }

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

        .btn-secondary:hover {
            background-color: rgba(245, 197, 66, 0.1);
        }

        /* Header */
        header {
            background-color: var(--bg-darker);
            border-bottom: 1px solid rgba(245, 197, 66, 0.2);
            position: sticky;
            top: 0;
            z-index: 100;
        }

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

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

        .nav-desktop {
            display: none;
        }

        .header-ctas {
            display: none;
        }

        .mobile-menu-btn {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 1.8rem;
            cursor: pointer;
        }

        .mobile-nav {
            display: none;
            background-color: var(--bg-card);
            border-bottom: 1px solid rgba(245, 197, 66, 0.2);
        }

        .mobile-nav.active {
            display: block;
        }

        .mobile-nav ul {
            list-style: none;
            padding: 10px 0;
        }

        .mobile-nav li a {
            display: block;
            padding: 12px 20px;
            color: var(--text-light);
            font-weight: 600;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .mobile-nav li a:hover {
            color: var(--primary);
            background-color: rgba(255,255,255,0.02);
        }

        .mobile-nav .header-ctas {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 15px 20px;
        }

        /* Main Content - 404 Section */
        main {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            position: relative;
            overflow: hidden;
        }

        .error-container {
            text-align: center;
            max-width: 600px;
            position: relative;
            z-index: 2;
        }

        .error-code {
            font-size: 8rem;
            line-height: 0.9;
            color: var(--primary);
            text-shadow: 0 0 30px rgba(245, 197, 66, 0.3);
            margin-bottom: 10px;
        }

        .error-title {
            font-size: 2.2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            color: var(--text-light);
        }

        .error-desc {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        .error-desc strong {
            color: var(--secondary);
        }

        .btn-large {
            padding: 12px 30px;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Footer */
        footer {
            background-color: var(--bg-darker);
            border-top: 1px solid rgba(245, 197, 66, 0.1);
            padding: 40px 0 20px;
        }

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

        .footer-brand .logo {
            font-size: 2.5rem;
            margin-bottom: 10px;
            display: inline-block;
        }

        .footer-tagline {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .footer-links h4 {
            color: var(--primary);
            font-size: 1.5rem;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

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

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

        /* Desktop Media Queries */
        @media (min-width: 768px) {
            .nav-desktop {
                display: block;
            }

            .nav-desktop ul {
                display: flex;
                list-style: none;
                gap: 25px;
            }

            .nav-desktop a {
                color: var(--text-light);
                font-weight: 600;
                font-size: 1rem;
            }

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

            .header-ctas {
                display: flex;
                gap: 15px;
            }

            .mobile-menu-btn {
                display: none;
            }

            .mobile-nav {
                display: none !important;
            }

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

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

            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr 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; }
