/* Tombol melayang gambar -> 2027/jump.php (Animal Jump) */
.float-btn-stack {
  position: fixed;
  right: 32px;
  bottom: 38px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.float-game {
  display: inline-flex;
  text-decoration: none;
  transition: transform .2s ease;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.float-game:hover { transform: translateY(-3px) scale(1.03); }
.float-game:focus-visible { outline: 3px solid #4B28A0; outline-offset: 4px; }

.float-game img {
  display: block;
  width: 190px;
  height: auto;
  animation: fgWiggle 4.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes fgWiggle {
  0%, 82%, 100% { transform: rotate(0) scale(1); }
  85% { transform: rotate(-6deg) scale(1.04); }
  88% { transform: rotate(5deg)  scale(1.04); }
  91% { transform: rotate(-4deg) scale(1.02); }
  94% { transform: rotate(3deg)  scale(1.02); }
  97% { transform: rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .float-game img { animation: none; }
}

@media (max-width: 600px) {
  .float-btn-stack { right: 14px; bottom: 24px; }
  .float-game img { width: 140px; }
}