/* 分类标签样式 */
.novel-categories {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #ddd;
}

.category-tag:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 分类页面样式 */
.category-list {
    margin: 30px 0;
}

.category-list h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.category-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.category-card .btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
}

.category-card .btn:hover {
    background-color: #0056b3;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .categories {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .categories {
        grid-template-columns: 1fr;
    }
}