/* Footer 组件样式 */

/* 主页脚样式 */
.footer {
    margin-top: 1rem;
}

.footer-main {
    background: linear-gradient(to bottom, #f8fafc, white);
    padding: 1rem 5%;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(33, 150, 243, 0.2);
}

.support-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.support-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.support-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.support-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.support-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.support-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    color: white;
    text-decoration: none;
}

/* 简单页脚样式 */
.simple-footer {
    background: white;
    padding: 2rem 5%;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.footer-links a::before {
    content: '\f0c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.3rem;
    font-size: 0.8em;
}

.separator {
    color: #ccc;
    margin: 0 0.5rem;
    font-weight: 300;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}

.footer-copyright p {
    margin: 0;
}

.beian-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: var(--brand-primary);
}


/* 页脚支持卡片图标颜色 */
.support-card:nth-child(1) i {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-card:nth-child(2) i {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-card:nth-child(3) i {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 支持卡片标题样式 */
.support-card h3 {
    text-align: center;
    margin: 1rem 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer {
        margin-top: 3rem;
    }
    
    .footer-main {
        padding: 3rem 1.5rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .support-card {
        padding: 1.5rem;
    }
    
    .simple-footer {
        padding: 1.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
    }
}
