/* ==========================================================================
   Solana Token Creator — Animations
   ========================================================================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.25);
  }
  50% {
    box-shadow: 0 0 50px rgba(153, 69, 255, 0.4);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(60px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }
  75% {
    transform: translate(-60px, -20px) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes checkmark {
  0% {
    stroke-dashoffset: 24;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Utility classes */
.animate-fade {
  animation: fadeIn 0.6s var(--ease) both;
}

.animate-slide-up {
  animation: slideUp 0.6s var(--ease) both;
}

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

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

.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Marquee background blobs (decorative) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: var(--solana-violet);
  top: -120px;
  left: -120px;
  animation: drift 14s ease-in-out infinite;
}

.blob-2 {
  width: 520px;
  height: 520px;
  background: var(--solana-green);
  top: 30%;
  right: -150px;
  animation: drift 18s ease-in-out infinite reverse;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: var(--solana-cyan);
  bottom: -120px;
  left: 30%;
  animation: drift 20s ease-in-out infinite;
}