/* styles/base/mobile_nav.css — mobile hamburger menu toggle and navigation drawer */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.menu-toggle:hover {
  border-color: var(--border-focus);
  color: #fff;
}

.menu-toggle svg line {
  transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1), opacity 0.15s ease;
  transform-origin: 12px 12px;
}

.menu-toggle[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(6.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-6.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(11, 13, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--hot);
}

.mobile-nav-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.mobile-nav-actions .nav-btn {
  flex: 1;
  justify-content: center;
  padding: 10px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}
