/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
  }
}

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

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

@keyframes neonGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5),
                 0 0 20px rgba(0, 200, 255, 0.3),
                 0 0 30px rgba(0, 200, 255, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.8),
                 0 0 30px rgba(0, 200, 255, 0.5),
                 0 0 40px rgba(0, 200, 255, 0.3);
  }
}

/* Scroll reveal classes */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.fade-up.revealed {
  animation-name: fadeInUp;
}

.scroll-reveal.fade-left.revealed {
  animation-name: fadeInLeft;
}

.scroll-reveal.fade-right.revealed {
  animation-name: fadeInRight;
}

.scroll-reveal.scale-in.revealed {
  animation-name: scaleIn;
}

/* Stagger animation delays */
.scroll-reveal.delay-1 { animation-delay: 0.1s; }
.scroll-reveal.delay-2 { animation-delay: 0.2s; }
.scroll-reveal.delay-3 { animation-delay: 0.3s; }
.scroll-reveal.delay-4 { animation-delay: 0.4s; }
.scroll-reveal.delay-5 { animation-delay: 0.5s; }
.scroll-reveal.delay-6 { animation-delay: 0.6s; }

/* Hover effects */
.glow-on-hover {
  transition: all var(--transition-normal);
}

.glow-on-hover:hover {
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4),
              0 0 40px rgba(0, 200, 255, 0.2);
  transform: translateY(-2px);
}

/* Glass card hover effect */
.glass-card {
  background: var(--bg-glass-light);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(8, 24, 40, 0.60);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-strong);
}

/* Neon text effect */
.neon-text {
  animation: neonGlow 2s ease-in-out infinite;
}

/* Loading shimmer */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 200, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Floating animation */
.float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse dot animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.pulse {
  animation: pulse 2s infinite;
}
