.site-footer {
    background: #fff;
    padding: 34px 0 70px;
    border-top: 1px solid #f4f4f4;
    color: #64748b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #131313;
}

.footer-server-switcher {
    display: inline-flex;
    padding: 2px;
    background: #f1f5f9;
    border-radius: 6px;
    gap: 2px;
    margin-top: 16px;
    border: 1px solid #e2e8f0;
}

.footer-server-switcher .server-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    line-height: normal;
}

.footer-server-switcher .server-btn:not(.active):hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.5);
}

.footer-server-switcher .server-btn.active {
    background: #ffffff;
    color: #0f172a;
    border-color: #e2e8f0;
    cursor: default;
}

.server-btn i {
    font-size: 14px;
    color: #94a3b8;
}

.server-btn.active i {
    color: #3b82f6;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #121212;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #f4f4f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: normal;
    flex-wrap: wrap;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
}

.footer-socials a:hover {
    color: #0f172a;
    transform: translateY(-2px);
}

.footer-socials i {
    font-size: 15px;
    line-height: 1;
}

.footer-page-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-page-legal a {
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    color: #64748b;
}

.footer-page-legal a:hover {
    color: #121212;
    text-decoration: underline;
}

.footer-bottom-text {
    font-size: 11px;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 16px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        margin-bottom: 20px;
    }

    .footer-server-switcher {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 15px;
    }
}