/* === 关于页面专属样式 === */

/* 核心修正1：创建一个 flex 容器来实现垂直居中 */
.about-container {
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    min-height: calc(100vh - 80px);
    /* 容器的最小高度为视窗高度减去导航栏高度 */
    padding: 20px;
    /* 在边缘留出一些空间 */
    box-sizing: border-box;
}

.about-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.about-content-box {
    max-width: 800px;
    /* 核心修正2：移除 margin，因为 flex 布局会自动处理居中 */
    /* margin: 50px auto; */
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    line-height: 1.8;
}

.about-content-box h1,
.about-content-box h2 {
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.about-content-box h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

.about-content-box h2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.about-content-box p,
.about-content-box li {
    font-size: 1.1rem;
}

.about-content-box strong {
    color: #fff;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .about-content-box {
        padding: 30px;
    }
}