/* ========================================
   合作伙伴展示区域
   ======================================== */

.sponsors-section {
    padding: 60px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.sponsors-carousel-wrapper {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.sponsors-carousel {
    display: flex;
    gap: 40px;
    animation: scroll-sponsors 30s linear infinite;
    will-change: transform;
}

.sponsors-carousel:hover {
    animation-play-state: paused;
}

.sponsor-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    text-decoration: none;
    color: inherit;
}

.sponsor-item:hover {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
}

.sponsor-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

.sponsors-loading {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
}

@keyframes scroll-sponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sponsors-section {
        padding: 40px 0;
    }
    
    .sponsor-item {
        min-width: 140px;
        padding: 15px;
    }
    
    .sponsor-logo {
        width: 100px;
        height: 60px;
    }
    
    .sponsor-name {
        font-size: 12px;
    }
}

