/* Wizard Academy scene animations */
.wz-candle {
  animation: wz-float 6s ease-in-out infinite alternate;
}

@keyframes wz-float {
  from { transform: translateY(-5px); }
  to { transform: translateY(5px); }
}

.wz-flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: wz-flicker .3s ease-in-out infinite alternate;
}

@keyframes wz-flicker {
  from { transform: scale(.85); opacity: .8; }
  to { transform: scale(1.1); opacity: 1; }
}

.wz-windows {
  animation: wz-glow 4s ease-in-out infinite alternate;
}

@keyframes wz-glow {
  from { opacity: .7; }
  to { opacity: 1; }
}

.wz-twinkle path {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: wz-twinkle 2.4s ease-in-out infinite alternate;
}

.wz-twinkle path:nth-child(2) { animation-delay: -.8s; }
.wz-twinkle path:nth-child(3) { animation-delay: -1.6s; }

@keyframes wz-twinkle {
  from { transform: scale(.6); opacity: .5; }
  to { transform: scale(1.2); opacity: 1; }
}
