/* ==========================================================================
   ANIMATIONS & KEYFRAMES - LA CEAUNU' CRĂPAT 2027
   ========================================================================== */

@keyframes emberFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-50vh) translateX(25px) scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(-20px) scale(0.6);
    opacity: 0;
  }
}

@keyframes steamRise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  30% {
    opacity: 0.4;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-60px) scale(1.6);
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ember Canvas */
.ember-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animate-float {
  animation: floatBadge 3s infinite ease-in-out;
}
