/* Nav Drawer — premium minimal */
.navBtn{
  position: fixed;
  z-index: 90;
  left: 16px;
  top: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
}

.navBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(87,194,255,.30);
}

.navBtn:active{ transform: translateY(0); }

.navBtn__icon{
  width: 22px; height: 22px;
  color: rgba(255,255,255,.92);
}

/* Backdrop */
.drawerBackdrop{
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(.2,.8,.2,1);
}

/* Drawer */
.drawer{
  position: fixed;
  top: 0; left: 0;
  height: 100svh;
  width: min(360px, 88vw);
  z-index: 100;

  transform: translateX(-102%);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);

  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(10,14,18,.92);
  border-right: 1px solid rgba(255,255,255,.10);
  box-shadow: 40px 0 90px rgba(0,0,0,.60);
  backdrop-filter: blur(10px);
}

.drawer__inner{
  padding: 18px 16px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.drawer__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.drawer__brand{
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.drawer__brand strong{
  font-family: "Space Grotesk", system-ui;
  letter-spacing: .2px;
}
.drawer__brand span{
  color: rgba(255,255,255,.66);
  font-size: 12px;
}

.drawer__close{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  cursor:pointer;
}

.drawer__nav{
  display:flex;
  flex-direction:column;
  gap: 8px;
  padding-top: 6px;
}

.drawer__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);

  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
}

.drawer__link:hover{
  transform: translateY(-1px);
  border-color: rgba(245,185,66,.28);
}

.drawer__link span{
  color: rgba(255,255,255,.90);
  font-weight: 600;
}
.drawer__link small{
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.drawer__foot{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* OPEN state (via body attr) */
body[data-drawer="open"] .drawer{ transform: translateX(0); }
body[data-drawer="open"] .drawerBackdrop{
  opacity: 1;
  pointer-events: auto;
}