/* 小说推荐页面样式 */

.novel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.novel-header {
    text-align: center;
    margin-bottom: 40px;
}

.novel-header h2 {
    color: #344c67;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.novel-header p {
    color: #666;
    font-size: 1.1em;
}

.novel-categories {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    display: flex;
    border-bottom: 2px solid rgba(73, 177, 245, 0.3);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #49b1f5;
}

.tab.active {
    color: #49b1f5;
    border-bottom: 2px solid #49b1f5;
    margin-bottom: -2px;
}

.novel-list {
    display: none;
    padding: 20px 0;
}

.novel-list.active {
    display: block;
}

.novel-list h3 {
    color: #344c67;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.novel-item {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.novel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.novel-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #344c67;
    margin-bottom: 10px;
}

.novel-author {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}

.novel-rating {
    color: #f1c40f;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.novel-description {
    color: #555;
    line-height: 1.6;
}

.novel-guide {
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.novel-guide p {
    color: #666;
    font-style: italic;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 1em;
    }
    
    .novel-title {
        font-size: 1.3em;
    }
}