/* ===== Mobile Menu (3-dots) ===== */
.menu-btn{
  display:none;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  color:#ffffff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.menu-btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 18px rgba(0,0,0,.18); }
.menu-btn:focus{ outline:none; box-shadow: 0 0 0 4px rgba(255,198,36,.25); }
.menu-btn .dots{ font-size:22px; line-height:1; font-weight:900; }

/* When header switches to light (scrolled), invert */
.site-header.scrolled .menu-btn{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  color:#2d2d2d;
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

@media (max-width:768px){
  .menu-btn{ display:inline-flex; }
}

/* Backdrop + menu panel */
.menu-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.36);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:998;
}
.menu-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

.mobile-menu{
  position:fixed;
  top:76px;
  right:16px;
  width:min(300px, calc(100vw - 32px));
  background: rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  padding:8px;
  transform: translateY(-10px);
  opacity:0;
  pointer-events:none;
  transition: transform .2s ease, opacity .2s ease;
  z-index:999;
  backdrop-filter: blur(10px);
}
.mobile-menu.open{
  transform: translateY(0);
  opacity:1;
  pointer-events:auto;
}

.mobile-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius:10px;
  font-weight:700;
  color:#2d2d2d;
  text-decoration:none;
}
.mobile-menu a:hover{
  background: rgba(255,198,36,.18);
}
.mobile-menu a .hint{
  font-size:12px;
  opacity:.7;
  font-weight:600;
}
