/* ============================================
   voltdashjoy.cfd — ANIMATIONS.CSS
   ============================================ */

/* ---- KEYFRAMES ---- */

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  30% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-60px) scale(0.4); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25% { transform: translate(12px, -20px); opacity: 0.6; }
  50% { transform: translate(-8px, -35px); opacity: 0.4; }
  75% { transform: translate(6px, -18px); opacity: 0.5; }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.1); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes relic-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(214, 178, 94, 0.08);
  }
  50% {
    box-shadow: 0 0 40px rgba(214, 178, 94, 0.18), 0 0 80px rgba(200, 155, 60, 0.06);
  }
}

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

/* ---- UTILITY ANIMATION CLASSES ---- */

.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ---- APPLIED ANIMATIONS ---- */

.hero-relic-frame {
  animation: relic-pulse 5s ease-in-out infinite;
}

.game-shell {
  transition: box-shadow 0.4s ease;
}

.game-shell:hover {
  box-shadow:
    0 12px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(214, 178, 94, 0.12);
}

/* Feature cards stagger */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.18s; }
.feature-card:nth-child(3) { transition-delay: 0.26s; }
.feature-card:nth-child(4) { transition-delay: 0.1s; }
.feature-card:nth-child(5) { transition-delay: 0.18s; }
.feature-card:nth-child(6) { transition-delay: 0.26s; }

/* Value cards stagger */
.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.18s; }
.value-card:nth-child(3) { transition-delay: 0.26s; }
.value-card:nth-child(4) { transition-delay: 0.34s; }

/* Logo hover */
.logo:hover .logo-emblem {
  animation: drift 2s ease-in-out infinite;
}

/* Button pulse for primary */
.btn-primary {
  background-size: 200% 200%;
}

/* Scroll hint animation */
.hero-scroll-hint {
  animation: fade-in 1.5s ease 2s both;
}