body {
    background-color: #202020;

    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

h1 {
    text-align: center;
    color: moccasin;
    margin-top: 3%;
    margin-bottom: 3%;
}

h2 {
    text-align: center;
    color: rgb(121, 149, 146);
    margin-top: 3%;
    margin-bottom: 3%;
}

hr {
    border: 0;
    border-top: 1px dashed #a2a9b6;
    margin-top: 3%;
    margin-bottom: 3%;
}

/* 分类容器优化 */
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #2d2d2d, #383838);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
}

.category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(76,175,80,0.15);
    background: linear-gradient(145deg, #383838, #4d4d4d);
}

/* 文章卡片优化 */
.article {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #2d2d2d, #383838);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76,175,80,0.1);
}

.article h2 {
    color: rgb(255, 149, 146);
}

/* 链接样式优化 */
.item-link {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

a {
    font-size: 1.1em;
    text-decoration: none;
    color: #8b8ea3;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

a:hover {
    color: #4caf50;
    background: rgba(76,175,80,0.1);
}

/* 元数据样式 */
.article-metadata {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}
