.categories-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.categories-section .categories-title {
    text-align: left;
    font-size: 36px;
    font-weight: 600;
    color: #333;
}
.categories-section .categories-desc{
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #666;
}
.categories-section .categories-container {
    margin: 0 auto;
}

.categories-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-items: center;
}

.categories-section .category-item {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.categories-section .category-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.categories-section .category-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.categories-section .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.categories-section .category-item:hover .category-image {
    transform: scale(1.1);
}

.categories-section .category-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.categories-section .category-item:hover .category-name {
    color: #141543;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-section .categories-grid {
        gap: 20px;
    }
    
    .categories-section .category-name {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .categories-section {
        padding: 50px 0;
    }
    
    .categories-section .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 40px 0;
    }
    
    .categories-section .categories-title {
        font-size: 28px;
        text-align: center;
    }
    .categories-section .categories-desc {
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .categories-section .categories-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .categories-section .category-name {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .categories-section {
        padding: 30px 0;
    }
    
    .categories-section .categories-title {
        font-size: 24px;
        text-align: center;
    }
    .categories-section .categories-desc {
        font-size: 12px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .categories-section .category-name {
        font-size: 18px;
    }
}