/* Hamburger Toggle Button */
.menuToggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 2px;
  flex-shrink: 0;
}
.menuToggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Overlay Backdrop */
.menuOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99;
}
.menuOverlay.open {
  display: block;
}

/* Slide-in Drawer */
.menuDrawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100dvh;
  background-color: var(--bg-primary);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  -ms-overflow-style: none;
}
.menuDrawer.open {
  transform: translateX(0);
}

/* Close Button Inside Drawer */
.drawerClose {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

/* Profile Section at Top of Drawer */
.drawerProfile {
  background: #f5ede2;
  padding: 48px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}
.drawerAvatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #d6eaf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Roboto", sans-serif;
  user-select: none;
}
.drawerUsername {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Roboto", sans-serif;
  word-break: break-all;
}

/* Drawer Navigation */
.drawerNav {
  padding: 6px 0 20px;
}
.drawerNavItem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.18s;
  cursor: pointer;
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}
.drawerDailyReward {
  color: #ffcc5b;
  background: rgba(255, 204, 91, 0.06);
  border-bottom: 1px solid rgba(255, 204, 91, 0.15) !important;
  font-weight: 700;
}
.drawerNavItem:hover {
  background: rgba(255, 255, 255, 0.07);
}
.drawerNavItem:active {
  background: rgba(255, 255, 255, 0.12);
}
.drawerNavIcon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #c0602a;
}
