/* About 页面 + Author Credit（从 style.css 拆分） */
/* About 页面样式 */
.about-page {
    max-width: 800px;
    margin: 30px auto; /* 恢复默认留白 */
    line-height: 1.7;
    box-sizing: border-box; /* 让 padding 不增大 max-width */
}
.about-page h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
}

.about-page h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.about-page p, .about-page li {
    font-size: 16px;
    color: var(--secondary-text-color);
    margin-bottom: 16px;
}

.about-page ul {
    list-style-position: inside;
    padding-left: 10px;
}

.about-page strong {
    color: var(--text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-page {
        margin: 20px 10px; /* 移动端缩小留白 */
    }
}

/* --- Author Credit --- */
.top-info-container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center; /* 垂直对齐 */
    gap: 20px; /* 在元素之间添加间距 */
    background-color: var(--card-background);
    padding: 10px 16px;
    border-radius: var(--global-border-radius);
    border: 1px solid var(--border-color);
    z-index: 10;
}

.author-credit {
    /* position: absolute; */ /* 不再需要 */
    /* right: 20px; */
    /* top: 20px; */
    color: var(--secondary-text-color);
    font-size: 14px;
    text-decoration: none;
    z-index: 10; /* 现由父容器控制 */
}

.support-button-top {
    font-size: 14px; /* 字号 */
    font-weight: 700; /* 文字加粗 */
    color: #fff; /* 白色文字以增强对比 */
    background-color: var(--accent-color); /* 纯强调色背景 */
    text-decoration: none;
    padding: 6px 12px; /* 增大留白以更醒目 */
    border-radius: 10px; /* 略微增大圆角 */
    border: none; /* 去掉边框 */
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s; /* 平滑的动画过渡 */
    box-shadow: 0 3px 10px rgba(10, 132, 255, 0.3); /* 添加阴影以增加层次感 */
}

.support-button-top:hover {
    background-color: #007aff; /* 悬停时更亮的蓝色调 */
    transform: translateY(-2px) scale(1.02); /* 略微减弱放大效果 */
    box-shadow: 0 5px 15px rgba(10, 132, 255, 0.4); /* 悬停时加强阴影 */
}

.author-credit span {
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.2s ease-in-out;
}

.author-credit:hover span {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .author-credit {
    margin-bottom: 5px;
    }
    .top-info-container {
        position: static; /* 恢复到文档流中 */
        margin: 0 auto 20px; /* 居中并添加底部留白 */
        width: fit-content; /* 宽度由内容决定 */
        max-width: 400px; /* 限制最大宽度，与其他元素一致 */
        flex-direction: column; /* 移动端元素纵向排列 */
        gap: 8px; /* 缩小行间距 */
        padding: 10px 15px; /* 稍微增大留白以更美观 */
    }
    .page-title-container {
        padding-top: 0; /* 移动端去掉留白 */
    }
}

