/* Base reset & custom properties */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Space Grotesk', sans-serif; -webkit-font-smoothing: antialiased; }

/* Scroll reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(26, 3, 14, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(190, 24, 93, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a0310; }
::-webkit-scrollbar-thumb { background: #831443; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #be185d; }

/* Selection */
::selection { background: rgba(251, 191, 36, 0.3); color: #fbbf24; }
</style>
