.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: white;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

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

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(10px);
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(100vw);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(27, 79, 216, 0.2);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-close:focus {
  outline: 3px solid var(--gano-gold);
  outline-offset: 2px;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 0;
}

.mobile-menu-items a {
  display: block;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0;
  animation: slideInUp 0.4s ease-out forwards;
  border-bottom: 1px solid rgba(27, 79, 216, 0.1);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-menu.open .mobile-menu-items a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open .mobile-menu-items a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-menu-items a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-menu-items a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.open .mobile-menu-items a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open .mobile-menu-items a:nth-child(6) { animation-delay: 0.3s; }

.mobile-menu-items a:hover,
.mobile-menu-items a:focus {
  background: rgba(255, 107, 53, 0.1);
  color: white;
  outline: none;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-menu-footer {
  position: sticky;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.95));
  border-top: 1px solid rgba(27, 79, 216, 0.2);
}

.mobile-menu-footer .btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: var(--gano-orange);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu-footer .btn:hover {
  background: #E55A24;
  transform: translateY(-2px);
}

.mobile-menu-footer .btn:focus {
  outline: 3px solid var(--gano-gold);
  outline-offset: 2px;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.visible {
  display: block;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-toggle span,
  .mobile-menu-items a,
  .mobile-menu-footer .btn {
    animation: none;
    transition: none;
  }
}
