/* =============================================================================
   mobile-menu.css — Burger menu and mobile navigation
   ============================================================================= */

/* =============================================================================
   MENU TOGGLE (BURGER)
   ============================================================================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  cursor: pointer;
  z-index: 101;
  transition: all 0.3s var(--ease-out);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Show burger on mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
}

/* =============================================================================
   MOBILE MENU OVERLAY
   ============================================================================= */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 20, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.mobile-menu-link {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-2);
  padding: 16px 24px;
  width: 100%;
  text-align: center;
  border-radius: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

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

.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  margin-top: 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(255, 51, 204, 0.4);
}

/* Hide regular nav on mobile */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
}
