/* Custom styles and animations */

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

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

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Scroll reveal — progressive enhancement, hidden by default for JS-gated use */
.scroll-reveal {
  /* Default visible state for no-JS users */
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS is enabled, these get animated */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1d23;
}
::-webkit-scrollbar-thumb {
  background: #4a4f58;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff6b35;
}

/* Selection color */
::selection {
  background: #ff6b35;
  color: #fff;
}
</style>
