/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0047AB, #0077CC, #3399FF);
}

.footer h4 {
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0047AB, #0077CC);
    border-radius: 2px;
}

.footer p {
    color: #b0b0b0;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer p i {
    color: #b0b0b0;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #3399FF;
    transform: translateX(5px);
}

.footer img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.footer img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 71, 171, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.copyright p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.copyright a {
    color: #888;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #3399FF;
}

/* 响应式优化 - 平板 */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer h4 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer img {
        width: 130px;
        height: 130px;
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .copyright p {
        font-size: 0.85rem;
    }
}

/* 响应式优化 - 手机 */
@media (max-width: 576px) {
    .footer {
        padding: 40px 15px 15px;
        text-align: center;
    }
    
    .footer h4 {
        margin-bottom: 18px;
        font-size: 1.1rem;
        padding-bottom: 8px;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .footer p i {
        display: none;
    }
    
    .footer-links {
        margin-bottom: 25px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        display: block;
    }
    
    .copyright {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .copyright p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}
