/* Premium Custom Scrollbar */

/* For Webkit browsers (Chrome, Safari, Opera) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #7ed321, #7ed321, #9c27b0, #7ed321, #7ed321);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #7ed321, #7ed321, #7ed321, #9c27b0, #7ed321);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Scrollbar corner */
::-webkit-scrollbar-corner {
  background: transparent;
}

/* Add glow effect on scroll */
body::-webkit-scrollbar-thumb {
  box-shadow: 
    inset 0 0 6px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(126, 211, 33, 0.6);
}

body::-webkit-scrollbar-thumb:hover {
  box-shadow: 
    inset 0 0 8px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(126, 211, 33, 0.9);
}

/* Animated gradient effect */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #7ed321, #7ed321, #9c27b0, #7ed321, #7ed321, #7ed321);
  background-size: 300% 300%;
  animation: gradientShift 5s ease infinite;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #7ed321 rgba(0, 0, 0, 0.05);
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
} 