:root {
      --bg-dark: #100a14;
      --gold: #ffd700;
      --purple: #c084fc;
      --text-light: #f3f4f6;
      --text-muted: #9ca3af;
      --font-heading: 'Anton', sans-serif;
      --font-body: 'Barlow', sans-serif;
    }

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

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

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

    /* --- HEADER STYLES --- */
    header {
      background-color: rgba(16, 10, 20, 0.95);
      border-bottom: 1px solid rgba(255, 215, 0, 0.15);
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(5px);
    }

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

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

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

    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 64px;
      left: 0;
      width: 100%;
      background-color: var(--bg-dark);
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 215, 0, 0.15);
      gap: 1rem;
    }

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

    .nav-links a {
      color: var(--text-light);
      text-decoration: none;
      font-weight: 500;
      text-transform: uppercase;
      font-size: 0.9rem;
      transition: color 0.3s;
    }

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

    /* --- 404 MAIN CONTENT --- */
    main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3rem 1rem;
      text-align: center;
    }

    .error-code {
      font-family: var(--font-heading);
      font-size: 7rem;
      line-height: 1;
      color: var(--bg-dark);
      -webkit-text-stroke: 2px var(--gold);
      text-shadow: 4px 4px 0px var(--purple);
      margin-bottom: 0.5rem;
      letter-spacing: 2px;
    }

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

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

    .btn-home {
      display: inline-block;
      background: linear-gradient(90deg, var(--gold), #ffaa00);
      color: var(--bg-dark);
      font-family: var(--font-heading);
      text-transform: uppercase;
      text-decoration: none;
      padding: 0.875rem 2rem;
      border-radius: 4px;
      font-size: 1.1rem;
      letter-spacing: 1px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-home:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
    }

    /* --- FOOTER STYLES --- */
    footer {
      background-color: #0a060d;
      border-top: 1px solid rgba(255, 215, 0, 0.15);
      padding: 2.5rem 0 1.5rem;
    }

    .footer-brand {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 0.5rem;
      letter-spacing: 1px;
    }

    .footer-tagline {
      color: var(--text-muted);
      font-size: 0.875rem;
      margin-bottom: 1.5rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }

    .footer-links a {
      color: var(--text-light);
      text-decoration: none;
      font-size: 0.8125rem;
      background: rgba(255, 255, 255, 0.05);
      padding: 0.4rem 0.75rem;
      border-radius: 4px;
      transition: all 0.2s;
    }

    .footer-links a:hover {
      background: var(--purple);
      color: #fff;
    }

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

    /* --- DESKTOP 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;
      }

      .error-code {
        font-size: 12rem;
        -webkit-text-stroke: 3px var(--gold);
        text-shadow: 6px 6px 0px var(--purple);
      }

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

      .error-desc {
        font-size: 1.125rem;
      }
    }


/* 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; }
