/* Rock Paper Scissors Custom Styles */

/* Game container styling */
.choice-display {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.choice-display.winner {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  transform: scale(1.05);
}

.choice-display.loser {
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  opacity: 0.8;
}

/* Choice buttons */
.choice-btn {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

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

.bounce {
  animation: bounce 0.5s ease-in-out;
}

/* Result text styling */
.win-text {
  color: #10b981;
  font-weight: bold;
}

.lose-text {
  color: #ef4444;
  font-weight: bold;
}

.draw-text {
  color: #f59e0b;
  font-weight: bold;
}

/* Media queries for responsiveness */
@media (max-width: 640px) {
  .choice-btn {
    width: 80px;
    height: 80px;
  }
}
