/* ==========================================================================
   Smooth Animations & Keyframes
   ========================================================================== */

/* Retro Blinking Cursor */
@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  50.1%, 100% {
    opacity: 0;
  }
}

/* Floating Ambient Orbs */
@keyframes orb-float-1 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(40px, 30px) scale(1.08);
  }
}

@keyframes orb-float-2 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(-35px, -25px) scale(0.95);
  }
}

.ambient-orb-1 {
  animation: orb-float-1 14s ease-in-out infinite;
}

.ambient-orb-2 {
  animation: orb-float-2 16s ease-in-out infinite;
}

/* Center Entrance Animation */
.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
