

@layer base {
  html {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
  }
  
  h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  }
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   Interactive Button Glow & Bottom-Side White Glow (Mouse Hover Effects)
   ========================================================================== */

/* Universal button smooth transition */
button, a.btn, .glow-interactive {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom White Glow for Header & Dark Surfaces */
.btn-bottom-glow-white {
  position: relative;
  transition: all 0.25s ease-out;
}

.btn-bottom-glow-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(255, 255, 255, 0.55), 
              0 4px 12px -2px rgba(255, 255, 255, 0.35);
}

.btn-bottom-glow-white:active {
  transform: translateY(0);
}

/* Bottom Underglow for Green & Emerald Action Buttons */
.btn-bottom-glow-green {
  position: relative;
  transition: all 0.25s ease-out;
}

.btn-bottom-glow-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(0, 168, 89, 0.45),
              0 6px 16px -2px rgba(255, 255, 255, 0.5);
}

.btn-bottom-glow-green:active {
  transform: translateY(0);
}

/* Bottom Underglow for Indigo & Purple Buttons */
.btn-bottom-glow-indigo {
  position: relative;
  transition: all 0.25s ease-out;
}

.btn-bottom-glow-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(46, 30, 150, 0.4),
              0 6px 16px -2px rgba(255, 255, 255, 0.5);
}

.btn-bottom-glow-indigo:active {
  transform: translateY(0);
}

/* Bottom Radiant White Light Bar on Hover */
.has-bottom-light {
  position: relative;
  overflow: visible;
}

.has-bottom-light::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 15%;
  right: 15%;
  height: 6px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 80%);
  filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  border-radius: 9999px;
}

.has-bottom-light:hover::after {
  opacity: 1;
  transform: translateY(2px) scaleX(1.15);
}

/* General Light-themed Card & Button Hover Glow */
.card-hover-glow {
  transition: all 0.25s ease;
}

.card-hover-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(46, 30, 150, 0.12),
              0 4px 12px -2px rgba(0, 168, 89, 0.1),
              0 8px 20px -3px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Round Loader Spinner & Orbiting Ring Keyframes
   ========================================================================== */

@keyframes rio-spin-clockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rio-spin-counter {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes rio-pulse-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(0, 168, 89, 0.25), 0 0 50px rgba(46, 30, 150, 0.15);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(0, 168, 89, 0.45), 0 0 70px rgba(46, 30, 150, 0.3);
  }
}

@keyframes rio-pulse-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes rio-ripple-expand {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.animate-rio-spin {
  animation: rio-spin-clockwise 3.5s linear infinite;
}

.animate-rio-spin-slow {
  animation: rio-spin-clockwise 8s linear infinite;
}

.animate-rio-spin-reverse {
  animation: rio-spin-counter 5s linear infinite;
}

.animate-rio-spin-fast {
  animation: rio-spin-clockwise 1.8s linear infinite;
}

.animate-rio-pulse {
  animation: rio-pulse-soft 2.5s ease-in-out infinite;
}

.animate-rio-glow {
  animation: rio-pulse-glow 2s ease-in-out infinite;
}

.animate-rio-ripple {
  animation: rio-ripple-expand 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes rio-loading-bar {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(110%);
  }
}



