/* Simplified Modern Animations for Articles Section */

/* Essential Animations Only */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Subtle Hover Effects */
.article-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

/* Smooth Image Transitions */
.article-image {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle Badge Animations */
.category-badge {
    transition: all 0.3s ease;
}

.article-card:hover .category-badge {
    transform: translateY(-2px);
}

/* Button Hover Effects */
.action-btn, .continue-reading, .btn {
    transition: all 0.3s ease;
}

.action-btn:hover, .continue-reading:hover, .btn:hover {
    transform: translateY(-2px);
}

/* Pagination Hover */
.pagination .page-link {
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    transform: translateY(-2px);
}

/* Hero Section Animations */
.hero-badge {
    animation: slideInUp 0.8s ease-out;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats .stat-item {
    animation: fadeInUp 1s ease-out;
    animation-delay: calc(var(--animation-order) * 0.1s);
    animation-fill-mode: both;
}

.stat-item:nth-child(1) { --animation-order: 1; }
.stat-item:nth-child(3) { --animation-order: 2; }
.stat-item:nth-child(5) { --animation-order: 3; }

/* Article Cards Staggered Animation */
.article-card {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: calc(var(--animation-order) * 0.1s);
    animation-fill-mode: both;
}

/* Floating Shapes - Simplified */
.floating-shapes {
    opacity: 0.3;
}

.shape {
    animation: float 8s ease-in-out infinite;
}

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

/* Empty State Animation */
.empty-state {
    animation: fadeInUp 1s ease-out;
}

.empty-state .icon-circle {
    animation: scaleIn 1s ease-out 0.3s both;
}

/* Responsive Animations */
@media (max-width: 768px) {
    .hero-title, .hero-subtitle, .hero-stats .stat-item {
        animation: none;
    }
    
    .article-card {
        animation: fadeInUp 0.6s ease-out;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


