:root {
    --marquee-speed: 15s;
    --marquee-gap: 30px;
    --text-color: #444;
}

.contributor-list {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    
}

.marquee {
    position: relative;
    overflow: hidden;
}

.marquee-list {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
    white-space: nowrap;
    display: inline-block;
    animation: marquee var(--marquee-speed) linear infinite;
}

.marquee-item {
    display: inline-block;
    margin-right: var(--marquee-gap);
    font-family: Arial, sans-serif;
    color: var(--text-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee:hover .marquee-list {
    animation-play-state: paused;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    z-index: 1;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

@media (max-width: 600px) {
    .contributor-list {
        max-width: 100%;
        padding: 0 10px;
    }
    .marquee-list {
        font-size: 0.9rem;
    }
}