/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #3498db;
}

.breadcrumb span {
    margin: 0 5px;
}

/* 筛选区域优化 */
.filter-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.filter-row span:first-child {
    min-width: 50px;
    font-size: 14px;
    color: #7f8c8d;
    padding-top: 8px;
    white-space: nowrap;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-group a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    transition: all 0.3s;
}

.filter-group a:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.filter-group a.active {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

/* 移动端筛选优化 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 5px;
    }

    .filter-group {
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-group a {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 隐藏滚动条但保持滚动功能 */
    .filter-group::-webkit-scrollbar {
        display: none;
    }
}
/* 小说列表样式优化 - 上下结构 */
.novels-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.list-title {
    font-size: 22px;
    color: #2c3e50;
    font-weight: bold;
}

.sort-options {
    display: flex;
    align-items: center;
}

.sort-label {
    margin-right: 10px;
    font-size: 14px;
    color: #7f8c8d;
}

.sort-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

 
 

@media (max-width: 768px) {
    .list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sort-options {
        width: 100%;
        justify-content: space-between;
    }

    .sort-select {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .novels-container {
        padding: 15px;
    }
}

/* 添加加载动画 */
.novel-item {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 分页样式保持不变 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #2c3e50;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination a.disabled {
    color: #bdc3c7;
    pointer-events: none;
}
/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #2c3e50;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination a.disabled {
    color: #bdc3c7;
    pointer-events: none;
}