/* ==========================================================================
   DJ Nakul Hans - Keyframe Animations & 21st.dev Motion System
   ========================================================================== */

/* Orb floating animation */
@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-30px, 40px) scale(1.1);
    opacity: 0.85;
  }
  100% {
    transform: translate(20px, -20px) scale(0.95);
    opacity: 0.6;
  }
}

/* Pulsing live dot */
@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 42, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 68, 0);
  }
}

/* Continuous Marquee Scroll */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Vinyl rotation animation */
@keyframes rotateVinyl {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Toast Slide In */
@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 21st.dev Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Glowing neon hover border */
.glow-on-hover {
  position: relative;
}

.glow-on-hover::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue), var(--accent-cyan));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-fast);
  filter: blur(8px);
}

.glow-on-hover:hover::after {
  opacity: 0.8;
}
