@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes map-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 106, 61, 0);
  }
}

@keyframes flip-in {
  from {
    transform: rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

@keyframes xp-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-in {
  animation: slide-up 0.6s ease backwards;
}

.animate-in:nth-child(1) {
  animation-delay: 0.05s;
}
.animate-in:nth-child(2) {
  animation-delay: 0.1s;
}
.animate-in:nth-child(3) {
  animation-delay: 0.15s;
}
.animate-in:nth-child(4) {
  animation-delay: 0.2s;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}
