/* ==========================================================================
   Vebende 2027 - Animasyonlar (animations.css)
   Performans dostu, GPU hızlandırmalı mikro animasyonlar.
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(10, 102, 194, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(10, 102, 194, 0);
  }
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.vb-live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--vb-brand-accent);
  border-radius: var(--vb-border-radius-pill);
  animation: liveDotPulse 2s infinite ease-in-out;
}

/* Erişilebilirlik: Azaltılmış Hareket Tercihi */
@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;
  }
}
