/* 首页样式 */

.main-left {
    width: 100%;
}

.main-right {
    display: none; /* 隐藏原来的右侧边栏 */
}

/* 轮播图和分类行布局 */
.hero-category-row {
    height: 342px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.hero-carousel {
    position: relative;
    height: 302px;
    flex: 1;
    border-radius: 0;
    overflow: hidden;
}

.category-section {
    width: 238px;
    height: 302px;
    flex-shrink: 0;
    margin-bottom: 0;
    background: #ffffff;
    border: 1px solid #ECECEC;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.carousel-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 2;
}

.carousel-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.carousel-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    color: #ff6b35;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    color: #333;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255,255,255,1);
    border-color: #ff6b35;
    color: #ff6b35;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.6);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

.dot.active {
    background: #ff6b35;
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* 内容区域布局 */
.content-sections {
    margin-top: 30px;
}

.section-row {
    display: flex;
    padding-right: 5px;
    height: 526px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-row .weekly-popular-section,
.section-row .hot-recommendations-section,
.section-row .completed-recommendations-section,
.section-row .recent-updates-section {
    flex: 1;
    margin-bottom: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-row .sidebar-section {
    width: 280px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.section-row .manga-grid {
    padding: 10px 20px;
    gap: 15px;
    height: calc(100% - 80px);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-content: stretch;
}


.section-row .manga-card-large {
    height: 100%;
    min-height: 120px;
    max-height: 200px;
    gap: 5px;
}

.section-row .manga-cover-large {
    width: 97px;
    height: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-row .manga-cover-large:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.section-row .manga-info-large {
    padding: 8px;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.section-row .manga-info-large:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.section-row .manga-title-large {
    /*font-size: 0.85rem;*/
    font-size: 16px;    /*kevin 修改*/
    margin-bottom: 4px;
}

.section-row .manga-description {
    /*font-size: 0.7rem;*/
    font-size: 14px;    /*kevin 修改*/
    line-height:24px;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
}

.section-row .manga-category-large {
    /*font-size: 0.65rem;*/
    font-size: 14px;    /*kevin 修改*/
    padding: 2px 6px;
}

.night-mode .section-row {
    background: #2d2d2d;
}

/* 每日韩漫更新样式 */
.daily-updates-section {
    height: 281px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-bottom: 10px;*/
    margin-bottom: 0px; /*kevin 修改*/
    flex-shrink: 0;
    position: relative;
}

.section-header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    /*background: #000000;*/  /*kevin 去掉 黑线*/
    z-index: 1;
}

/* section-title样式已移动到common.css中 */

.section-controls {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.manga-scroll-container {
    display: flex;
    gap: 61px;
    overflow-x: auto;
    margin-left: 65px;
    margin-right: 65px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    flex: 1;
    min-height: 0;
    max-height: calc(100% - 60px);
}

.manga-scroll-container::-webkit-scrollbar {
    display: none;
}

.manga-item {
    flex-shrink: 0;
    width: 97px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-right:-42px; /*kevin 新增*/
}

.manga-img {
    flex-shrink: 0;
    width: 97px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manga-text {
    flex-shrink: 0;
    text-align: center;
    padding-top: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.manga-item:hover {
    transform: translateY(-2px);
}

.manga-cover {
    width: 97px;
    height: 128px;
    border-radius: 6px;
    margin-top: 5px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    flex-shrink: 0;
}

.manga-cover:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.manga-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.night-mode .manga-title {
    color: #e0e0e0;
}

.manga-category {
    font-size: 14px;
    color: #888;
    background: transparent;
    padding: 0;
    border-radius: 0;
    flex-shrink: 0;
    margin-top: auto;
}

/* 每周火爆韩漫和热门推荐样式 */
.weekly-popular-section,
.hot-recommendations-section,
.completed-recommendations-section {
    margin-bottom: 40px;
}

/* 完结韩漫推荐内容包装器 */
.completed-content-wrapper {
    display: flex;
    gap: 20px;
    height: calc(100% - 80px);
    padding: 20px;
}

/* 左侧参考图片区域 */
.reference-image-section {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.reference-card {
    /*background: white;*/
    background: #F3F2EE; /*kevin 修改*/
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.night-mode .reference-card {
    background: #2d2d2d;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.night-mode .reference-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.reference-cover {
    width: 97px;
    height: 128px;
    object-fit: cover;
    margin: 20px auto;
    display: block;
}

.reference-card:hover .reference-cover {
    transform: none;
}

.reference-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 15px 15px 8px 15px;
    text-align: center;
    line-height: 1.3;
}

.night-mode .reference-title {
    color: #e0e0e0;
}

.reference-category {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin: 0 15px 12px 15px;
    font-weight: 500;
}

.night-mode .reference-category {
    color: #aaa;
}

.reference-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0 15px 15px 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.night-mode .reference-description {
    color: #aaa;
}

.reference-book-details-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 15px 15px 15px;
    align-self: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.reference-book-details-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.night-mode .reference-book-details-btn {
    background: #ff6b35;
}

.night-mode .reference-book-details-btn:hover {
    background: #e55a2b;
}

/* 右侧内容区域 */
.completed-manga-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    overflow: hidden;
}

.manga-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    flex: 1;
    overflow: hidden;
}

.manga-card-large {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 3px;
    overflow: hidden;
    /* box-shadow: 0 1px 4px rgba(0,0,0,0.08); */
    text-align: left;
    height: 100%;
    min-height: 120px;
    max-height: 200px;
    gap: 5px;
}

.night-mode .manga-card-large {
    background: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.manga-cover-large {
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.manga-cover-large:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.manga-info-large {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.manga-info-large:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.manga-title-large {
    font-size: 1rem;
    /*font-weight: 600;*/
    font-weight: 400; /*kevin 修改*/
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.night-mode .manga-title-large {
    color: #e0e0e0;
}

.manga-description {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.night-mode .manga-description {
    color: #aaa;
}

.manga-category-large {
    font-size: 0.75rem;
    /*color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);*/ /*kevin 去掉*/
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: auto;
}

/* 书籍详情按钮样式 */
.book-details-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    align-self: flex-start;
}

.book-details-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.night-mode .book-details-btn {
    background: #ff6b35;
}

.night-mode .book-details-btn:hover {
    background: #e55a2b;
}

/* 右侧边栏样式 */
.sidebar-section {
    background: white;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.night-mode .sidebar-section {
    background: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.sidebar-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff6b35;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 0;
    border: none;
    text-align: left;
}

.night-mode .sidebar-title {
    color: #e0e0e0;
    background-color: #3d3d3d;
}

/* 作品分类样式 */
.category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex: 1;
    padding: 5px 0;
}

.category-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 0;
    transition: all 0.3s;
    margin-bottom: 2px;
    border: none;
    min-height: 36px;
    gap: 8px;
}

.category-item:hover {
    background: #f8f9fa;
    transform: none;
}

.night-mode .category-item:hover {
    background: #3d3d3d;
}

.category-item.selected {
    background: transparent;
    color: #333;
    transform: none;
}

.category-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}


.category-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 400;
    transition: all 0.3s;
}

.night-mode .category-name {
    color: #e0e0e0;
}

.category-item.selected .category-name {
    color: rgb(225, 107, 68);
    font-weight: 600;
}

/* 排行榜样式 */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding-left: 6px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    height: 32px;
    overflow: hidden;
    gap: 8px;
}

.ranking-item-hover .ranking-number,
.ranking-item-hover .ranking-title,
.ranking-item-hover .ranking-popularity {
    display: flex;
    align-items: center;
}

.ranking-item-hover:hover .ranking-number,
.ranking-item-hover:hover .ranking-title,
.ranking-item-hover:hover .ranking-popularity {
    display: none;
}

.ranking-item-first {
    opacity: 1;
    height: 90px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.ranking-item-first .ranking-details {
    opacity: 1;
    transform: translateY(0);
    position: static;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
}

.ranking-item-first .ranking-cover {
    opacity: 1;
    position: static;
    transform: none;
}

.ranking-item-first .ranking-number,
.ranking-item-first .ranking-title,
.ranking-item-first .ranking-popularity {
    display: none;
}

/* 第一个项目的详情文字样式，与第二个项目悬停时保持一致 */
.ranking-item-first .ranking-number-full {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff6b35;
}

.ranking-item-first .ranking-title-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.ranking-item-first .ranking-category {
    font-size: 0.7rem;
    color: #666;
}

.ranking-item-first .ranking-popularity-full {
    font-size: 0.7rem;
    color: #ff6b35;
    font-weight: 600;
}

/* 移除之前的悬停逻辑，现在由JavaScript控制 */

.ranking-item-hover {
    opacity: 1;
    cursor: pointer;
    height: 35px;
}

.ranking-item-hover .ranking-details {
    opacity: 0;
    transform: translateY(-10px);
}

.ranking-item-hover .ranking-cover {
    opacity: 0;
}

.ranking-item-hover:hover {
    opacity: 1;
    height: 80px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}






.ranking-details {
    position: absolute;
    left: 8px;
    top: 8px;
    right: 60px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 16px);
    overflow: hidden;
}


.ranking-number-full {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff6b35;
}

.ranking-title-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.ranking-category {
    font-size: 0.7rem;
    color: #666;
}

.ranking-popularity-full {
    font-size: 0.7rem;
    color: #ff6b35;
    font-weight: 600;
}

.ranking-cover {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 71px;
    height: 86px;
    object-fit: cover;
    border-radius: 3px;
    opacity: 0;
    transition: all 0.3s ease;
}



.night-mode .ranking-item {
    border-bottom-color: #3d3d3d;
}

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

.ranking-number {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    min-width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #ff6b35;
    flex-shrink: 0;
}

.ranking-item:nth-child(1) .ranking-number {
    background: #ff6b35;
}

.ranking-item:nth-child(2) .ranking-number {
    background: #69D0F8;
}

.ranking-item:nth-child(3) .ranking-number {
    background: #e74c3c;
}

.ranking-item:nth-child(n+4) .ranking-number {
    background: #95a5a6;
}

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

.ranking-title {
    font-size: 0.8rem;
    /*font-weight: 600;*/
    font-weight: 400; /*kevin 修改*/
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.night-mode .ranking-title {
    color: #e0e0e0;
}

.ranking-category {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2px;
}

.night-mode .ranking-category {
    color: #aaa;
}

.ranking-popularity {
    font-size: 0.7rem;
    color: #ff6b35;
    font-weight: 600;
    flex-shrink: 0;
    text-align: right;
}

/* 二维码样式已移动到common.css中 */

.qr-text {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.night-mode .qr-text {
    color: #e0e0e0;
}

.qr-subtext {
    font-size: 0.9rem;
    color: #666;
}

.night-mode .qr-subtext {
    color: #aaa;
}

/* 固定二维码样式已移动到common.css中 */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
    min-width: 150px;
}

/* 特色区域 */
.features-section {
    padding: 80px 0;
    background: white;
}

.night-mode .features-section {
    background: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.night-mode .feature-card {
    background: #2d2d2d;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.night-mode .feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.night-mode .feature-title {
    color: #e0e0e0;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.night-mode .feature-description {
    color: #aaa;
}

/* 推荐区域 */
.recommendations-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.night-mode .recommendations-section {
    background: #2d2d2d;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.manga-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.night-mode .manga-card {
    background: #2d2d2d;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.manga-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.night-mode .manga-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.manga-cover {
    width: 100%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.manga-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="manga-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23manga-pattern)"/></svg>');
    opacity: 0.3;
}

.manga-info {
    padding: 20px;
}

.manga-title {
    /*font-size: 1.1rem;*/
    font-size: 16px;    /*kevin 修改*/
    /*font-weight: bold;*/ /*kevin 去掉*/
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
}

.night-mode .manga-title {
    color: #e0e0e0;
}

.manga-author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.night-mode .manga-author {
    color: #aaa;
}

.manga-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.manga-tag {
    background: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* 统计区域 */
.stats-section {
    padding: 60px 0;
    background: #ff6b35;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页面缩放样式 */
body {
    overflow-x: auto;
    min-width: 1200px;
}

.content-wrapper {
    min-width: 1200px;
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    transform-origin: top center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

/* 确保所有子元素在缩放时保持比例 */
.hero-category-row,
.section-row,
.manga-grid,
.ranking-list,
.updates-table {
    flex-shrink: 0;
}

/* 固定布局 - 移除响应式设计 */

/* 最近更新漫画样式 */
.recent-updates-section {
    margin-bottom: 40px;
}

.updates-table-container {
    flex: 1;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* 增加最小高度以适应15条数据 */
}

/* 表格内容区域 */
.table-content {
    flex: 1;
    overflow-y: auto; /* 允许垂直滚动 */
    margin-bottom: 15px;
    max-height: 400px; /* 设置最大高度，超出时滚动 */
}

.updates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.updates-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.updates-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
}

.updates-table th:last-child {
    border-right: none;
}

.updates-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.updates-table td:last-child {
    border-right: none;
}

.updates-table tbody tr:hover {
    background: #f8f9fa;
}

/* 表格行点击样式 */
.updates-row {
    cursor: pointer;
    transition: all 0.2s ease;
}

.updates-row:hover {
    background: #f8f9fa;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.updates-row:active {
    transform: translateX(1px);
    background: #e9ecef;
}

.updates-table tbody tr:last-child td {
    border-bottom: none;
}

.category-cell {
    color: #ff6b35;
    font-weight: 500;
    font-size: 0.75rem;
    width: 80px;
}

.title-cell {
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.title-cell:hover {
    color: #ff6b35;
}

.chapter-cell {
    color: #666;
    font-size: 0.8rem;
}

.author-cell {
    color: #666;
    font-size: 0.8rem;
    width: 60px;
}

.time-cell {
    color: #999;
    font-size: 0.75rem;
    width: 80px;
}

.night-mode .updates-table {
    background: #2d2d2d;
    color: #e0e0e0;
}

.night-mode .updates-table thead {
    background: #3d3d3d;
    border-bottom-color: #555;
}

.night-mode .updates-table th {
    color: #e0e0e0;
    border-right-color: #555;
}

.night-mode .updates-table td {
    border-bottom-color: #444;
    border-right-color: #444;
}

.night-mode .updates-table tbody tr:hover {
    background: #3d3d3d;
}

.night-mode .title-cell {
    color: #e0e0e0;
}

.night-mode .title-cell:hover {
    color: #ff6b35;
}

.night-mode .chapter-cell,
.night-mode .author-cell {
    color: #aaa;
}

.night-mode .time-cell {
    color: #888;
}

.night-mode .updates-row:hover {
    background: #3d3d3d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.night-mode .updates-row:active {
    background: #2d2d2d;
}

/* 更新表格内容样式 */
.update-category {
    width: 100px;
}

.update-title {
    width: 150px;
}

.update-chapter {
    width: 150px;
}

.update-author {
    width: 80px;
}

.update-time {
    width: 100px;
    text-align: right;
}

.category-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.night-mode .category-tag {
    color: #e0e0e0;
    background: #3d3d3d;
    border-color: #555;
}

.title-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.title-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.night-mode .title-link {
    color: #e0e0e0;
}

.night-mode .title-link:hover {
    color: #64b5f6;
}

