/* Haze public-site navigation and footer, matched to the live homepage. */
.haze-site-shell {
    --border: rgba(255,255,255,.07);
    --purple: #a855f7;
    --purple-mid: #9333ea;
    --purple-soft: rgba(168,85,247,.08);
    --text: #e4e4e7;
    --muted: #a1a1aa;
    --white: #fff;
    color: var(--text);
    font-size: 16px;
}
.haze-site-shell ul, .haze-site-shell p, .haze-site-shell h3 { margin: 0; padding: 0; }
.haze-site-shell img { display: block; max-width: 100%; }
    .nav-outer {
      padding: 16px 24px;
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: transparent;
      transition: background 0.3s ease, backdrop-filter 0.3s ease;
    }
    .nav-outer.scrolled {
      background: rgba(9,9,11,0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    body { padding-top: 88px; }
    .navbar {
      max-width: 1240px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between; gap: 20px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: 14px;
      padding: 10px 20px 10px 16px;
    }

    .nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .nav-logo {
      width: 40px; height: 40px; border-radius: 10px;
      background: rgba(109,40,217,0.15);
      border: 1px solid rgba(139,92,246,0.22);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; overflow: hidden;
    }
    .nav-logo img { width: 27px; height: 27px; object-fit: contain; }
    .nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
    .nav-brand-name { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
    .nav-brand-name .dot { color: var(--purple); }
    .nav-brand-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

    .nav-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.07); flex-shrink: 0; }

    .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
    .nav-links a {
      display: block; padding: 7px 13px; border-radius: 8px;
      font-size: 13px; font-weight: 500; color: var(--muted);
      transition: color 0.15s, background 0.15s; white-space: nowrap;
    }
    .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

    .nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

    /* ── BUTTONS ─────────────────────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 8px 18px; border-radius: 8px;
      font-size: 13px; font-weight: 600; font-family: 'Inter', system-ui, sans-serif;
      cursor: pointer; transition: all 0.18s; border: none; white-space: nowrap;
    }
    .btn-primary {
      background: var(--purple); color: #fff;
      box-shadow: 0 0 20px rgba(168,85,247,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
    }
    .btn-primary:hover {
      background: var(--purple-mid);
      box-shadow: 0 0 32px rgba(168,85,247,0.55);
      transform: translateY(-1px);
    }
    .btn-ghost {
      background: rgba(255,255,255,0.04); color: var(--muted);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); }
    .btn-outline {
      background: transparent; color: var(--purple);
      border: 1px solid rgba(168,85,247,0.4);
    }
    .btn-outline:hover { background: var(--purple-soft); border-color: var(--purple); }
    .btn-sm  { padding: 6px 14px; font-size: 12px; border-radius: 7px; }
    .btn-pill { border-radius: 99px; padding: 11px 28px; font-size: 14px; font-weight: 700; }

    /* ── HAMBURGER ───────────────────────────────────────────────────────────── */
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 6px;
    }
    .nav-hamburger span {
      display: block; width: 22px; height: 2px;
      background: var(--muted); border-radius: 2px; transition: all 0.2s;
    }

    /* ── BOTTOM TAB BAR (mobile only) ───────────────────────────────────────── */
    .bottom-tab-bar { display: none; }
    @media (max-width: 768px) {
      .bottom-tab-bar {
        display: flex;
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
        background: rgba(9,9,11,0.97); backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.07);
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
        justify-content: space-around; align-items: stretch;
      }
      .bottom-tab-bar a {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; flex: 1; min-width: 0; padding: 4px 3px;
        color: rgba(255,255,255,0.4); text-decoration: none;
        font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
        transition: color 0.15s;
        -webkit-tap-highlight-color: transparent;
      }
      .bottom-tab-bar a svg { width: 20px; height: 20px; flex-shrink: 0; }
      .bottom-tab-bar a.active { color: #a855f7; }
      .bottom-tab-bar a:active { color: #a855f7; }
      .bottom-tab-bar a:hover { color: rgba(255,255,255,0.75); }
      body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    }


    .haze-site-footer { border-top: 1px solid var(--border); padding: 52px 24px; }
    .footer-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
    .footer-top {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 48px; flex-wrap: wrap;
    }
    .footer-brand { max-width: 250px; }
    .footer-wordmark {
      font-size: 16px; font-weight: 900; letter-spacing: -0.04em;
      color: var(--white); margin-bottom: 12px; display: block;
    }
    .footer-wordmark .dot { color: var(--purple); }
    .footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.65; }
    .footer-links-group { display: flex; gap: 56px; flex-wrap: wrap; }
    .footer-col h3 {
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--text); margin-bottom: 14px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
    .footer-col ul li a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
    .footer-col ul li a:hover { color: var(--text); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border);
    }
    .footer-bottom p { font-size: 12px; color: var(--muted); }
    .footer-socials { display: flex; gap: 8px; }
    .social-link {
      width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center; color: var(--muted);
      transition: border-color 0.15s, color 0.15s, background 0.15s;
    }
    .social-link:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-soft); }
    .social-link svg { width: 14px; height: 14px; }


.nav-links a[aria-current="page"] { color: var(--purple); background: var(--purple-soft); }
.haze-site-footer { display: block; max-width: none; margin: 0; width: 100%; }
.bottom-tab-bar { gap: 0; }
[data-rewards-page] [id] { scroll-margin-top: 110px; }
@media (min-width: 769px) and (max-width: 1280px) {
    .navbar { gap: 10px; padding-inline: 8px; }
    .nav-links a { padding-inline: 7px; font-size: 12px; }
    .nav-brand-sub, .nav-sep, .nav-right a[href*="discord.gg"] { display: none; }
    .nav-right { gap: 4px; }
}
@media (min-width: 769px) and (max-width: 1000px) {
    body { padding-top: 136px; }
    .navbar { flex-wrap: wrap; }
    .nav-links { order: 4; flex-basis: 100%; justify-content: center; }
    .nav-right { margin-left: auto; }
    [data-rewards-page] [id] { scroll-margin-top: 156px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-right, .nav-hamburger, .nav-sep { display: none; }
}
@media (max-width: 540px) {
    .nav-outer { padding: 12px 16px; }
    .footer-links-group { gap: 32px; }
    .footer-top { flex-direction: column; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .haze-site-shell, .haze-site-shell * { transition: none !important; }
}
