

.home-bg{
    width: 100%;
    height: 100vh;
    /*background: linear-gradient( 173deg, var(--primary) 0%, rgba(216,216,216,0) 455px,#f4f4f4 100%);*/
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
}
.container{
    position: relative;
    z-index: 1;
}

/*===header===*/
.header{
    padding: 30px 15px 0;
}
.header .slogan-bar{
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}
.header .slogan-bar .slogan-left{
    flex: 1;
}
.header .slogan-bar .slogan-title{
    width: 230px;
    height: 24px;
    background-image: url("../img/slogan.png");
    background-repeat: no-repeat;
    background-size: 100%;
}
.header .slogan-bar .slogan-subtitle{
    font-weight: 350;
    font-size: 10px;
    color: #FFFFFF;
    line-height: 21px;
}
.header .slogan-bar .customer-service{
    display: block;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    background-image: url('../icon/icon-customer-service.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.header .search-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
    padding: 0 3px;
    background: #FFFFFF;
}
.header .search-bar .icon{
    width: 22px;
    height: 22px;
    background-image: url('../icon/icon-search.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 3px;
}
.header .search-bar .search-input{
    flex: 1;
    line-height: 30px;
    border:none;
    background: transparent;
    outline: none;
}
.header .search-bar .btn-search{
    line-height: 24px;
    padding: 0 13px;
    font-weight: 350;
    font-size: 10px;
    color: #FFFFFF;
    background: var(--primary);
}

/*===banner===*/
.swiper-container {
    height: 120px;
    margin: 10px 15px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,.1);
}

/*===tool bar===*/
.tool-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background: #333;
    padding: 20px 20px 10px;
    margin: 12px 15px;
}
.tool-bar .tool-item{
    flex: 0 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tool-bar .tool-item .icon{
    width: 37px;
    height: 37px;
    background-size: cover;
    background-repeat: no-repeat;
}
.tool-bar .tool-item .icon.icon-fast-recovery{
    background-image: url("../icon/icon-fast-recovery.png");
}
.tool-bar .tool-item .icon.icon-account-choose{
    background-image: url("../icon/icon-account-choose.png");
}
.tool-bar .tool-item .icon.icon-account-estimate{
    background-image: url("../icon/icon-account-estimate.png");
}
.tool-bar .tool-item .icon.icon-guaranty{
    background-image: url("../icon/icon-guaranty.png");
}
.tool-bar .tool-item .icon.icon-game-coin{
    background-image: url("../icon/icon-game-coin.png");
}

.tool-bar .tool-item .title{
    font-weight: 500;
    font-size: 12px;
    color: #BEBEBE;
    line-height: 30px;
}
.tool-bar .tool-item.active .title{
    font-weight: 700;
    color: #FFFFFF;
}

/*===game list===*/
.game-list-box{
    margin: 10px 15px;
    border-radius: 5px;
    /*background: #333;*/
}
.game-list-box .game-title-bar{
    display: flex;
    flex-direction: row;
}
.game-list-box .game-title-bar .game-title-item{
    height: 30px;
    font-weight: 500;
    font-size: 14px;
    color: #BFC2CC;
    line-height: 30px;
    margin-right: 45px;
    transition: all .4s ease;
}
.game-list-box .game-title-bar .game-title-item.active{
    font-weight: 500;
    font-size: 16px;
    color: #303133;
    line-height: 23px;
    position: relative;
}
.game-list-box .game-title-bar .game-title-item.active:after{
    display: block;
    content: '';
    width: 100%;
    height: 7px;
    background: var(--primary);
    position: absolute;
    left: 0;
    bottom: 0;
}
.game-list-box .game-list{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    row-gap: 10px;
    padding: 15px;
}
.game-list-box .game-list .game-item-content{
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.game-list-box .game-list .game-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.game-list-box .game-list .game-item .icon{
    width: 45px;
    height: 45px;
    border-radius: 5px;
}
.game-list-box .game-list .game-item .title{
    width: 100%;
    font-weight: 500;
    font-size: 10px;
    color: #EDEDED;
    line-height: 14px;
    text-align: center;
    margin-top: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.game-list-box .game-list .game-more-item .icon{
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    border-radius: 8px;
    background: var(--primary);
}

/*===service box===*/
.service-box{
    margin: 10px 15px 0;
}
.service-box .service-tab-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.service-box .service-tab-bar .service-tab{
    flex: 1;
    height: 34px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 34px;
    position: relative;
}
.service-box .service-tab-bar .service-tab.active{
    border-radius: 10px 10px 0 0;
    background: #333;
}
.service-box .service-tab-bar .service-tab:first-child.active:after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: #333;
    border-radius: 0 10px 0 0;
    transform: skewX(22deg);
    transform-origin: left top;
}
.service-box .service-tab-bar .service-tab:last-child.active:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: #333;
    border-radius: 10px 0 0 0;
    transform: skewX(-22deg);
    transform-origin: left top;
}
.service-box .service-item{
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 125px;
    border-radius: 0 0 10px 10px;
    padding: 0 20px;
    background: #333;
}
.service-box .service-item.show{
    display: flex;
}
.service-box .service-item .icon{
    background-size: cover;
    background-repeat: no-repeat;
}
.service-box .service-item .slogan{
    background-size: cover;
    background-repeat: no-repeat;
}
.service-box .service-item.service-insurance-item .icon{
    width: 81px;
    height: 80px;
    margin-left: 20px;
    background-image: url("../icon/icon-give.png");
}
.service-box .service-item.service-insurance-item .slogan{
    width: 164px;
    height: 67px;
    margin-right: 20px;
    background-image: url("../img/slogan-insurance.png");
}
.service-box .service-item.service-recovery-item .icon{
    width: 120px;
    height: 120px;
    background-image: url("../icon/icon-recover.png");
}
.service-box .service-item.service-recovery-item .slogan{
    width: 204px;
    height: 68px;
    background-image: url("../img/slogan-recover.png");
}

/*===goods list===*/
.goods-list-box{
    padding: 0 15px;
    border-radius: 10px 10px 0 0;
}
.goods-list-box .goods-title-bar{
    height: 40px;
    margin-bottom: 10px;
    overflow: hidden;
}
.goods-list-box .goods-title-bar .goods-title-wrapper{
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 60px;
    overflow-x: auto;
    scrollbar-width: none;
}
.goods-list-box .goods-title-bar .goods-title-item{
    flex-shrink: 0;
    margin: 6px 0;
}
.goods-list-box .goods-title-bar .goods-title-item .title{
    height: 28px;
    line-height: 28px;
    font-weight: 400;
    font-size: 14px;
    color: #D8D8D8;
    border-radius: 14px;
}
.goods-list-box .goods-title-bar .goods-title-item.active .title{
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.goods-list-box .goods-item{
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: #333;
}
.goods-list-box .goods-item:not(:last-child){
    margin-bottom: 10px;
}
.goods-list-box .goods-item .cover-box{
    width: 100%;
    height: 213px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.goods-list-box .goods-item .cover-box .cover{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}
.goods-list-box .goods-item .right-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
    padding: 0 7px;
}
.goods-list-box .goods-item .right-bar .right-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    color: #fff;
    border-radius: 10px;
    padding: 0 5px;
    margin-right: 12px;
    background: linear-gradient( 180deg, #78DBCC 0%, #28DCC0 100%);
}
.goods-list-box .goods-item .right-bar .right-item .icon{
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background-size: 100%;
    background-repeat: no-repeat;
}
.goods-list-box .goods-item .right-bar .right-item .icon.retrieve-compensation{
    background-image: url("../icon/icon-retrieve-compensation.png");
}
.goods-list-box .goods-item .right-bar .right-item .icon.no-goods-compensation{
    height: 11px;
    background-image: url("../icon/icon-no-goods-compensation.png");
}
.goods-list-box .goods-item .title{
    font-weight: 400;
    font-size: 16px;
    color: #D8D8D8;
    line-height: 24px;
    padding: 0 10px 10px;
}
.goods-list-box .goods-item .price-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 10px;
}
.goods-list-box .goods-item .price-bar .price{
    font-weight: 700;
    font-size: 16px;
    color: #EB392D;
}
.goods-list-box .goods-item .price-bar .views{
    font-weight: 350;
    font-size: 12px;
    color: #9F9F9F;
}

.goods-list-box .goods-list .empty-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 50px;
    line-height: 50px;
    color: #ccc;
}

.loading{
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ccc;
}
