* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
.container {
    max-width: 1200px;
    margin:20px auto 0;
    padding: 0 15px;
}
a{
    text-decoration:none;
    font-size: 14px;
}
/* 头部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}
.headerMain{
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 240px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo::before {
    content: '📖';
    font-size: 24px;
}

/* 搜索框 */
.search-box {
    display: flex;
    max-width: 200px;
    margin: 0 auto;
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    outline: none;
    width: 120px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box button {
    width: 70px;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border: none;
    border-radius: 0 25px 25px 0;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* 导航链接 */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 用户操作 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-actions a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    /*padding: 8px 20px;*/
    border-radius: 20px;
    transition: all 0.3s ease;
}

.user-actions .login {
    background: rgba(255, 255, 255, 0.1);
}

.user-actions .register {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.user-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

/* 轮播图 */
.banner {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-slider {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.banner-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-desc {
    font-size: 16px;
    opacity: 0.9;
}

/* 分类导航 */
.category-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.category-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.category-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
}

/* 书籍推荐区 */
.section {
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #efefef;
}

.section-title {
    font-size:20px;
    font-weight: bold;
    color: #333;
}

.section-more {
    color: #666;
    text-decoration: none;
}

.section-more:hover {
    color: #e74c3c;
}

/* 书籍网格 */
.books-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.book-card {
    /*background: white;*/
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.book-cover {
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    padding:10px;
}

.book-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.book-author {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.book-desc {
    color: #888;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-stats {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

/* 排行榜 */
.ranking-list {
    display: grid;
    gap: 20px;
}

.ranking-column {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.ranking-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
}

/* 排名数字（固定宽度，不收缩） */
.rank-number {
    flex-shrink: 0; /* 不允许缩小 */
    width: 24px;
    text-align: center;
    font-weight: bold;
}

/* 标题和作者区域（占据剩余空间） */
.ranking-info {
    flex: 1;        /* 占满剩余空间 */
    min-width: 0;   /* ⚠️ 关键！让子元素的 overflow 生效 */
    margin-left: 8px;
}

/* 标题和作者文本 */
.ranking-title,
.ranking-author {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}
.ranking-author {
    font-size: 12px;
    color: #666;
}
.ranking-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.ranking-items {
    padding: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: #f8f9fa;
}

.rank-number {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}
.rank-number.top-1 {
    background: #e74c3c;
    color: white;
}
.rank-number.top-2 {
    background: #fa8c16;
    color: white;
}
.rank-number.top-3 {
    background: #52c41a;
    color: white;
}

.ranking-info {
    flex: 1;
}

.ranking-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.ranking-author {
    color: #666;
    font-size: 12px;
}

/* 底部 */
.footer {
    background: #1a1a2e;
    color: white;
    padding:0px 0 15px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 14px;
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .category-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 10px;
        height:60px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .search-box {
        display: none;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        background: rgb(10, 10, 8);
        top:56px;
        left: 0px;
        padding:8px 16px 8px;
        z-index: 20;
        overflow: hidden;
        flex-wrap: wrap;
        gap: 0px;
    }
    
    .nav-links a{
        width: 100%;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
    
    .banner-slider {
        height: 200px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .book-card{
        grid-template-columns: 1fr 2fr;
        display: grid;
        gap: 10px;
        padding: 5px;
    }
    .book-info {
         padding:0px; 
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns:1fr;
    }
    .book-cover {
        height: 125px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}





/* 脑洞频道样式 */
.channel-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 20px;
}

/* 左侧书籍推荐区 */
.book-feature {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.book-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.feature-cover {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 107, 107, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.feature-info {
    padding: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-author {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.feature-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
}

.feature-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 右侧分类小说区 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-section {
    background: white;
    border-radius: 8px;
    padding:5px 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom:8px;
    border-bottom:2px solid #f0f0f0;
}

.category-icon {
    font-size: 20px;
}

.category-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.novel-list {
    display: flex;
    flex-direction: column;
}

.novel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.novel-item:hover {
    background: #f8f9ff;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.novel-badge {
    /*font-size: 10px;*/
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 500;
}

.novel-title {
    /*font-size: 12px;*/
    color: #555;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .channel-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-cover {
        height: 150px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    .container{
        padding:0 10px;
        margin:10px auto 0;
    }
    .pagination {
        margin: 15px 0 5px;
    }
}

@media (max-width: 480px) {
    .feature-stats {
        flex-direction: column;
        gap: 5px;
    }
    
    .category-section {
        padding: 12px;
    }
    
    .novel-item {
        padding: 5px 0;
    }
}






/* 最近更新模块样式 - 响应式优化 */
.tabs-header {
    padding-bottom:10px;
    border-bottom: 1px solid #eee;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 auto;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 12px 24px;
    font-size:20px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    top: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab:hover {
    color: #333;
}

.tab.active {
    color: #ff4757;
    border-bottom: 2px solid #ff4757;
    font-weight: 600;
}

.category-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-main {
    flex: 1;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.filter-main::-webkit-scrollbar {
    height: 3px;
}

.filter-main::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-main::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.filter-vip {
    flex-shrink: 0;
}

.filter-btn {
    padding: 6px 12px;
    /*font-size: 12px;*/
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    background: #e9ecef;
    color: #333;
}

.filter-btn.active {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
}

.more-btn {
    padding: 6px 8px;
    min-width: 40px;
}

/* 小说表格样式 - 响应式优化 */
.novel-table-container {
    background: white;
    overflow: hidden;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.novel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px; /* 确保在小屏幕上可以横向滚动 */
}

.novel-table thead {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.novel-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    /*font-size: 12px;*/
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.novel-table tbody tr {
    /*border-bottom: 1px solid #e9ecef;*/
    transition: all 0.2s ease;
}

.novel-table tbody tr:nth-child(2n){
    background:#f6f8fa;
}

.novel-table tbody tr:hover {
    background: #f8f9ff;
}

.novel-table td {
    padding: 14px 16px;
    vertical-align: middle;
    line-height: 1.4;
}

.col-category {
    width: 80px;
    min-width: 80px;
}

.col-title {
    min-width: 150px;
}

.col-chapter {
    min-width: 200px;
}

.col-words {
    width: 80px;
    min-width: 80px;
}

.col-author {
    width: 50px;
    min-width: 50px;
}

.col-time {
    width: 150px;
    min-width: 150px;
}

.novel-category {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.novel-name {
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    text-decoration: none;
}

.novel-name:hover {
    color: #ff4757;
}

.chapter-name {
    color: #666;
    transition: all 0.2s ease;
    line-height: 1.4;
    text-decoration: none;
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-name:hover {
    color: #ff4757;
    text-decoration: underline;
}

.sign-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #ff9500;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    vertical-align: middle;
    margin-left: 4px;
}

.word-count {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

.author {
    color: #888;
    font-size: 14px;
    white-space: nowrap;
}

.update-time {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* 查看更多按钮 */
.more-container {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #fafafa;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background: white;
    color: #ff4757;
    border: 1px solid #ff4757;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #ff4757;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}


/***   头部幻灯片效果图   ***/
/* 头部幻灯片容器 - 总高度300px */
.header-slider-container {
    position: relative;
    height: 300px;
    /*overflow: hidden;*/
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 幻灯片背景 */
.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease-in-out;
    opacity: 0;
}

.slider-bg.active {
    opacity: 1;
}

/* 头部导航 - 嵌入在幻灯片内 */
.header {
    top: 0;
    left: 0;
    width: 100%;
    background:linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgb(0 0 0) 60%, rgb(0 0 0 / 41%) 100%);
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, #1a237e 0%, #311b92 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}


/* 幻灯片内容区域 */
.slider-content {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 2;
}

.slide-info {
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    width: 100%;
}

.slide-tag {
    display: inline-block;
    background-color: rgba(255, 154, 0, 0.9);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.slide-desc {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
}

.slide-btn {
    display: inline-block;
    background-color: #ff9a00;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.slide-btn:hover {
    background-color: #ff7b00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 0, 0.4);
}

/* 幻灯片控制器 */
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #ff9a00;
    transform: scale(1.3);
}


/******  浮动图标 开始  ******/
.sidebar {
    position: fixed;
    right: calc((100% - 1350px) / 2 + 20px);
    bottom:260px;
    width: 60px;
    /* background-color: #f5f5f5; */
    /* padding: 20px 0; */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    z-index: 1000;
}
.sidebar-button {
    width: 62px;
    height: 66px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #271f1f;
}

/* 响应式设计 - 移动端 (小于768px) */
@media (max-width: 768px) {
    .header-slider-container {
        height: 240px;
    }
    
    .header-main {
        height: 60px;
        padding: 0 10px;
    }
    
    /* 移动端幻灯片内容 */
    .slider-content {
        top: 60px;
        height: calc(100% - 60px);
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-desc {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .slide-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .slider-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
}





/* 响应式调整 - 移动端适配 */
@media (max-width: 1200px) {
    .novel-table {
        font-size: 12px;
    }
    
    .novel-table th,
    .novel-table td {
        padding: 12px 14px;
    }
}

@media (max-width: 992px) {
    .category-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .filter-main,
    .filter-vip {
        width: 100%;
        overflow-x: auto;
    }
    
    .filter-vip {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .tabs {
        padding-bottom: 8px;
    }
    
    .tab {
        padding: 10px 18px;
        font-size: 15px;
    }
    
    .novel-table th,
    .novel-table td {
        padding: 10px 12px;
    }
    
    .chapter-name {
        max-width: 180px;
    }
    
    .col-time {
        width: 140px;
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    /*.section {
        padding: 15px;
    }*/
    
    .tabs-header {
        padding: 0;
        margin-bottom: 15px;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .novel-table {
        font-size: 11px;
    }
    
    .novel-table th,
    .novel-table td {
        padding: 8px 10px;
    }
    
    .novel-name,
    .chapter-name {
        font-size: 12px;
    }
    
    .chapter-name {
        max-width: 150px;
    }
    
    .col-time {
        width: 130px;
        min-width: 130px;
    }
    
    .view-more-btn {
        padding: 8px 24px;
        font-size: 13px;
    }
}

/* 超小屏幕设备适配 */
@media (max-width: 375px) {
    .chapter-name {
        max-width: 120px;
    }
    
    .col-time {
        width: 120px;
        min-width: 120px;
    }
    
    .novel-table {
        font-size: 10px;
    }
    
    .novel-table th,
    .novel-table td {
        padding: 6px 8px;
    }
}

/* 平板横屏适配 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .novel-table {
        font-size: 12px;
    }
    
    .novel-table th,
    .novel-table td {
        padding: 10px 12px;
    }
    
    .chapter-name {
        max-width: 200px;
    }
}

/* 打印样式 */
@media print {
    .novel-table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .tabs-header,
    .category-filter,
    .more-container {
        display: none;
    }
    
    .novel-table {
        min-width: 100%;
    }
    
    .novel-table tbody tr {
        break-inside: avoid;
    }
}



/* 连载推荐和TOP */
.recommendation-container {
    display: flex;
    gap: 10px;
    margin-top: 0px;
}

.serial-recommendation {
    flex: 3;
    /*background: #fff;*/
}

.top10-ranking {
    flex: 1;
    min-width: 280px;
    /*background: #fff;*/
    border-radius: 8px;
    padding: 10px 4px;
    overflow: hidden;
}

.subsection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-more-link {
    font-size: 14px;
    color: #1890ff;
    text-decoration: none;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* 连载推荐书籍样式 - 按照图片中的紧凑排版 */
.serial-books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:0px;
}

@media (max-width: 1200px) {
    .serial-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .serial-books-grid {
        grid-template-columns: 1fr;
    }
}

.serial-book-card {
    display: flex;
    gap: 12px;
    padding:23px 8px 23px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.serial-book-card:hover {
    border-color: #e8e8e8;
    background: #fafafa;
}

.serial-book-cover {
        width: 100px;
height: 126px;
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
}

.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
}

.cover-placeholder img{
    width:100%;
}

.serial-book-info {
    flex: 1;
    min-width: 0;
}

.serial-book-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.serial-book-meta {
    margin-bottom: 8px;
}

.serial-book-tag {
    font-size: 12px;
    color: #666;
    display: inline-block;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 10px;
    line-height: 1.4;
}

.serial-book-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 39px; /* 固定高度，保持对齐 */
}

/* TOP 10榜单样式 - 按照图片中的简约样式 */
.top10-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top10-item {
    display: flex;
    align-items: center;
    gap:2px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.top10-item:last-child {
    border-bottom: none;
}

.top10-item:hover {
    background: #fafafa;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 4px;
}

.rank-number {
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.top10-item:nth-child(1) .rank-number {
    background: #ff4d4f;
    color: white;
}

.top10-item:nth-child(2) .rank-number {
    background: #fa8c16;
    color: white;
}

.top10-item:nth-child(3) .rank-number {
    background: #52c41a;
    color: white;
}

.top10-book-info {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top10-book-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.top10-book-author {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .recommendation-container {
        flex-direction: column;
    }
    
    .top10-ranking {
        min-width: 100%;
    }
    
    .serial-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .serial-books-grid {
        grid-template-columns: 1fr;
    }
    
    .serial-book-card {
        padding: 10px;
    }
    
    .top10-item {
        padding: 10px 0;
    }
    
    .subsection-title {
        font-size: 16px;
    }
    
    .serial-recommendation,
    .top10-ranking {
        /*padding: 15px;*/
    }
}
