/**
 * Motion & Microinteractions
 * Rotissoire & Co. | French Rotisserie & Volailles de Ferme
 */

@keyframes flameFlicker {
  0%, 100% {
    transform: scaleY(1);
    opacity: 0.92;
  }
  50% {
    transform: scaleY(1.08) skewX(2deg);
    opacity: 1;
  }
}

@keyframes spitRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px hsla(var(--copper-h), var(--copper-s), var(--copper-l), 0.3);
  }
  50% {
    box-shadow: 0 0 25px hsla(var(--copper-h), var(--copper-s), var(--copper-l), 0.6);
  }
}

.anim-flame {
  transform-origin: bottom center;
  animation: flameFlicker 2.4s ease-in-out infinite;
}

.anim-pulse {
  animation: pulseGlow 3s infinite;
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

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