/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile menu animation */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu:not(.open) {
  opacity: 0;
  pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e2026;
}
::-webkit-scrollbar-thumb {
  background: #5f6570;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e85d25;
}

/* Selection */
::selection {
  background: #e85d25;
  color: white;
}
