/* Custom styles for The Dragon's Den */

html {
  scroll-behavior: smooth;
}

/* Reveal-on-scroll animations (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf6eb;
}
::-webkit-scrollbar-thumb {
  background: #e04f28;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c93a1a;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e04f28;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: #f9c4b2;
  color: #1a2744;
}
