/* ==============================================================================
   KRASMC.TR - ANIMATIONS & EFFECTS STYLESHEET
   ============================================================================== */

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

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 30, 66, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 30, 66, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 30, 66, 0);
  }
}

@keyframes glow-border {
  0%, 100% {
    border-color: rgba(255, 30, 66, 0.4);
    box-shadow: 0 0 15px rgba(255, 30, 66, 0.2);
  }
  50% {
    border-color: rgba(255, 30, 66, 0.9);
    box-shadow: 0 0 30px rgba(255, 30, 66, 0.5);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes badge-sparkle {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8));
  }
}

/* Utility Animation Classes */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-glow {
  animation: glow-border 2.5s infinite;
}

.animate-sparkle {
  animation: badge-sparkle 2s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.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;
}
