@charset "UTF-8";

/* ========================================================
   KEYFRAME ANIMATIONS - JOGO DA MEMÓRIA CAUPLAS
   ======================================================== */

/* Vibração de Erro (Shake Automotivo) */
@keyframes card-shake {
  0%, 100% {
    transform: rotateY(180deg) translateX(0);
  }
  15%, 45%, 75% {
    transform: rotateY(180deg) translateX(-9px) rotateZ(-2deg);
  }
  30%, 60%, 90% {
    transform: rotateY(180deg) translateX(9px) rotateZ(2deg);
  }
}

/* Zoom e Surgimento de Modais */
@keyframes modal-zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Temporizador de 5 Segundos para o Showcase */
@keyframes timer-countdown {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* Pulso de Perigo quando resta apenas 1 chance */
@keyframes pulse-danger {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
  }
  100% {
    transform: scale(1.2);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.9);
  }
}

/* Animação do Troféu na Vitória */
@keyframes trophy-bounce {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    transform: translateY(-12px) scale(1.08) rotate(4deg);
  }
}

/* Efeito de Pulso no Botão Iniciar para Chamar Atenção no Totem */
@keyframes button-glow-pulse {
  0% {
    box-shadow: 0 8px 24px rgba(0, 100, 240, 0.4);
  }
  50% {
    box-shadow: 0 12px 32px rgba(0, 173, 238, 0.7);
  }
  100% {
    box-shadow: 0 8px 24px rgba(0, 100, 240, 0.4);
  }
}

.btn-primary-action {
  animation: button-glow-pulse 3s infinite ease-in-out;
}

/* Classe temporária de clonagem/convergência para o centro da tela */
.card-fly-center {
  position: fixed !important;
  z-index: 950 !important;
  transition: all 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.2) !important;
  pointer-events: none !important;
  box-shadow: 0 20px 45px rgba(0, 100, 240, 0.5) !important;
}

/* ========================================================
   KEYFRAMES DA SPLASH SCREEN
   ======================================================== */
@keyframes splash-icon-pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 8px 18px rgba(0, 173, 238, 0.45));
  }
  50% {
    transform: scale(1.09);
    filter: drop-shadow(0 14px 38px rgba(0, 173, 238, 0.9));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 18px rgba(0, 173, 238, 0.45));
  }
}

@keyframes splash-ring-expand {
  0% {
    width: 130px;
    height: 130px;
    opacity: 0.85;
  }
  100% {
    width: 230px;
    height: 230px;
    opacity: 0;
  }
}

@keyframes splash-loader-progress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
