/* ClientStack Solutions Pvt Ltd - Custom Styles & Accessibility */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Cabinet+Grotesk:wght@700;800;900&display=swap');

:root {
  --color-primary: #0a2540;
  --color-accent-gold: #d97706;
  --color-accent-amber: #f59e0b;
  --color-brand-indigo: #6366f1;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* Skeleton Loading Animation */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-box {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.6) 25%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 41, 59, 0.6) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Accessible Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

/* Ticker Animation */
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.animate-ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}

/* ==================== REDUCED MOTION SUPPORT (WCAG 2.2 AA) ==================== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-ticker {
    animation: none !important;
    transform: none !important;
  }
  .skeleton-box {
    animation: none !important;
    background: #1e293b !important;
  }
}
