/* About 页面样式 */

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.about-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.about-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.about-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

/* 数据库结构图 */
.structure-diagram {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.structure-svg {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 团队成员 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.team-member h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-email {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.member-email a {
    color: var(--primary-color);
    text-decoration: none;
}

.member-email a:hover {
    text-decoration: underline;
}

.member-role {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.member-affiliation {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* 论文列表 */
.citation-intro {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.papers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.paper-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
}

.paper-title {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.paper-title:hover {
    text-decoration: underline;
}

.paper-authors {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.bibtex-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.bibtex-btn:hover {
    background: var(--primary-dark);
}

/* 联系方式 */
.contact-intro {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.contact-btn:hover {
    background: var(--primary-dark);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

/* BibTeX 弹窗 */
.bibtex-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.bibtex-modal.active {
    display: flex;
}

.bibtex-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
}

.bibtex-code {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 1rem;
}

.bibtex-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
    cursor: pointer;
}
