/* ===================================
   Portal Internal HBM v2.0 - Animations
   =================================== */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

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

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-pulse { animation: pulse 2s infinite ease-in-out; }
.animate-fade-in { animation: fadeIn 0.8s forwards ease-out; }
.animate-float { animation: float 6s infinite ease-in-out; }

/* Grid Staggering (using JS or manual nth-child) */
.stagger-load > * {
    opacity: 0;
    animation: fadeIn 0.8s forwards ease-out;
}

.stagger-load > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-load > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-load > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-load > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-load > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-load > *:nth-child(6) { animation-delay: 0.6s; }
