/* ==========================================================================
   SHANSONS PRECIX — ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    border-color: rgba(0, 242, 254, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 245, 160, 0.45);
    border-color: rgba(0, 245, 160, 0.6);
  }
}

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

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}

/* Scroll Reveal Utility Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  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.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Interactive Glowing Ring */
.glow-ring {
  position: relative;
}

.glow-ring::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--grad-cyan-teal);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.glow-ring:hover::after {
  opacity: 0.6;
}

/* Toast Notification Animation */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
  max-width: 420px;
}

.toast {
  background: rgba(10, 20, 44, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  color: var(--neon-teal);
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
  .toast {
    transform: translateY(100%);
    width: 100%;
  }
  .toast.show {
    transform: translateY(0);
  }
}
