/* Jaayton Wells Limited – custom overrides */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050d1f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e6bff, #ef2d3c);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { filter: brightness(1.15); }

/* Selection */
::selection { background: rgba(30,107,255,0.4); color: #fff; }

/* Fade-in-up keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulseSlow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.6; }
}

/* Reveal on scroll — added by app.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Grid utility that keeps text LTR while row is reversed */
[direction="rtl"] { direction: rtl; }

/* Top marquee (announcement bar) */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track {
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 120s; }
}
