/* Animations pour les gros lots */
@keyframes prize-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.3);
  }
}

@keyframes prize-glow-platinum {
  0%, 100% {
    box-shadow: 0 0 20px rgba(229, 228, 226, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(229, 228, 226, 0.6), 0 0 40px rgba(229, 228, 226, 0.3);
  }
}

@keyframes counter-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classes pour les animations */
.prize-card-gold {
  animation: prize-glow 3s ease-in-out infinite;
}

.prize-card-platinum {
  animation: prize-glow-platinum 3s ease-in-out infinite;
}

.counter-update {
  animation: counter-pulse 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Styles pour la section des gros lots */
.prize-section {
  position: relative;
  overflow: hidden;
}

.prize-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(212, 175, 55, 0.1) 0%, 
    transparent 50%, 
    rgba(229, 228, 226, 0.1) 100%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

/* Responsive pour les images des prix */
.prize-image {
  transition: transform 0.3s ease;
  max-height: 500px !important;
  height: 256px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.prize-image:hover {
  transform: scale(1.02);
}

/* Conteneur des images pour uniformiser */
.prize-image-container {
  height: 256px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
  .prize-image {
    height: 200px !important;
    max-height: 400px !important;
  }
  
  .prize-image-container {
    height: 200px;
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .prize-image {
    height: 160px !important;
    max-height: 300px !important;
  }
  
  .prize-image-container {
    height: 160px;
    max-height: 300px;
  }
}

/* Animation pour les compteurs */
.participant-counter {
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.participant-counter.updating {
  color: #10b981;
  font-weight: bold;
}