.partners {
    padding: 80px 0;
    background: var(--dark-color);
}

.partners-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80px;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.partners-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    animation: scroll 45s linear infinite;
}

.partner-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    margin: 0 25px;
    opacity: 0.8;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo[alt="Adrenalin"] {
    height: 100px;
    max-width: 200px;
}

.partner-logo[alt="Yandex"] {
    filter: hue-rotate(0deg) saturate(1) brightness(1);
    background-color: rgb(221, 0, 0);
    padding: 5px;
    border-radius: 5px;
}

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

@media (max-width: 768px) {
    .partner-logo {
        height: 40px;
        max-width: 80px;
        margin: 0 15px;
    }
    
    .partners-track {
        animation-duration: 35s;
    }
}