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

.footer-main {
    width: 100%;
}

/* 页脚完全铺满 */
.footer-full-card {
    background: rgba(255, 255, 255, 0.9);
    width: 100%; /* 使用viewport宽度确保完全铺满 */
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 页脚容器 - 无宽度限制 */
.footer-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 页脚内容 - 限制最大宽度并居中 */
.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 30px 50px 10px 50px; /* 调整内边距 */
    gap: 40px;
    background: url('/assets/images/headtxt.png') center no-repeat;
    background-size: 25% auto;
    background-blend-mode: overlay;
    max-width: 1600px; /* 添加最大宽度 */
    margin: 0 auto; /* 居中显示 */
}



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


/* 左侧内容 */
.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: 8px;
    margin-bottom: 20px;
}

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

.footer-legal-links a:hover {
    color: #3b82f6;
    border-color: #3b82f6;
    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-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: #3b82f6;
    border-color: #3b82f6;
    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: #3b82f6;
    border-color: #3b82f6;
    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;
}

/* 更漂亮的运行时间样式 */
.footer-runtime {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    color: #64748b;
    font-size: 13px;
}


.footer-runtime .fa-clock-o {
    color: #3b82f6;
    animation: pulse 2s infinite;
    font-size: 14px;
}

#app-runtime {
    color: #10b981; /* 绿色数字 */
    text-shadow: 0 1px 2px rgba(16, 185, 129, 0.1);
}

/* 数字跳动动画 */
#app-runtime .number {
    display: inline-block;
    animation: numberJump 0.6s ease-out;
    color: #059669; /* 更深的绿色 */
    font-weight: 700;
}

@keyframes numberJump {
    0% {
        transform: translateY(0) scale(1);
    }
    30% {
        transform: translateY(-3px) scale(1.05);
    }
    70% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}


/* 海浪装饰样式 */
.footer-wave {
    width: 100%;
    height: 80px; /* 根据你的GIF高度调整 */
    background: url('https://wimg.588ku.com/gif320/24/07/09/43f798ca77404705a4108dc1178f7093.gif') repeat-x bottom;
    background-size: auto 100%; /* 保持GIF原始宽高比，高度填满容器 */
}

/* 移除img标签的样式，因为现在用背景图 */
.footer-wave-img {
    display: none; /* 隐藏img标签 */
}


/* 响应式设计 */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-tech-support {
        flex-direction: column;  /* 改为垂直排列 */
        align-items: flex-start; /* 左对齐 */
        gap: 10px;              /* 增加间距 */
        text-align: left;       /* 文本左对齐 */
    }
    
    .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%;     /* 确保完全铺满 */
    }
    .footer-runtime {
        font-size: 13px;
    }
}

