/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

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

  .n-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 6, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .n-links.active {
    display: flex;
    max-height: 400px;
  }

  .n-links li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .n-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .n-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .n-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .n-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .n-links.active li:nth-child(4) { transition-delay: 0.25s; }

  .n-btn {
    display: none;
  }
}