/* ===================== 轮播Banner ===================== */
.wxmm-i-banner {
    width: 100%;
    height: 420px;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.wxmm-i-swiper {
    width: 100%;
    height: 100%;
}
.wxmm-i-swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #0f172a 100%);
    color: #fff;
}
/* 轮播内容动画 */
.wxmm-i-slide-content {
    position: absolute;
    left: 80px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.wxmm-i-swiper-slide-active .wxmm-i-slide-content {
    opacity: 1;
    transform: translateX(0);
}
.wxmm-i-slide-content-right {
    right: 80px;
    left: auto;
    transform: translateX(50px);
}
.wxmm-i-swiper-slide-active .wxmm-i-slide-content-right {
    transform: translateX(0);
}
.wxmm-i-slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.wxmm-i-slide-desc {
    font-size: 16px;
    margin-bottom: 25px;
    color: #e2e8f0;
    line-height: 1.8;
}
.wxmm-i-swiper-pagination {
    bottom: 20px !important;
}
.wxmm-i-swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}
.wxmm-i-swiper-pagination-bullet-active {
    background-color: #27ae60;
    width: 30px;
    border-radius: 6px;
}
.wxmm-i-swiper-button-next,
.wxmm-i-swiper-button-prev {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}
.wxmm-i-swiper-button-next:hover,
.wxmm-i-swiper-button-prev:hover {
    background-color: #27ae60;
}

/* ===================== 核心板块通用样式 ===================== */
.wxmm-i-section {
    margin-bottom: 50px;
}
/* 板块标题区域 */
.wxmm-i-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.wxmm-i-section-header .wxmm-i-title {
    margin-bottom: 0;
}
.wxmm-i-more-link {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.wxmm-i-more-link i {
    margin-left: 5px;
}
/* Tab切换样式 */
.wxmm-i-tab-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}
.wxmm-i-tab-item {
    padding: 12px 20px;
    font-size: 16px;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.wxmm-i-tab-item.active {
    color: #1a237e;
    font-weight: 600;
}
.wxmm-i-tab-item.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #27ae60;
    border-radius: 3px 3px 0 0;
}
.wxmm-i-tab-item:hover:not(.active) {
    color: #27ae60;
}
.wxmm-i-tab-content {
    display: none;
}
.wxmm-i-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================== 漫画卡片布局 - 差异化设计 ===================== */
/* 卡片网格容器 */

/* 标准卡片 - 垂直布局 */
.wxmm-i-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.wxmm-i-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.wxmm-i-card-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 40px;
    position: relative;
    overflow: hidden;
    height: 330px;
    align-items: flex-end;
}
.wxmm-i-card-img img{
    width:100%;
}
.wxmm-i-card-rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #f39c12;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.wxmm-i-card-info {
    padding: 15px;
}
.wxmm-i-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wxmm-i-card-author {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}
.wxmm-i-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f59e0b;
    font-size: 14px;
}
.wxmm-i-card-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: #e8f5e9;
    color: #27ae60;
    font-size: 12px;
    border-radius: 4px;
    margin-top: 8px;
}
/* 差异化卡片1 - 水平左右布局（奇数行） */
.wxmm-i-card-horizontal {
    grid-column: span 2;
    display: flex;
    height: 220px;
}
.wxmm-i-card-horizontal .wxmm-i-card-img {
    width: 45%;
    height: 100%;
}
.wxmm-i-card-horizontal .wxmm-i-card-info {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* 差异化卡片2 - 大图卡片（跨2列） */
.wxmm-i-card-large {
    grid-column: span 2;
}
.wxmm-i-card-large .wxmm-i-card-img {
    height: 280px;
}
/* 差异化卡片3 - 迷你卡片（紧凑布局） */
.wxmm-i-card-mini {
}
.wxmm-i-card-mini .wxmm-i-card-img {
}
.wxmm-i-card-mini .wxmm-i-card-info {
    padding: 10px;
}
.wxmm-i-card-mini .wxmm-i-card-title {
    font-size: 14px;
}

/* ===================== 热门排行榜 ===================== */
.wxmm-i-rank-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.wxmm-i-rank-list {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.wxmm-i-rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.wxmm-i-rank-item:last-child {
    border-bottom: none;
}
.wxmm-i-rank-item:hover {
    background-color: #f8fafc;
    padding-left: 10px;
}
.wxmm-i-rank-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}
/* 前三名特殊样式 */

.wxmm-i-rank-num.normal { background-color: #e2e8f0; color: #64748b; }
.wxmm-i-rank-num.top1 { background-color: #ef4444; color: #fff; }
.wxmm-i-rank-num.top2 { background-color: #f59e0b; color: #fff; }
.wxmm-i-rank-num.top3 { background-color: #27ae60; color: #fff; }
.wxmm-i-rank-info {
    flex: 1;
}
.wxmm-i-rank-title {
    font-size: 15px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wxmm-i-rank-author {
    font-size: 12px;
    color: #64748b;
}
.wxmm-i-rank-rating {
    color: #f59e0b;
    font-size: 14px;
}


/* 幻灯片样式 */
.wxmm-i-slider-section {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e3e3e3 100%);
    padding: 30px 0;
}
.wxmm-i-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.wxmm-i-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.wxmm-i-slider {
    display: none;
    width: 100%;
}
.wxmm-i-slider.active {
    display: block;
}
.wxmm-i-slider-main {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}
.wxmm-i-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 1.5s ease-in-out;
}
.wxmm-i-slider.active .wxmm-i-slider-bg {
    animation: sliderBgZoom 1.5s ease-in-out;
}
@keyframes sliderBgZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.wxmm-i-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.wxmm-i-slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
}
.wxmm-i-slider-info {
    flex: 1;
    max-width: 500px;
    color: white;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease 0.3s;
    margin-left: 10%;
}
.wxmm-i-slider.active .wxmm-i-slider-info {
    opacity: 1;
    transform: translateY(0);
}
.wxmm-i-slider-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.wxmm-i-slider-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}
.wxmm-i-slider-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}
.wxmm-i-slider-rating i {
    color: #f39c12;
    font-size: 16px;
}
.wxmm-i-slider-rating span {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 600;
}
.wxmm-i-slider-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.wxmm-i-slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}
.wxmm-i-slider-cover {
    width: 180px;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.6s;
    margin-right: 10%;
}
.wxmm-i-slider.active .wxmm-i-slider-cover {
    opacity: 1;
    transform: translateX(0);
}
.wxmm-i-slider-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wxmm-i-slider-prev,
.wxmm-i-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.wxmm-i-slider-prev {
    left: 30px;
}
.wxmm-i-slider-next {
    right: 30px;
}
.wxmm-i-slider-prev:hover,
.wxmm-i-slider-next:hover {
    background-color: #27ae60;
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.wxmm-i-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.wxmm-i-slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgb(57 57 57 / 50%);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.wxmm-i-slider-dot.active {
    background-color: rgb(62, 155, 78);
    width: 30px;
    border-radius: 5px;
}
.wxmm-i-slider-dot:hover {
    background-color: rgba(20, 163, 63, 0.8);
}
/* 分类导航样式 */
.wxmm-i-category-nav {
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-bottom: 30px;
}
.wxmm-i-category-list {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.wxmm-i-category-item {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 10px;
}
.wxmm-i-category-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background-color: #e2e8f0;
}
.wxmm-i-category-item:last-child::after {
    display: none;
}
.wxmm-i-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color, #95a5a6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.wxmm-i-category-icon i {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}
.wxmm-i-category-text {
    color: #64748b;
    font-size: 12px;
    transition: color 0.3s ease;
}
.wxmm-i-category-item:hover {
    transform: translateY(-2px);
}
.wxmm-i-category-item:hover .wxmm-i-category-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.wxmm-i-category-item:hover .wxmm-i-category-text {
    color: #27ae60;
    font-weight: 600;
}