/**
 * EGG PLASPAK (www.eggplaspak.com)
 * Micro-interactions, Floating Elements & Smooth Animations
 */

@keyframes floatGentle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(6, 199, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
  }
}

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

.hero-card-showcase {
  animation: floatGentle 5s ease-in-out infinite;
}

.float-line {
  animation: pulseGlow 2.5s infinite;
}

/* Subtle fade in for modals */
.fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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