.footer {
    width: 100%;
    background: linear-gradient(160deg, #4e4e4e 0%, #353535 60%, #202020 100%);
    color: #fff;
    padding: 2rem 1.2rem 1.4rem;
    display: flex;
    justify-content: center;
}

.footer-columns {
    width: min(1180px, 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    flex: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: flex-start;
    gap: 1rem;
    min-width: 210px;
}

.footer-col .footer-title {
    font-weight: 900;
    letter-spacing: -1px;
    color: #ff8a3d;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding-left: 2px;
}

.footer-col ul li + li {
    margin-top: 0.5rem;
}

.footer-col ul li a {
    text-decoration: none;
}

.footer-col ul li a i {
    color: gray;
    transition-duration: 0.2s;
}

.footer-col ul li a span {
    color: rgb(167, 166, 166);
    transition-duration: 0.2s;
}

.footer-col ul li a:hover i {
    color: #ff6b35;
}

.footer-col ul li a:hover span {
    color: #fff;
}

.footer-col.sponsors {
    flex: 0 1 420px;
}

.footer-logo {
    max-width: 250px;
    max-height: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 24px rgba(27, 27, 27, 0.5));
}

.partners-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 12px;
}

.partner-logo {
    width: 100%;
    height: 64px;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.partner-link {
    display: block;
}

.partner-link:hover .partner-logo {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.partners-empty {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-author {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #222222;
    color: white;
    font-size: 12px;
}

.footer-author a,
.footer-author i {
    color: #ff8a3d;
}

@media (max-width: 900px) {
    .footer {
        padding: 1.6rem 1rem 1.2rem;
    }

    .footer-columns {
        gap: 1.4rem;
    }

    .footer-row {
        width: 100%;
        gap: 1.4rem;
    }

    .footer-col {
        min-width: 0;
        flex: 1 1 240px;
    }

    .footer-col.sponsors {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 1.4rem 0.9rem 1rem;
    }

    .footer-row {
        flex-direction: column;
        gap: 1.2rem;
    }

    .footer-col {
        width: 100%;
    }

    .footer-logo {
        max-width: 190px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .partner-logo {
        height: 58px;
        padding: 0;
    }
}
