/* Header and Footer*/
/* Premium calm black */
/* Premium hamburger */
.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
}
.nav-toggle:hover { background: rgba(255,255,255,0.10); }

.nav-toggle-icon {
  width: 18px; height: 12px; position: relative; display: inline-block;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after,
.nav-toggle-icon span {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 999px;
  background: rgba(255,255,255,0.92);
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon span     { top: 5px; }
.nav-toggle-icon::after  { bottom: 0; }

/* Fullscreen overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.mobile-overlay.show { display: block; }

.mobile-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-overlay-panel {
  position: absolute;
  inset: 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transform: translateY(-10px);
  opacity: 0;
  animation: overlayIn .18s ease forwards;
}

@keyframes overlayIn {
  to { transform: translateY(0); opacity: 1; }
}

.mobile-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mobile-overlay-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
}
.mobile-overlay-close:hover { background: rgba(255,255,255,0.10); }

.mobile-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 550;
  font-size: 0.85rem;
}

.mobile-link:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.mobile-link.primary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.18);
}

.mobile-link.danger {
  background: rgba(220,53,69,0.12);
  border-color: rgba(220,53,69,0.35);
  color: rgba(255,255,255,0.92);
}

.mobile-divider {
  border-color: rgba(255,255,255,0.10);
  margin: 8px 0;
}

/* Prevent scrolling when open */
body.menu-open { overflow: hidden; }

