/**
 * ============================================
 * footer.css - 底部版权样式
 * ============================================
 */

/* ===== 底部容器 ===== */
.site-footer {
    width: 100%;
    padding: 30px 40px 20px;
    background: rgba(30, 42, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===== 底部内容布局 ===== */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* ===== 左侧：版权信息 ===== */
.footer-left {
    text-align: left;
    flex: 1;
    min-width: 200px;
}

.footer-left .copyright {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-left .company-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 2px 0;
}

/* ===== 中间：快捷链接 ===== */
.footer-center {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.footer-center a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-center a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s ease;
}

.footer-center a:hover {
    color: #e67e22;
}

.footer-center a:hover::after {
    width: 100%;
}

/* ===== 右侧：联系方式 ===== */
.footer-right {
    text-align: right;
    flex: 1;
    min-width: 200px;
}

.footer-right .contact-item {
    margin: 4px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-right .contact-item:hover {
    color: #e67e22;
}

/* ==========================================
   📱 移动端适配（768px 以下）
   ========================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 24px 16px 16px;
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* ===== 左侧：版权信息（居中） ===== */
    .footer-left {
        text-align: center;
        min-width: unset;
        width: 100%;
    }

    .footer-left .copyright {
        font-size: 13px;
        word-break: break-all;
    }

    .footer-left .company-info {
        font-size: 12px;
    }

    /* ===== 中间：快捷链接（换行居中） ===== */
    .footer-center {
        gap: 12px 20px;
        justify-content: center;
        min-width: unset;
        width: 100%;
    }

    .footer-center a {
        font-size: 13px;
        padding: 4px 0;
    }

    /* 去掉链接之间的分隔线（可选） */
    .footer-center a::after {
        display: none;
    }

    /* 用竖线分隔（更清晰） */
    .footer-center a:not(:last-child)::after {
        display: inline;
        content: '|';
        color: rgba(255, 255, 255, 0.15);
        margin-left: 12px;
        position: static;
        width: auto;
        height: auto;
        background: none;
    }

    /* ===== 右侧：联系方式（居中） ===== */
    .footer-right {
        text-align: center;
        min-width: unset;
        width: 100%;
    }

    .footer-right .contact-item {
        font-size: 13px;
        margin: 6px 0;
        word-break: break-all;
    }
}

/* ==========================================
   📱 小屏手机（480px 以下）
   ========================================== */
@media (max-width: 480px) {
    .site-footer {
        padding: 20px 12px 12px;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-left .copyright {
        font-size: 12px;
    }

    .footer-left .company-info {
        font-size: 11px;
    }

    .footer-center {
        gap: 8px 14px;
    }

    .footer-center a {
        font-size: 12px;
    }

    .footer-center a:not(:last-child)::after {
        margin-left: 8px;
    }

    .footer-right .contact-item {
        font-size: 12px;
        margin: 4px 0;
    }
}