/* Keyframe Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

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

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

@keyframes bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

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

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, 30px) scale(1.08);
  }
  66% {
    transform: translate(20px, -20px) scale(0.97);
  }
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow:
      0 0 14px rgba(147, 51, 234, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 28px rgba(147, 51, 234, 0.55),
      0 0 0 1px rgba(196, 132, 252, 0.35);
  }
}

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

@keyframes particleDrift {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translateY(-18px) translateX(10px) scale(1.1);
    opacity: 1;
  }
  66% {
    transform: translateY(-8px) translateX(-12px) scale(0.9);
    opacity: 0.7;
  }
}

/* Product card staggered entrance */
.product-card {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.product-card:nth-child(1) {
  animation-delay: 0.05s;
}
.product-card:nth-child(2) {
  animation-delay: 0.1s;
}
.product-card:nth-child(3) {
  animation-delay: 0.15s;
}
.product-card:nth-child(4) {
  animation-delay: 0.2s;
}
.product-card:nth-child(5) {
  animation-delay: 0.25s;
}
.product-card:nth-child(6) {
  animation-delay: 0.3s;
}
.product-card:nth-child(7) {
  animation-delay: 0.35s;
}
.product-card:nth-child(8) {
  animation-delay: 0.4s;
}
.product-card:nth-child(9) {
  animation-delay: 0.45s;
}
.product-card:nth-child(10) {
  animation-delay: 0.5s;
}
.product-card:nth-child(11) {
  animation-delay: 0.55s;
}
.product-card:nth-child(12) {
  animation-delay: 0.6s;
}
.product-card:nth-child(13) {
  animation-delay: 0.65s;
}
.product-card:nth-child(14) {
  animation-delay: 0.7s;
}
.product-card:nth-child(15) {
  animation-delay: 0.75s;
}

/* Cart bump animation */
.cart-count.bump {
  animation: bump 0.3s ease;
}
