/* 页脚模块 CSS - 从homepage.css中提取 */

/* 页脚基础样式 */
.site-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #dee2e6;
}

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

/* 引用部分 */
.citation-section {
    margin-bottom: 50px;
}

.citation-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #520049;
}

.citation-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.citation-icon {
    font-size: 24px;
    color: #520049;
    margin-right: 12px;
}

.citation-title {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.citation-content .authors {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.citation-content .paper-title {
    font-style: italic;
    color: #520049;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 18px;
}

.citation-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.citation-link, .copy-citation-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.citation-link {
    background: #520049;
    color: white;
    border: 2px solid #520049;
}

.citation-link:hover {
    background: white;
    color: #520049;
    transform: translateY(-2px);
}

.citation-link:focus {
    background: #520049;
    color: white;
    outline: none;
    transform: translateY(0);
}

.citation-link:active {
    background: #520049;
    color: white;
    transform: translateY(0);
}

.copy-citation-btn {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
    cursor: pointer;
}

.copy-citation-btn:hover {
    background: white;
    color: #6c757d;
    transform: translateY(-2px);
}

.copy-citation-btn:focus {
    background: #6c757d;
    color: white;
    outline: none;
    transform: translateY(0);
}

.copy-citation-btn:active {
    background: #6c757d;
    color: white;
    transform: translateY(0);
}

/* 相关数据库部分 */
.related-section {
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
}

.section-title i {
    color: #520049;
}

.related-databases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.database-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.database-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.db-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.db-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.db-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.db-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.db-link-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #999;
    font-size: 14px;
}

/* 支持与反馈部分 */
.support-section {
    margin-bottom: 50px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.support-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.help-icon { background: #17a2b8; }
.feedback-icon { background: #28a745; }
.contact-icon { background: #ffc107; color: #333 !important; }

.support-title {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 18px;
}

.support-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #520049;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #520049;
}

.support-btn:hover {
    background: white;
    color: #520049;
    transform: translateY(-2px);
}

.support-btn:focus {
    background: #520049;
    color: white;
    outline: none;
    transform: translateY(0);
}

.support-btn:active {
    background: #520049;
    color: white;
    transform: translateY(0);
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
    margin-top: 50px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-text {
    margin-bottom: 10px;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #520049;
}

.logo-sub {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    margin-left: 5px;
}

.footer-description {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #520049;
}

.copyright {
    text-align: right;
}

.copyright p {
    margin: 5px 0;
    color: #999;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .citation-actions {
        justify-content: center;
    }
    
    .database-card {
        flex-direction: column;
        text-align: center;
    }
    
    .db-link-icon {
        position: static;
        margin-top: 10px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .citation-card {
        padding: 20px;
    }
    
    .citation-title {
        font-size: 20px;
    }
    
    .citation-link, .copy-citation-btn {
        width: 100%;
        justify-content: center;
    }
} 