/* 页脚样式 */
footer {
    background-color: #627096;
    color: #fff;
    height: 426px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    padding: 60px 60px 0px 60px;
}

.footer-content {
    flex: 1;
    display: flex;
}

.footer-left {
    flex: 1;
}

.footer-left h3 {
    font-size: 20px;
    margin-bottom: 20px; /* 添加底部间距控制 */
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: end;
    gap: 120px;
    margin-top: 0; /* 控制与上方元素的间距 */
}

.footer-section:first-child {
    white-space: nowrap;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

/* 二维码图片样式 */
.qrcode-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.footer-bottom {
    padding: 20px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.56);
    display: flex;
    justify-content: space-between;
    background-color: #96927a00;
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 12px;
}

/* ICP备案号链接样式 */
.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 响应式样式 */
/* 平板设备 */
@media (max-width: 1024px) and (min-width: 481px) {
    .footer-center {
        gap: 60px;
    }
    
    /* 平板设备二维码图片样式 */
    .qrcode-img {
        width: 100px;
        height: 100px;
        margin: 4px 0 8px 0;
    }
}

/* 移动设备 */
@media (max-width: 480px) {
    footer {
        padding: 32px 16px 0px 16px;
    }
    
    .footer-content {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-start;
        background-color: rgba(220, 20, 60, 0);
    }
    
    .footer-left h3 {
        margin-bottom: 0px; /* 减小XK Capital和下方文字的间距 */
        background-color: rgba(0, 255, 255, 0);
    }
    
    .footer-center {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-top: 0px; /* 减小上方间距 */
        background-color: rgba(250, 235, 215, 0);
    }
    
    .footer-bottom {
        padding: 12px 0px;
        flex-direction: column;
        align-items: start;
    }
    
    .footer-bottom p {
        margin: 5px 0;
        font-size: 12px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 10px; /* 减小标题和列表的间距 */
    }
    
    .footer-section ul li {
        margin-bottom: 12px;
        font-size: 12px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    /* 移动端二维码图片样式 */
    .qrcode-img {
        width: 80px;
        height: 80px;
        margin: 3px 0 8px 0;
    }
}