/* footer.css - 页脚专用样式 */

.footer-main {
    width: 100%;
}

/* 外层大卡片 - 铺满整个底部 */
.footer-full-card {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 1200px 容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 内层卡片 - 1200px 宽度 */
.footer-inner-card {
    overflow: hidden;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    gap: 40px;
}

/* 左侧内容 */
.footer-left {
    flex: 1;
}

.footer-site-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}


.footer-site-desc {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-legal-links a {
    color: #666;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 12px;
}

.footer-legal-links a:hover {
    color: #1998ff;
    border-color: #1998ff;
    background: rgba(25, 152, 255, 0.1);
}

/* 版权信息样式 */
.footer-copyright {
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* 爱心跳动动画 */
.footer-heart-icon {
    color: #e74c3c !important;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin: 0 3px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.2);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* 右侧内容 */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-tech-support {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 12px;
}

.footer-tech-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1998ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-tech-link:hover {
    color: #0d7dcc;
}

.footer-tech-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

.footer-beian-link {
    width: 100%;
    justify-content: flex-start;
}

.footer-cert-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-cert-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    padding: 8px;
    border-radius: 6px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    min-height: 32px;
    overflow: hidden;
}

.footer-cert-link:hover {
    color: #1998ff;
    border-color: #1998ff;
    background: rgba(25, 152, 255, 0.1);
}

.footer-cert-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-cert-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* QQ群和邮箱卡片样式 */
.footer-contact-card {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    max-width: 300px;
}

.footer-contact-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    text-align: center;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #1998ff;
    border-color: #1998ff;
    background: rgba(25, 152, 255, 0.1);
}

.footer-contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* QQ图标颜色 */
.footer-contact-item .fa-qq {
    color: #12b7f5;
}

/* 邮箱图标颜色 */
.footer-contact-item .fa-envelope {
    color: #f39c12;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content-wrapper {
        flex-direction: column;
        gap: 25px;
        padding: 25px 20px;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-certifications {
        max-width: 100%; /* 改为100%铺满 */
        width: 100%;     /* 确保完全铺满 */
    }
    
    .footer-cert-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .footer-legal-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-contact-card {
        max-width: 100%; /* 改为100%铺满 */
        width: 100%;     /* 确保完全铺满 */
    }
}

