/* 网站底部样式 */
.site-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    color: #ffffff;
    margin-top: 100px;
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: footerGlow 8s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

/* 主要链接区域 */
.footer-links {
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-links:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    display: inline-block;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.6), #ffffff);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        opacity: 0.7;
        transform: scaleX(0.8);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

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

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.4s ease;
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    border: 1px solid transparent;
}

.footer-list a::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.6s ease;
}

.footer-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px) scale(1.02);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-list a:hover::before {
    left: 100%;
}

/* 联系信息区域 */
.footer-contact {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.contact-item strong {
    color: #ecf0f1;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.contact-item i {
    margin-right: 8px;
    width: 16px;
    color: #3498db;
}

/* 社交媒体 */
.social-links {
    flex-shrink: 0;
}

.social-links h4 {
    color: #3498db;
    font-size: 16px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

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

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateX(10px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.social-icon i {
    margin-right: 8px;
    width: 16px;
}

/* 底部版权区域 */
.footer-bottom {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
}

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

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

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.filing-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filing-info a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filing-info a:hover {
    color: #bdc3c7;
}

.icp-number, .police-number {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.police-number i {
    margin-right: 4px;
}

.legal-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.legal-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legal-links a:not(:last-child)::after {
    content: '•';
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

/* 图标样式 */
.icon-location::before { content: '📍'; }
.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-wechat::before { content: '💬'; }
.icon-weibo::before { content: '🐦'; }
.icon-tiktok::before { content: '🎵'; }
.icon-qq::before { content: '🐧'; }
.icon-police::before { content: '🛡️'; }

/* 响应式设计 */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 60px;
        font-size: 14px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-links {
        padding: 40px 20px 30px;
        margin-bottom: 25px;
        border-radius: 15px;
    }

    .footer-row {
        flex-direction: column;
        gap: 35px;
    }

    .footer-column {
        min-width: auto;
        text-align: center;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-list a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 30px;
        padding: 35px 20px;
        text-align: center;
    }

    .footer-bottom {
        padding: 25px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .copyright {
        font-size: 13px;
    }

    .filing-info {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        font-size: 13px;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .legal-links a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .social-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .social-icon {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        margin-top: 40px;
        font-size: 13px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-links {
        padding: 30px 15px 25px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .footer-list a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .footer-contact {
        padding: 25px 15px;
        gap: 25px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .copyright {
        font-size: 12px;
    }

    .filing-info {
        font-size: 12px;
        gap: 10px;
    }

    .legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .legal-links a {
        font-size: 12px;
        padding: 5px 8px;
    }

    .legal-links a:not(:last-child)::after {
        display: none;
    }

    .social-icon {
        padding: 10px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-links {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .footer-contact {
        padding: 25px 15px;
        gap: 20px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-title {
        font-size: 15px;
    }

    .footer-list a {
        padding: 6px 10px;
        font-size: 13px;
    }

    .social-icon {
        padding: 8px 12px;
        font-size: 13px;
    }

    .legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .legal-links a:not(:last-child)::after {
        display: none;
    }

    .contact-item {
        font-size: 13px;
    }

    .copyright {
        font-size: 12px;
    }

    .filing-info {
        font-size: 12px;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1400px) {
    .footer-container {
        max-width: 1400px;
    }

    .footer-links {
        padding: 60px 0 50px;
    }

    .footer-contact {
        padding: 50px 0;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-list a {
        padding: 10px 15px;
        font-size: 15px;
    }
}

/* 深色主题适配 */
@media (prefers-color-scheme: dark) {
    .site-footer {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .footer-bottom {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* 打印样式 */
@media print {
    .site-footer {
        display: none;
    }
}
