/* ========== 容器 ========== */
.containerBox.w96 {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.content-wrap {
    background: transparent;
}

.main_right {
    width: 100%;
}

.lists-container {
    background: transparent;
}

/* ========== 游戏卡片网格（两列） ========== */
.tabsBox-content {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tabsBox-content li {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    overflow: hidden;
    padding: 14px 16px;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
}

.tabsBox-content li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #e0e7ed;
}

/* ========== 卡片内布局 ========== */
.lists-game-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

/* 左侧游戏图标 */
.list-left-img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: #f0f3f8;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.list-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 中间内容区域 */
.list-centre {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.list-centre-left {
    flex: 1;
    min-width: 0;
}

/* ----- 标题行：仅游戏名称（独占一行） ----- */
.tabLi-title {
    margin-bottom: 8px;
}

.game-name {
    font-size: 16px;
    font-weight: 650;
    color: #1a2c3e;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    padding: 8px 0;
}

/* ----- 三个标签容器（折扣、类型、VIP 在同一行） ----- */
.type-and-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

/* 统一标签基础样式 */
.list-centre-span,
.tabLi-type,
.tags-b {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* 折扣标签（红橙渐变，白字） */
.list-centre-span {
    background: linear-gradient(135deg, #ff5e3a, #ff3b1f);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(255, 59, 31, 0.2);
}

.list-centre-span i {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    margin-left: 1px;
}

/* 游戏类型标签（浅橙底，橙字） */
.tabLi-type {
    background: #fff0ea;
    color: #ff8a5c;
}

/* VIP标签（浅灰底，灰字，细边框） */
.tags-b {
    background: #eff3f8;
    color: #3e5a6b;
    border: 0.5px solid #e2e8f0;
}

/* 右侧下载按钮 */
.list-right {
    flex-shrink: 0;
    text-decoration: none;
}

.list-download {
    background: linear-gradient(105deg, #2d6a4f, #1b4d3e);
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(27, 77, 62, 0.2);
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.list-download:hover {
    background: linear-gradient(105deg, #1f543f, #0f3a2e);
    transform: scale(0.96);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 游戏描述 */
.lists-text-ellipsis {
    color: #777;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #f0f4f9;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== 分页组件 ========== */
.pagebar {
    margin-top: 40px;
    padding: 20px 0 10px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.2s;
    color: #3c5a70;
    background: transparent;
    min-width: 40px;
    text-align: center;
}

.pagination li a:hover {
    background: #f0f4fa;
    color: #ff6b3d;
}

.pagination li.active span {
    background: #ff6b3d;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 107, 61, 0.3);
}

.pagination li.disabled span {
    color: #b9cedf;
    background: #f8fafd;
    cursor: default;
}

/* ========== 响应式适配（移动端单列） ========== */
@media (max-width: 640px) {
    .tabsBox-content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .containerBox.w96 {
        width: 100%;
        padding: 12px;
    }

    .tabsBox-content li {
        padding: 12px;
        border-radius: 18px;
    }

    .list-left-img {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .game-name {
        font-size: 14px;
    }

    .list-centre-span,
    .tabLi-type,
    .tags-b {
        padding: 2px 8px;
        font-size: 10px;
    }

    .list-centre-span i {
        font-size: 9px;
    }

    .list-download {
        padding: 6px 14px;
        font-size: 12px;
        min-width: 66px;
    }

    .lists-text-ellipsis {
        font-size: 11px;
        margin-top: 8px;
        padding-top: 6px;
    }

    .pagination {
        padding: 4px 12px;
        gap: 4px;
    }

    .pagination li a,
    .pagination li span {
        padding: 4px 10px;
        font-size: 12px;
        min-width: 34px;
    }
}

/* ========== 辅助工具类 ========== */
.b_dflex {
    display: flex;
}

.s_align {
    align-items: center;
}

.c_align {
    align-items: center;
}

.s_dflex {
    display: flex;
}