/* ========================================
   页脚 - 简约现代化重新设计
   温暖配色，极简布局
   ======================================== */

/* ===== 1. 页脚主体 ===== */
.page-footer {
    background: linear-gradient(180deg, #ffffff 0%, #FFF8DC 100%) !important;
    border-top: 1px solid rgba(255, 184, 0, 0.1) !important;
    padding: 60px 0 30px !important;
    margin-top: 80px !important;
}

.page-footer .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
}

/* ===== 2. 装饰元素 - 简化 ===== */
.footer-decoration {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 48px !important;
}

.decoration-line {
    width: 80px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 184, 0, 0.3) 50%, transparent 100%) !important;
}

.decoration-icon {
    font-size: 28px !important;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.2)) !important;
}

/* ===== 3. 页脚主内容 - 简约网格 ===== */
.footer-main {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

.footer-section h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(255, 184, 0, 0.2) !important;
    display: inline-block !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-section li {
    margin: 0 !important;
}

.footer-section a {
    display: inline-flex !important;
    align-items: center !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    padding-left: 0 !important;
}

.footer-section a::before {
    content: '→' !important;
    position: absolute !important;
    left: -20px !important;
    opacity: 0 !important;
    transform: translateX(-5px) !important;
    transition: all 0.3s ease !important;
    color: #FFB800 !important;
    font-weight: 600 !important;
}

.footer-section a:hover {
    color: #FF6347 !important;
    padding-left: 20px !important;
}

.footer-section a:hover::before {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ===== 4. 页脚底部 - 极简 ===== */
.footer-bottom {
    padding-top: 32px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.footer-copyright {
    text-align: center !important;
}

.footer-copyright p {
    font-size: 13px !important;
    color: #999 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

.footer-copyright a {
    color: #999 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-weight: 500 !important;
}

.footer-copyright a:hover {
    color: #FF6347 !important;
}

/* 分隔符 */
.footer-copyright p::before {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 184, 0, 0.5) 50%, transparent 100%) !important;
    margin: 0 auto 16px !important;
    border-radius: 2px !important;
}

/* ===== 5. 友情链接（如果有）===== */
.footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
    padding: 20px 0 !important;
}

.footer-links a {
    color: #999 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-links a:hover {
    color: #FFB800 !important;
}

.footer-links a::after {
    content: '|' !important;
    margin-left: 24px !important;
    color: rgba(0, 0, 0, 0.1) !important;
}

.footer-links a:last-child::after {
    display: none !important;
}

/* ===== 6. 社交媒体图标（如果需要）===== */
.footer-social {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 24px !important;
}

.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 215, 0, 0.1) !important;
    border-radius: 50% !important;
    color: #999 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.social-link:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3) !important;
}

/* ===== 7. Logo区域（如果需要）===== */
.footer-brand {
    text-align: center !important;
    margin-bottom: 32px !important;
}

.footer-logo {
    display: inline-block !important;
    margin-bottom: 16px !important;
}

.footer-logo img {
    height: 40px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.2)) !important;
}

.footer-slogan {
    font-size: 14px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* ===== 8. 响应式设计 ===== */
@media (max-width: 768px) {
    .page-footer {
        padding: 40px 0 20px !important;
        margin-top: 60px !important;
    }
    
    .page-footer .container {
        padding: 0 20px !important;
    }
    
    .footer-decoration {
        margin-bottom: 32px !important;
    }
    
    .decoration-line {
        width: 40px !important;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
        margin-bottom: 32px !important;
    }
    
    .footer-section h4 {
        font-size: 15px !important;
        margin-bottom: 16px !important;
    }
    
    .footer-section a {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .page-footer {
        padding: 32px 0 16px !important;
        margin-top: 40px !important;
    }
    
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
    }
    
    .footer-decoration {
        margin-bottom: 24px !important;
    }
    
    .decoration-icon {
        font-size: 24px !important;
    }
    
    .footer-copyright p {
        font-size: 12px !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .footer-links a::after {
        display: none !important;
    }
}

/* ===== 9. 打印样式 ===== */
@media print {
    .page-footer {
        display: none !important;
    }
}

/* ===== 10. 特殊状态 ===== */
.page-footer.minimal {
    padding: 30px 0 20px !important;
    margin-top: 40px !important;
}

.page-footer.minimal .footer-decoration,
.page-footer.minimal .footer-main {
    display: none !important;
}

/* ===== 11. 版权年份自动更新样式 ===== */
.copyright-year {
    font-weight: 600 !important;
    color: #666 !important;
}

/* ===== 12. 备案号样式 ===== */
.icp-number {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.icp-number::before {
    content: '🔒' !important;
    font-size: 12px !important;
    opacity: 0.6 !important;
}

