.modern-categories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.modern-category-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.modern-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    border: 1px solid #fab9a1;
}

.category-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: #ff833f;
}

.category-count {
    color: #6c757d;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.empty-subtitle {
    color: #adb5bd;
}

.pagination-modern {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination-modern .pagination {
    background: white;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pagination-modern .page-link {
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.pagination-modern .page-link:hover,
.pagination-modern .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-category-card {
        padding: 20px;
    }
    
    .search-input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .modern-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-filter-section {
        padding: 30px 0;
    }
    
    .modern-categories-section {
        padding: 40px 0;
    }
    
    .categories-grid {
        gap: 15px;
    }
    
    .modern-category-card {
        padding: 15px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-icon img {
        width: 40px;
        height: 40px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}
