/* 全局样式 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    line-height: 1.5; /* 全局行高设置 */
}

/* 头部样式 */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #fff; /* 头部背景色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 头部阴影 */
}

/* 头像和名字样式 */
.profile {
    display: flex;
    align-items: center;
}

#profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.art-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

/* 置顶文案样式 */
.top-text {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin: 0 1rem;
    max-width: 200px; /* 限制文案宽度 */
}

/* 广告条幅图片样式 */
.banner {
    max-width: 300px;
}

.banner img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 功能模块容器样式 */
.module-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.25rem;
}

.category-title {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

/* 美化按钮样式 */
.module {
    background-color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; /* 文字居中 */
    min-width: 150px; /* 最小宽度 */
    max-width: 200px; /* 最大宽度 */
    box-sizing: border-box; /* 避免内边距影响宽度 */
}

.module a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    display: block; /* 使链接填充整个按钮区域 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
   .top-text {
        margin: 1rem 0;
        max-width: 100%;
    }
   .banner {
        max-width: 100%;
    }
   .module-container {
        flex-direction: column;
        align-items: center;
    }
}    
