/* Widget APIs Défilant - Design épuré */
.api-scroll-widget {
    background: #fff;
    border-radius: 8px;
    padding: 30px 0;
    margin: 10px auto;
    overflow: hidden;
    position: relative;
    max-width: 1550px;
    width: 100%;
}

.api-scroll-widget::before,
.api-scroll-widget::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.api-scroll-widget::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.api-scroll-widget::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #fff 100%);
}

.api-scroll-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

.api-scroll-header h5 {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.api-scroll-track {
    display: flex;
    animation: scrollApis 60s linear infinite;
    width: max-content;
    align-items: center;
}

.api-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollApis {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

a.api-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    margin: 0 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
    text-decoration: none;
}

a.api-scroll-item:hover {
    transform: scale(1.1);
}

.api-scroll-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.api-scroll-item .api-name {
    color: #555;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

a.api-scroll-item:hover .api-name {
    color: #FF6B35;
}

/* Responsive */
@media (max-width: 768px) {
    .api-scroll-item {
        padding: 10px 25px;
        min-width: 100px;
    }
    
    .api-scroll-item img {
        width: 45px;
        height: 45px;
    }
    
    .api-scroll-item .api-name {
        font-size: 0.65rem;
    }
}
