/* Scroll-reveal base: content is always visible (progressive enhancement) */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1c1c20;
}
::-webkit-scrollbar-thumb {
  background: #5a5a62;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff4b30;
}

/* Nav background on scroll */
.nav-scrolled {
  background: rgba(14, 14, 17, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 75, 48, 0.1);
}

/* Selection color */
::selection {
  background: #ff4b30;
  color: #1c1c20;
}
