/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #04060a;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism card */
.glass-card {
  background: rgba(10, 14, 26, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.05);
}

/* Glowing ambient orbs */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  filter: blur(140px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

/* Custom Animated Border */
.neon-border-wrap {
  position: relative;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.6), rgba(139, 92, 246, 0.1));
  background-size: 200% 100%;
  animation: gradient-flow 4s linear infinite;
  border-radius: 1.25rem;
  padding: 1.5px;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.neon-border-inner {
  background: #06090f;
  border-radius: calc(1.25rem - 1.5px);
}

/* Range Input Premium Styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  cursor: pointer;
  transition: transform 0.1s, background-color 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #34d399;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  cursor: pointer;
  transition: transform 0.1s, background-color 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #34d399;
}

/* Infinite rolling marquee */
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.animate-marquee-left {
  animation: marquee-left 25s linear infinite;
}

.marquee-container:hover .animate-marquee-left {
  animation-play-state: paused;
}

/* Shimmer Scanning effect */
@keyframes scanner-shimmer {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.scanner-line {
  animation: scanner-shimmer 2s ease-in-out infinite;
}
