
    /* Keep page light: no charts, no heavy animations */
    .error-hero { padding: 70px 0; position: relative; overflow: hidden; }
    .error-wrap {
      display: grid;
      grid-template-columns: 1.25fr 0.75fr;
      gap: 28px;
      align-items: center;
    }
    @media (max-width: 900px) {
      .error-wrap { grid-template-columns: 1fr; }
    }

    .error-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.10);
      font-weight: 600;
    }

    .error-code {
      font-size: 74px;
      line-height: 1;
      margin: 10px 0 8px;
      letter-spacing: -1px;
    }
    @media (max-width: 900px) { .error-code { font-size: 56px; } }

    .error-title {
      font-size: 34px;
      margin: 0 0 10px;
      line-height: 1.15;
    }
    @media (max-width: 900px) { .error-title { font-size: 28px; } }

    .error-lead {
      font-size: 16px;
      opacity: 0.92;
      margin: 0 0 18px;
      max-width: 60ch;
    }

    .error-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .error-actions .cta-button { text-decoration: none; }

    .error-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 18px;
      padding: 16px;
    }

    .error-card h4 { margin: 0 0 10px; font-size: 16px; }
    .error-list { list-style: none; padding: 0; margin: 0; }
    .error-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .error-list li:last-child { border-bottom: none; }
    .error-list i { opacity: 0.85; margin-top: 2px; }
    .error-list a { color: inherit; text-decoration: none; }
    .error-list a:hover { text-decoration: underline; }

    .error-search {
      display: flex;
      gap: 10px;
      margin-top: 12px;
    }
    .error-search input {
      flex: 1;
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(0,0,0,0.25);
      color: #fff;
      outline: none;
    }
    .error-search button {
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.10);
      color: #fff;
      cursor: pointer;
      font-weight: 600;
    }
    .error-search button:hover { background: rgba(255,255,255,0.14); }

    /* Subtle background pattern compatible with your hero style */
    .error-bg-pattern {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.35;
      background:
        radial-gradient(circle at 15% 20%, rgba(130, 211, 43, 0.25), transparent 40%),
        radial-gradient(circle at 80% 35%, rgba(255, 77, 79, 0.20), transparent 45%),
        radial-gradient(circle at 45% 85%, rgba(255, 255, 255, 0.10), transparent 50%);
    }

    /* Make footer disclaimer look integrated */
    .mini-disclaimer {
      margin-top: 18px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.10);
      font-size: 13px;
      opacity: 0.92;
    }

  .sl404 {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
  }

  /* Background similar to screenshot */
  .sl404-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 30% 20%, rgba(80, 160, 255, 0.25), transparent 45%),
      radial-gradient(circle at 80% 30%, rgba(0, 0, 0, 0.35), transparent 55%),
      linear-gradient(180deg, #07101f 0%, #060d19 60%, #050a14 100%);
  }

  .sl404-wrap {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
  }

  .sl404-code {
    font-size: 140px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
    color: #45a4ff;
    margin: 0;
  }

  .sl404-sub {
    margin-top: 8px;
    font-size: 22px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
  }

  .sl404-title {
    margin: 26px 0 10px;
    font-size: 56px;
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    line-height: 1.1;
  }

  .sl404-text {
    margin: 0 auto;
    max-width: 78ch;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,0.80);
  }

  .sl404-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .sl404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 16px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
  }

  .sl404-btn:hover { transform: translateY(-1px); }
  .sl404-btn:active { transform: translateY(0px); opacity: 0.95; }

  .sl404-btn-primary {
    background: #45a4ff;
    color: #ffffff;
    border-color: rgba(69,164,255,0.55);
    box-shadow: 0 10px 30px rgba(69,164,255,0.25);
  }

  .sl404-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.18);
  }

  .sl404-meta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
  }

  .sl404-meta-item i { margin-right: 8px; }

  /* Responsive tweaks */
  @media (max-width: 900px) {
    .sl404 { padding: 60px 0; }
    .sl404-code { font-size: 110px; }
    .sl404-title { font-size: 40px; }
    .sl404-text { font-size: 17px; }
    .sl404-btn { min-width: 240px; }
  }

  @media (max-width: 520px) {
    .sl404-code { font-size: 92px; }
    .sl404-title { font-size: 34px; }
    .sl404-actions { gap: 12px; }
    .sl404-btn { width: 100%; min-width: 0; }
  }
