/* Custom styles for College Football Picks */

/* Retro Grid Animation */
@keyframes grid {
  0% { transform: translateY(-50%) rotateX(var(--grid-angle)) }
  100% { transform: translateY(-75%) rotateX(var(--grid-angle)) }
}

.animate-grid {
  animation: grid 15s linear infinite;
}

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

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Button focus styles */
.btn-focus:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Team selection styles */
.team-selected {
  background-color: #dbeafe;
  border-color: #3b82f6;
}

/* Responsive game cards */
.game-card {
  min-height: 200px;
}

@media (max-width: 640px) {
  .game-card {
    min-height: 180px;
  }
}

/* Status indicators */
.status-correct {
  color: #10b981;
}

.status-incorrect {
  color: #ef4444;
}

.status-pending {
  color: #f59e0b;
}

/* Leaderboard ranks */
.rank-1 { color: #fbbf24; }
.rank-2 { color: #9ca3af; }
.rank-3 { color: #d97706; }

/* Loading spinner */
.spinner {
  animation: spin 1s linear infinite;
}

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

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animate-grid,
  .card-hover,
  .spinner {
    animation: none;
  }
  
  .card-hover:hover {
    transform: none;
  }
}