/* =========================
   HEADER / NAV
   Desktop: full-width green, centred menu
   Mobile/Tablet: transparent bar + burger → right drawer
   ========================= */
   .site-header{
    position: sticky;
    top: 0;
    z-index: 9999; 
    background: var(--secondary-600);
    color: #fff;
  }
  
  .nav-bar{
    max-width: var(--container);
    padding-inline: var(--gutter);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--nav-height);
    display: grid;
    place-items: center;
    position: relative;
    background: #005036;
  }
  
  /* Centred desktop menu */
  .site-menu{
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center; 
  }
  .site-menu a{
    color: #fff;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    font-size: 1.15rem;
    padding: 18px 0;  
    transition: opacity .15s ease, transform .15s ease;
  }
  .site-menu a:hover{ opacity: 0.85; transform: translateY(-1px); color: #80c929;}
  
  /* Burger button (hidden on desktop) */
  .burger{
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 24px;
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .burger span{
    display: block;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
  }
  
  /* Tablet + Mobile */
  @media (max-width: 899px){
    .site-header{ background: transparent; }
    .nav-bar{ height: 56px; }
    .site-menu{ display: none; }
    .burger{ display: block; }
  }
  
  /* Drawer + backdrop */
  .drawer-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: saturate(120%) blur(2px);
    z-index: 130;
  }
  .drawer-backdrop.is-open{ display: block; }
  .drawer-backdrop[hidden]{ display: none !important; }
  
  .nav-drawer{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 420px);
    background: #fff;
    color: var(--secondary-600);
    z-index: 140;
    transform: translateX(100%);
    transition: transform .28s ease-out;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.18);
  }
  .nav-drawer.is-open{ transform: translateX(0); }
  
  /* Drawer close "X" */
  .drawer-close{
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border: 0; background: transparent; cursor: pointer;
  }
  .drawer-close span{
    position: absolute; left: 8px; right: 8px; top: 50%;
    height: 3px; background: var(--secondary-600); border-radius: 2px;
  }
  .drawer-close span:first-child{ transform: translateY(-50%) rotate(45deg); }
  .drawer-close span:last-child { transform: translateY(-50%) rotate(-45deg); }
  
  /* Drawer menu items */
  .drawer-menu{
    list-style: none; margin: 12px 0 8px; padding: 0;
  }
  .drawer-menu li + li{ border-top: 1px solid rgba(0,80,54,0.18); }
  .drawer-menu a{
    display: block;
    padding: 12px 0;
    color: var(--secondary-600);
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    font-size: 1.05rem;
  }
  
  /* Partners + socials in drawer */
  .drawer-rule{
    border: 0;
    border-top: 1px solid rgba(0,80,54,0.18);
    margin: 18px 0;
  }
  .drawer-partners{ display: grid; gap: 14px; align-content: start; }
  .dex-logo{ height: 28px; width: auto; }
  
  .drawer-socials{
    margin-top: auto;
    display: flex; gap: 14px;
    list-style: none; padding: 0; margin-bottom: 8px;
  }
  .drawer-socials a{
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 999px;
    background: #fff;
  }
  .drawer-socials img{ width: 22px; height: 22px; filter: invert(1); }
  
  .drawer-socials .iconMono{ color: var(--secondary-600);}
  
  /* --- Buy $BOB --- */
  
  .site-menu .buyBobLink > a {
    white-space: nowrap; 
  }
  
  .site-menu .buyBobLink .iconCard {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transition: transform .15s ease;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    margin-right: 8px;
  }
  .site-menu .buyBobLink > a:hover .iconCard { transform: scale(1.06); }
  
  .drawer-menu .buyBobLink > a {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .drawer-menu .buyBobLink .iconCard {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    filter: none; 
    transition: transform .15s ease;
  }
  .drawer-menu .buyBobLink > a:hover .iconCard { transform: scale(1.06); }
  
  /* --- MOBILE MENU --- */
  
  .drawer-partners {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 40px; 
    margin: 24px 0;
  }
  
  .drawer-partners a {
    display: inline-flex;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    width: 100%;
  }
  
  .drawer-partners .logoMono {
    width: 140px; 
    height: auto;
    fill: #005036; 
    filter: brightness(0) saturate(100%) invert(20%) sepia(84%) saturate(348%) hue-rotate(110deg) brightness(95%) contrast(90%);
  }
  
  .drawer-partners a:hover .logoMono {
    opacity: 0.8; 
  }