﻿/* GuessTheIMP - Fast & Snappy Micro-Animations */

@keyframes pulseGlowRed {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 42, 85, 0.3);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 42, 85, 0.6);
  }
}

@keyframes pulseGlowCyan {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.5);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.anim-pulse-imp {
  animation: pulseGlowRed 1.8s infinite ease-in-out;
}

.anim-pulse-cyan {
  animation: pulseGlowCyan 1.8s infinite ease-in-out;
}

.anim-pop {
  animation: popIn 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.anim-shake {
  animation: shakeX 0.25s ease-in-out;
}

.anim-fade-in {
  animation: fadeInUp 0.22s ease forwards;
}

.anim-ejecting {
  animation: amongUsEject 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.anim-timer-urgent {
  animation: timerPulse 0.6s infinite ease-in-out;
}
