/* Leagues Banner */
.leagues-banner {
    background: white;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.leagues-banner::before,
.leagues-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.leagues-banner::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.leagues-banner::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.leagues-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: scrollLeagues 40s linear infinite;
    padding: 0 2rem;
    margin: 0.5rem 0;
}

.leagues-container:hover {
    animation-play-state: paused;
}

.league-logo {
    width: 45px;
    height: 45px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(11, 36, 109, 0.03);
    filter: grayscale(0.6) opacity(0.7);
    object-fit: contain;
}

.league-logo:hover {
    transform: scale(1.1);
    background: rgba(11, 36, 109, 0.06);
    filter: grayscale(0) opacity(1);
}

@keyframes scrollLeagues {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* Double the logos for smooth infinite scroll */
.leagues-group {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-shrink: 0;
}
