/* ===== Meenexis Navbar — ultra-compact, final ===== */

/* Bar */
.mnx-nav{
  position: sticky; top: 0; z-index: 1000;
  width: 100%;
  background: #0B1320; color: #e5e7eb;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mnx-wrap{
  max-width: 1200px; margin: 0 auto;
  height: 44px;                         /* desktop bar height */
  padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  overflow: visible;
}

/* Brand + thin white badge */
.mnx-brand{ display: flex; align-items: center; text-decoration: none; }
.mnx-logo-box{
  background: #fff; border-radius: 6px;
  height: 20px;                         /* HARD CAP (desktop) */
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0;
}
.mnx-logo-box > img,
.mnx-brand-img{
  height: 100%;                          /* image cannot exceed badge height */
  width: auto; display: block;
  background: transparent; padding: 0; box-shadow: none;
}

/* Menu (desktop/tablet) */
.mnx-menu{ display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.mnx-menu a{ color: #e5e7eb; text-decoration: none; font-weight: 600; line-height: 1; }
.mnx-menu a:hover{ color: #fff; opacity: .95; }
.mnx-active{ color: #fff; border-bottom: 2px solid #FACC15; padding-bottom: 4px; }

/* Hamburger trigger (hidden on desktop) */
.mnx-burger{ display: none; font-size: 26px; line-height: 1; background: transparent; border: 0; color: #fff; margin-left: auto; cursor: pointer; }

/* --- Tablet --- */
@media (max-width: 1024px){
  .mnx-wrap{ height: 42px; }
  .mnx-logo-box{ height: 18px; }        /* HARD CAP (tablet) */
}

/* --- Mobile drawer menu --- */
@media (max-width: 768px){
  .mnx-wrap{ height: 40px; padding: 0 14px; }
  .mnx-logo-box{ height: 16px; }        /* HARD CAP (mobile) */
  .mnx-burger{ display: inline-flex; }

  /* Right-side drawer */
  .mnx-menu{
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 85vw; max-width: 340px;
    background: #0B1320; padding: 24px 20px;
    transform: translateX(100%); transition: transform .25s ease;
    display: block !important;
  }
  .mnx-nav.mnx-open .mnx-menu{ transform: translateX(0); }

  /* Backdrop */
  .mnx-backdrop{
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  .mnx-nav.mnx-open + .mnx-backdrop{ opacity: 1; pointer-events: auto; }

  /* Lock scroll */
  body.mnx-lock{ overflow: hidden; }
}

/* Tiny logo bump (bar height unchanged) */
.mnx-logo-box{ height: 30px !important; }            /* desktop (was 22/20) */
.mnx-logo-box > img,
.mnx-brand-img{ height: 100% !important; width: auto !important; }

@media (max-width:1024px){
  .mnx-logo-box{ height: 22px !important; }          /* tablet */
}
@media (max-width:768px){
  .mnx-logo-box{ height: 20px !important; }          /* mobile */
}
