/* animations.css */



/* Torch Flame Flicker */
@keyframes flicker {
  0%, 100% {
    transform: scale(1) rotate(-3deg);
    opacity: 0.95;
    background: radial-gradient(circle, #ffe066 20%, #f0c040 50%, #c9a84c 80%, transparent);
    box-shadow: 0 0 10px rgba(240, 192, 64, 0.5);
  }
  50% {
    transform: scale(1.15) rotate(4deg);
    opacity: 1;
    background: radial-gradient(circle, #fff0aa 10%, #f3c95a 45%, #d4b45d 75%, transparent);
    box-shadow: 0 0 18px rgba(240, 192, 64, 0.75);
  }
  75% {
    transform: scale(0.92) rotate(-1deg);
    opacity: 0.9;
    background: radial-gradient(circle, #ffd444 30%, #ecb833 60%, #ba993c 90%, transparent);
    box-shadow: 0 0 8px rgba(240, 192, 64, 0.4);
  }
}

.torch-flame {
  animation: flicker 0.15s infinite alternate ease-in-out;
}



/* Wax Seal Success wobble */
@keyframes wax-wobble {
  0% {
    transform: scale(0) rotate(-30deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.1) rotate(15deg);
    opacity: 1;
  }
  85% {
    transform: scale(0.95) rotate(-5deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.wax-seal-animate {
  animation: wax-wobble 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Herald toast animation */
.toast-visible {
  transform: translateX(0) !important;
  opacity: 1 !important;
}


