.game-index-top{
    width: 100%;
    display: flex;
    gap: 20px;
}

.game-main-slider{
    width: 634px;
    height: 358px;
    background: #23252B;
    border-radius: 8px;
}

.game-top-right{
    flex: 1;
}

.game-top-gift-list{
    display: grid;               /* 开启 Grid 网格布局 */
    grid-template-columns: repeat(2, 1fr);  /* 关键：2列均分，1fr 表示占满剩余空间 */
    gap: 16px;                   /* 列表项水平+垂直间距，与 Flex 一致 */
    padding: 0;
    margin: 0;
    list-style: none;            /* 清除默认列表符号 */
}

.top-game-big-list-item{
    flex: 0 0 auto; /* 关键：禁止item拉伸/收缩，保持固定宽度 */
    border-radius: 8px;
    width: 302px;
    position: relative;
}


.game-tj-icon{
    width: 302px;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
}

.game-tj-des{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    line-height: 30px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: bold;
    /* 省略核心属性（缺一不可） */
    overflow: hidden;         /* 隐藏超出内容 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
    display: -webkit-box;     /* 开启webkit弹性盒模型，为多行省略做基础 */
    -webkit-line-clamp: 1;    /* 控制显示行数，2=仅显示2行，超出隐藏 */
    -webkit-box-orient: vertical; /* 弹性盒垂直排列，配合line-clamp截断 */
    /* 关键：必须设置宽度/最大宽度，否则div随文字无限拉伸，永不触发省略 */
}

.no-data-contain{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.no-data-contain.show{
    display: flex;
}

.shop-no-data-contain{
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}


.empty-text{
    font-size: 14px;
    color: #AEAEB2;
}

.tag-top-text{
    font-size: 14px;
    color: #ffffff;
}



.games-bottom-body{
    display: flex;
    gap: 20px;
    margin-top: 20px;

}

.bottom-filter-list{
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: center;
}

.left-games-item{
    padding: 5px 10px;
    border-radius: 16px;
    background: #23252B;
}

.left-games-item.active{
    background: #FF2D78;
}

.left-games-root{
    width: 100%; /* 容器宽度，可改100%占满父级 */
    display: grid; /* 启用Grid布局 */
    padding: 20px 0;
    grid-template-columns: repeat(4, 1fr); /* 核心：固定2列，宽度均分 */
    gap: 10px; /* 子元素之间的「水平+垂直间距」，替代margin，极简 */
}

.games-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.games-title-span{
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
}

.slider-contain{
    height: 458px;
    border-radius: 8px;
    overflow: hidden;
}

.activity-game-contain{
    border-radius: 8px;
    overflow: hidden;
    height: 458px;
    margin-top: 10px;
}

.games-middle-list{
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.games-middle-item{
    position: relative;
    width: 298px;
    height: 254px;
    border-radius: 8px;
    overflow: hidden;
    background: #23252B;
}

.games-middle-item-icon{
    width: 298px;
    height: 174px;
}

.games-middle-left{
    position: relative;
}

.games-middle-right{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.icon_game-logo-img{
    width: 130px;
    height: 130px;
    border-radius: 8px
}

.game-item-span-big{
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

.game-item-span-small{
    padding-left: 10px;
    font-size: 24px;
    color: #FFFFFF;
}

.game-big-des-finet{
    color: #F4F4F4;
    font-size: 14px;
    /* 1. 指定文本容器的宽度（必填，否则无法判断超出） */
    width: 600px; /* 可根据需求改为百分比、vw 等，如 width: 100%; */
    /* 2. 强制文本单行显示 */
    white-space: nowrap;
    /* 3. 超出宽度的内容隐藏 */
    overflow: hidden;
    /* 4. 超出部分用省略号代替 */
    text-overflow: ellipsis;
    /* 可选：避免inline元素不生效，建议设置为block/inline-block */
    display: inline-block;
    /* 可选：防止容器收缩，根据需求添加 */
    min-width: 0;
}

.game-des-head{
    width:100%;
    display: flex;
    align-items: center;
}

.detail-body-content{
    width:100%;
    border-radius: 8px;
    background: #23252B;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 20px;
}

.download-body-content{
    width:100%;
    border-radius: 8px;
    background: #23252B;
    box-sizing: border-box;
    padding: 20px;
    height: 444px;
}

.download-des{
    margin-top: 20px;
}

.download-des-content{
    width:100%;
    border-radius: 8px;
    background: #23252B;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 20px;
}



.shop-contain-des-left{
    margin-top: 20px;
}

.download-game-head{
    font-size: 16px;
    color: #989898;
    font-weight: bold;
}

.download-video-game-head{
    font-size: 16px;
    color: #989898;
    font-weight: bold;
    line-height: 40px;
}



.download-head{
    font-size: 16px;
    color: #989898;
    text-align: center;
    line-height: 30px;
}

.download-head span{
    color: #00c6e6;
}

.download-btn{
    font-size: 16px;
    color: #FFFFFF;
    background: #FF2D78;
    padding: 5px 10px;
    border-radius: 4px;
}

.download-qr-code{
    display: flex;
    gap: 60px;
    margin-top: 20px;
    display: none;
}

.download-qr-code.active{
    display: flex;
}

.download-code{
    width: 200px;
    height: 200px;
}

.download-qr-contain{
    display: flex;
    align-items: center;
    height: 200px;
}

.download-nav{
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.download-type{
    font-size: 16px;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 4px;
}
.download-type.active{
    background: #00c6e6;
}

.games-middle-icon{
    width: 346px;
    height: 520px;
    border-radius: 8px;
}

.games-middle-right-des{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 10px;
}

.middle-left-name{
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.middle-left-des{
    display: flex;
    gap: 10px;
    margin-right: 30px;
}

.game-title-right{
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.game-des-content{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    align-items: flex-end;
}

.game-new-pack{
    height: 56px;
    width: 160px;
    background: #FF2D78;
    border-radius: 8px;
    text-align: center;
    line-height: 56px;
}

.game-collect{
    height: 56px;
    background: #383B45;
    border-radius: 8px;
    text-align: center;
    line-height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-collect-my{
    height: 56px;
    background: #383B45;
    border-radius: 8px;
    text-align: center;
    line-height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 138px;
}

.game-collect-title{
    font-size: 16px;
    color: #FFFFFF;
}

.game-detail-head-root{
    padding: 20px;
    background: #23252B;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
    width: 350px;
    height: 404px;
}

.chart-des{
    font-size: 14px;
    color: #D8D8D8;
    width: 100%;
    text-align: center;
}

.game-like-logo{
    width: 20px;
    height: 18px;
}

.des-right{
    display: flex;
    gap: 10px;
}

.des-left{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-info-text{
    display: flex;
}
.game-info-title{
    font-size: 14px;
    color: #D8D8D8;
}

.game-web-content{
    display: flex;
    gap: 20px;
}

.game-platform-icon{
    width: 20px;
    height: 20px;
}

.game-info-des{
    font-size: 14px;
    color: #3194FF;
}

.game-info-des:hover{
    color: #FF2D78;
}

.game-detail-title-item{
    font-size: 16px;
    font-weight: 500;
    color: white;
    border-right: 1px solid #ADADAD;
    padding: 0 20px;
}

.good-title-must-know{
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: #23252B;
    margin-top: 10px;
    border-radius: 8px;

    display: flex;
    gap: 10px;
}


.game-detail-title-item:hover{
    color: #FF2D78;
}

.game-detail-title-item.active{
    color: #FF2D78;
}

.game-detail-title-item:last-child{
    border-right: none;
}

.game-title-des-finet{
    color: #989898;
    font-size: 14px;
    /* 1. 指定文本容器的宽度（必填，否则无法判断超出） */
    width: 700px; /* 可根据需求改为百分比、vw 等，如 width: 100%; */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制在 2 行 */
    -webkit-box-orient: vertical; /* 垂直排列 */
    overflow: hidden; /* 隐藏超出内容 */
    text-overflow: ellipsis; /* 显示省略号 */
    flex: 1;
}

.game-use-contain{
    width: 100%;
    max-width: 880px;
    display: grid;
    gap: 4px;
    margin: 10px 0;
    margin-top: 20px;
}

/* 不同数量图片的布局规则 */
.game-use-contain[data-count="1"] {
    grid-template-columns: 1fr;
    max-width: 200px;
}
.game-use-contain[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
}
.game-use-contain[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}
.game-use-contain[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
}
.game-use-contain[data-count="5"],
.game-use-contain[data-count="6"],
.game-use-contain[data-count="7"],
.game-use-contain[data-count="8"],
.game-use-contain[data-count="9"] {
    grid-template-columns: repeat(3, 1fr);
}


.game-tag{
    font-size: 14px;
    color: #D8D8D8;
    padding: 0 10px 0 10px;
    border-right: 1px solid #23252B;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 选中.middle-left-des下最后一个.game-tag元素，取消边框 */
.middle-left-des .game-tag:last-child {
    border-right: none; /* 直接取消所有边框 */
}

.middle-left-des .game-tag:first-child {
    padding: 0 10px 0 0;
}

.index-game-types .game-tag:last-child {
    border-right: none; /* 直接取消所有边框 */
}

.index-game-types .game-tag:first-child {
    padding: 0 10px 0 0;
}

.game-tag:hover{
    color: #FF2D78;
}

.game-gift-list{
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.game-limit-contain{
    height: 812px;
    padding: 20px;
    background: #23252B;
    border-radius: 8px;
}

.game-limit-big{
    margin-top: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.game-top-data-info{
    position: absolute;
    top: 5px;
    right: 5px;
    height: 25px;
    display: flex;
    overflow: hidden;
    margin-bottom: 3px;

    padding: 0px 8px;
    background: #FF2D78;
    border-radius: 16px;

    align-items: center;
    justify-content: center;
    gap: 5px;
}

.game-bottom-data-info{
    position: absolute;
    bottom: 0px;
    right: 2px;
    height: 25px;
    display: flex;
    overflow: hidden;
    margin-bottom: 3px;

    padding: 0px 8px;
    background: #FF2D78;
    border-radius: 16px;

    align-items: center;
    justify-content: center;
    gap: 5px;
}

.game-list-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-gift-limit-list{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-middle-right-des{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 0 0 10px;
    box-sizing: border-box;
}

.game-little-item{
    height: 92px;
    display: flex;
    align-items: center;
    background: #23252B;
    position: relative;
}

.game-little-des{
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.game-limit-icon{
    width: 372px;
    height: 212px;
    border-radius: 8px;
    position: relative;
}

.game-little-icon{
    width: 160px;
    height: 92px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.rank-game-score{
    width: 100px;
    font-size: 16px;
}

.rank-game-des{
    display: flex;
    align-items: center;
    width: 150px;
    gap: 5px;
    justify-content: center;
}

.rank-up-icon{
    width: 16px;
    height: 16px;
    overflow: hidden;
}

.rank-up-score{
    width: 80px;
    font-size: 16px;
}


.game-start-info{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    margin-bottom: 3px;
}

.rank-start-info{
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.game-little-start-info{

}

.game-body-base-no-top{
    width: 1280px;
    margin: 0 auto;
}

.top-head{
    width: 100%;

}

.game-top-title{
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.game-top-des{
    font-size: 16px;
    color: #D1D5DB;
}


/* 焦点横幅 - 重磅活动 */
.banner {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
}
.banner-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
}
.banner-item.active {
    opacity: 1;
}
.banner-content {
    position: absolute;
    max-width: 600px;
    left: 100px;
    top: 20%;
    margin: auto; /* 核心：自动分配外边距实现居中 */
}
.banner-content .tag {
    margin-bottom: 16px;
}
.banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.banner-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #D1D5DB;
}
.banner-dot {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.banner-dot span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
}
.banner-dot span.active {
    background-color: #0078FF;
    width: 30px;
    border-radius: 6px;
}

.game-content{
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-rank-num{
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.rank-item{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #23252B;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
}

.rank-game-img{
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}
.rank-game-name{
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
}

.rank-game-contain{
    display: flex;
    gap: 5px;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}


.game-title-span{
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    /* 保留原有基础样式，删除单行省略的 white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* 核心：开启多行省略适配 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 控制显示的行数，2=2行，可按需修改 */
    -webkit-box-orient: vertical;
}

.game-list-root{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.stars-wrapper-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bottom-start-contain{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
}

.detail-game-vir{
    margin-top: 10px;
}

.detail-item{
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.detail-download{
    height: 56px;
    width: 100%;
    background: #FF2D78;
    border-radius: 8px;
    text-align: center;
    line-height: 56px;
    font-size: 16px;
}

.game-detail-download{
    padding: 10px;
}

.stars-container {
    display: flex;
    cursor: pointer;
    position: relative;
    height: 30px;
}

.star {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    position: relative;
}

.star-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #777C8F;
    font-size: 30px;
    line-height: 1;
    z-index: 1;
}

.star-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #FF2D78;
    font-size: 30px;
    line-height: 1;
    overflow: hidden;
    z-index: 2;
    transform: translateX(0);
}

.rating-value {
    font-size: 18px;
    font-weight: bold;
    color: #f8f9fa;
    min-width: 50px;
    padding: 5px 15px;
    border-radius: 8px;
}

.download-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

