/* Custom styles for Smash & Dash */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #2a1318;
}
::-webkit-scrollbar-thumb {
  background: #743642;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a85f6b;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(42, 19, 24, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(116, 54, 66, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero stat cards animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fff;
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
}

/* Scroll reveal base state (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}
