/* ==========================================================================
   DECOSIUM - Animations & Micro-Interactions
   ========================================================================== */

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(175, 131, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(175, 131, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(175, 131, 69, 0);
  }
}

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

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

/* Applied Animations */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.hero-trust-card {
  animation: floatBadge 6s ease-in-out infinite;
}

.btn-primary-cta:focus, .btn-search-submit:focus {
  animation: pulseGlow 1.5s infinite;
}

/* Category Hover Lift */
.category-card {
  will-change: transform;
}

/* Smooth Card Hover Transitions */
.pro-card, .blog-card, .promoter-card {
  will-change: transform, box-shadow;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #f4efe8;
}

::-webkit-scrollbar-thumb {
  background: #c89c5b;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #af8345;
}
