/* ==========================================================================
   Footer 核心容器：极致紧凑
   ========================================================================== */
.site-footer {
    width: 100%;
    background-color: #2A3855;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    /* 缩小上下留白，让 footer 看起来更像一个精致的横条 */
    padding: 1.2rem 0;
    margin-top: auto;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* 移除所有默认间距，改用微调 */
    gap: 0;
}

/* ==========================================================================
   统一字号与行间距控制
   ========================================================================== */

/* 1. 中文公司名 */
.footer-company-zh {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
}

/* 2. 英文公司名 */
.footer-company-en {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

/* 3. 版权信息与备案号容器 */
.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.2rem;
}

.copyright-group,
.footer-icp,
.footer-icp a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    line-height: 1.2;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.footer-icp a:hover {
    color: #158791;
    opacity: 1;
}

.copyright-group .sep {
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.5;
    margin: 0 1px;
}

/* ==========================================================================
   超高分辨率适配 (2K / 4K)
   ========================================================================== */
@media screen and (min-width: 2240px) and (max-width: 3199px) {
    .footer-company-zh {
        font-size: 0.85rem;
    }
    .footer-company-en {
        font-size: 0.8rem;
    }
    .copyright-group,
    .footer-icp,
    .footer-icp a {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 3200px) {
    .footer-company-zh {
        font-size: 1rem;
    }
    .footer-company-en {
        font-size: 0.95rem;
    }
    .copyright-group,
    .footer-icp,
    .footer-icp a {
        font-size: 1rem;
    }
    .site-footer {
        padding: 1.8rem 0;
    }
    .footer-container {
        max-width: 2000px;
    }
}

/* ==========================================================================
   移动端 (Mobile) 适配
   ========================================================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 1rem 0;
    }

    .footer-content {
        /* 手机端进一步压缩，防止占据过多屏幕 */
        transform: scale(0.95);
    }

    .copyright-group {
        /* 手机端如果横向排不下，依然保持紧凑排列 */
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}