/* 页脚样式 - 黑金风格 */

.footer {
    margin: 100px 115px 0 115px;
    border: 1px solid #30363d;
    border-bottom: none;
    border-radius: 40px 40px 0 0;
    padding: 48px 48px 32px 48px;
}

.footer__container {
    max-width: 100%;
    margin: 20px 50px 0 50px;
    position: relative;
    z-index: 1;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__nav-group {
    display: flex;
    gap: 100px;
    margin-left: 200px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    font-size: 24px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 16px;
}

.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    max-width: 192px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161b22;
    border-radius: 8px;
    color: #8b949e;
    text-decoration: none;
    transition: all 0.3s;
}

.footer__social-link:hover {
    background: #30363d;
    color: #efc49b;
}

.footer__section {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: 14px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: #8b949e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #efc49b;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid #30363d;
}

.footer__copyright {
    color: #8b949e;
    font-size: 13px;
}

.footer__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #8b949e;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.footer__toggle:hover {
    border-color: #efc49b;
    color: #efc49b;
}

.footer__toggle.active {
    background: rgba(239, 196, 155, 0.1);
    border-color: #efc49b;
    color: #efc49b;
}

.toggle-icon {
    width: 16px;
    height: 16px;
}

.toggle-text {
    font-weight: 500;
}

.footer__lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #8b949e;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.footer__lang:hover {
    border-color: #efc49b;
    color: #efc49b;
}

.footer__lang svg {
    width: 16px;
    height: 16px;
}

/* 响应式 */
@media (max-width: 768px) {
    .footer {
        margin: 60px 16px 0 16px;
        padding: 32px 24px 24px 24px;
        border-radius: 16px 16px 0 0;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
