.footer {
    background-color: #222222;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.logo-img {
    width: 120px;
    height: 120px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo-img:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px; /* расстояние между иконками — можешь изменить */
}

/* Контейнер ссылки */
.social-link {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

/* Сама картинка фиксированного размера */
.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* не даст картинке искажаться */
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Блок спонсоров - в строку на больших экранах */
.sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.sponsor-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s, opacity 0.3s;
}

.sponsor-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.sponsor-img {
    height: 80px;
    width: auto;
    max-width: 240px;
    min-height: 50px;
    object-fit: contain;
}

/* Кнопка возврата наверх */
.back-to-top {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: transparent;
    transform: translateY(-3px);
}

.arrow-up {
    width: 66px;
    height: 66px;
}

.support {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    text-align: center;
    color: #fff;
}

.support-link {
    color: #FFAE00 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
}

/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Спонсоры в столбик на мобильных */
    .sponsors {
        flex-direction: column;
        gap: 1rem;
    }

    .sponsor-img {
        height: 25px;
        max-width: 100px;
    }

    .back-to-top {
        width: 80px;
        height: 80px;
    }

    .arrow-up {
        width: 66px;
        height: 66px;
    }
}