.home-bg {
    width: 100%;
    height: 100vh;
    background-image: url("../img/bg-login-reg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: fixed;
    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: #666666;
    line-height: 21px;
}

.slogan-subtitle {
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 350;
    font-size: 10px;
    color: #464646;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.header .slogan-bar .customer-service {
    display: block;
    width: 17px;
    height: 15px;
    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: 36px;
    padding: 0 5px;
    background: #FFFFFF;
    border-radius: 18px;
}

.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 {
    line-height: 26px;
    padding: 0 15px;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 13px;
}

.btn-search {
    font-weight: 350;
    font-size: 10px;
    color: #9F9F9F;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 0 15px;
}

.search-bar {
    background: #FFFFFF !important;
    border-radius: 5px 5px 5px 5px !important;
    font-weight: 350;
    font-size: 10px;
    color: #9F9F9F;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/*===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: 10px;
    background: #fff;
    padding: 15px 20px;
    margin: 0 15px;
    font-family: 'Source Han Sans', 'PingFang SC', 'microsoft yahei', sans-serif;
}

.tool-bar .tool-item {
    flex: 0 0 40px;
    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: 350;
    font-size: 10px;
    color: #3D3D3D;
    line-height: 21px;
    margin-top: 5px;
}

/*===game list===*/
.game-list-box {
    margin: 10px 15px;
}

.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: 5px 10px;
}

.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: 10px;
}

.game-list-box .game-list .game-item .title {
    width: 100%;
    font-weight: 500;
    font-size: 10px;
    color: #626262;
    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: 10px;
    background: rgba(131, 159, 255, 1);
}

/*===service box===*/
.service-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 15px 15px;
    background-image: url("../img/service-box-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
}

/* .service-box .service-divider,
.service-box .service-content {
    flex: 1;
} */

.service-box .service-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 10px;
}

.service-box .service-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 53px;
    /*border-radius: 10px;*/
    padding: 0 20px;
    background: #FDFDFD;
    position: relative;
}

.service-item {
    width: 178px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 5px 5px 5px 5px;
}

.service-box {
    height: 128px;
}

.service-box .service-content {
    padding-left: 0;
}

.service-box .service-item .title-bar,
.service-box .service-item .title-bar .recommend {
    display: flex;
    flex-direction: row;
}

.service-box .service-item .title-bar {
    width: 100%;
    align-items: center;
}

.service-box .service-item .title-bar .title {
    font-weight: 700;
    font-size: 12px;
    color: #839FFF;
    line-height: 17px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.service-box .service-item .title-bar .recommend {
    height: 10px;
    /* color: #F86A03; */
    font-size: 8px;
    align-items: center;
    border-radius: 6px;
    padding: 0 3px;
    margin-left: 5px;
    /* border: 1px solid #F86A03; */
}

.service-box .service-item .title-bar .recommend .icon {
    width: 6px;
    height: 6px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../icon/icon-give.png");
    margin-right: 3px;
}

.recommend {
    border-radius: 6px 6px 6px 6px;
    border: 1px solid #839FFF;
}

.service-box .service-item .subtitle {
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 350;
    font-size: 10px;
    color: #839FFF;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 3px;
}

.service-box .service-item.service-recovery-item:after {
    display: block;
    content: '';
    width: 35px;
    height: 35px;
    background-image: url("../icon/icon-recover.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 5px;
    top: 12px;
}

/*===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;
    /*align-items: center;*/
    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: #9F9F9F;
    border-radius: 14px;
}

.goods-list-box .goods-title-bar .goods-title-item.active .title {
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: #3D3D3D;
}

.goods-list-box .goods-item {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: #fff;
}

.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, rgba(131, 159, 255, 1) 0%, rgba(131, 159, 255, 1) 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: #3D3D3D;
    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;
}
