/* Custom styles for Checkers LLM Arena */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

::-webkit-scrollbar-track {
  background: #374151;
}

::-webkit-scrollbar-thumb {
  background: #6b7280;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Hover effects */
.hover\:bg-gray-750:hover {
  background-color: #2d3748;
}

/* Gradient backgrounds */
.bg-gradient-checkers {
  background: linear-gradient(45deg, #dc2626 25%, transparent 25%), 
              linear-gradient(-45deg, #dc2626 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #dc2626 75%), 
              linear-gradient(-45deg, transparent 75%, #dc2626 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #1f2937;
  opacity: 0.1;
}

/* Board piece glow effects */
.piece-glow {
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.piece-glow-black {
  box-shadow: 0 0 10px rgba(75, 85, 99, 0.5);
}

/* Card hover animations */
.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Typography improvements */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Loading states */
.thinking-animation {
  animation: thinking 1.5s ease-in-out infinite;
}

@keyframes thinking {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}