/* Custom styles for The Outpost */

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

/* Navigation scroll state */
nav.scrolled {
  background: rgba(250, 244, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(142, 62, 110, 0.08);
}

/* Scroll-reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    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; }
}

/* Ensure all content is visible by default (no JS required) */
.reveal {
  opacity: 1;
  transform: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf4f8;
}
::-webkit-scrollbar-thumb {
  background: #dbadc8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c47aaa;
}

/* Selection color */
::selection {
  background: #fbbf24;
  color: #4d203a;
}

/* Image hover effects */
img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Button focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 4px;
}
