/* Custom Anime Battle Cards styles */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes card-glint {
  0% { transform: translateX(-100%) rotate(-45deg); }
  100% { transform: translateX(100%) rotate(-45deg); }
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.font-anime {
  font-family: "Impact", "Arial Black", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 0, 0.4);
  letter-spacing: 1px;
}

.perspective-500 {
  perspective: 500px;
}

.rotate-y-5 {
  transform: rotateY(5deg);
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-card-glint {
  animation: card-glint 3s infinite;
}

.animate-float {
  animation: floatCard 3s ease-in-out infinite;
}

/* Card styling */
input[type=range] {
  -webkit-appearance: none;
  height: 8px;
  border-radius: 5px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(138, 75, 255, 0.5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(138, 75, 255, 0.8);
}