/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d0714; }
::-webkit-scrollbar-thumb { background: #6b21a8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7e22ce; }

/* Selection */
::selection { background: rgba(168, 85, 247, 0.4); color: #f3e8ff; }

/* Reveal animations - progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav active state */
.nav-scrolled {
  background: rgba(13, 7, 20, 0.92) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gold shimmer on CTA */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Floating animation for decorative orbs */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

/* Pulse for decorative elements */
@keyframes soft-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Image hover container */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Custom focus styles */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Mobile menu transitions */
#mobileMenu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Subtle gold line accent */
.gold-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, transparent);
  border-radius: 1px;
}
