/* ===== 底部样式 ===== */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #1a1a2e 75%, #0f0f23 100%);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 71, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(116, 185, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.6;
    animation: footerFloat 20s ease-in-out infinite;
}

@keyframes footerFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 20px 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding: 15px 0;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #74b9ff);
    border-radius: 2px;
}

.footer-logo-img {
    width: 200px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(255, 71, 87, 0.4));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}


@keyframes logoGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-description {
    color: #a8b2d1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 350px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff4757, #74b9ff);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #ff4757, #74b9ff);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

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

.footer-links li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.footer-links li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #ff4757;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.footer-links li:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-link {
    color: #a8b2d1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #ff4757;
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.05), transparent);
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4757, #74b9ff, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

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

.copyright {
    color: #a8b2d1;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .copyright::before {
    content: '©';
    color: #ff4757;
    font-weight: bold;
    font-size: 16px;
} */

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-link {
    color: #a8b2d1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.legal-link:hover {
    color: #ff4757;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(116, 185, 255, 0.1));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.3);
}

.separator {
    color: #636e72;
    font-weight: bold;
    font-size: 16px;
}

/* ===== 悬浮按钮样式 ===== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn:active {
    transform: translateY(0);
}

/* 返回顶部按钮 */
.back-to-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* 客服按钮 */
.customer-service {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.customer-service:hover {
    background: linear-gradient(135deg, #ee82f0 0%, #f44a5c 100%);
}

/* 按钮图标 */
.floating-btn i {
    font-size: 18px;
}

/* 按钮提示文字 */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .floating-btn i {
        font-size: 16px;
    }
    
    .floating-btn::after {
        display: none;
    }
}
