/* ===== 简化版Footer样式 ===== */
.modern-footer {
    background: #2c3e50;
    color: #fff;
    margin-top: 60px;
}

/* Footer底部区域 */
.footer-bottom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.5), transparent);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* 版权信息 */
.copyright {
    color: #bdc3c7;
    font-size: 14px;
}

.copyright p {
    margin: 0;
    font-weight: 400;
}

/* 法律链接 */
.legal-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.legal-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.legal-links a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.legal-links a:hover::after {
    width: 80%;
}

/* 备案信息 */
.certification {
    color: #7f8c8d;
    font-size: 12px;
    font-weight: 400;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.back-to-top i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 25px 0;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .legal-links a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .copyright {
        order: 1;
    }
    
    .legal-links {
        order: 2;
    }
    
    .certification {
        order: 3;
        font-size: 11px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        padding: 20px 0;
    }
    
    .bottom-content {
        gap: 12px;
    }
    
    .copyright {
        font-size: 13px;
    }
    
    .legal-links a {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .certification {
        font-size: 10px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top i {
        font-size: 14px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-footer {
    animation: fadeInUp 0.6s ease-out;
}

/* 选择文本样式 */
.modern-footer ::selection {
    background: rgba(52, 152, 219, 0.2);
    color: #fff;
}