/* 首页独立样式 */

/* banner */
.banner {
    background: rgba(60, 223, 173, .85);
    padding: 0.3rem;
    position: relative;
}

.banner .bigBg {
    position: absolute;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner .bannerBox {
    height: 3.75rem;
    overflow: hidden;
    position: relative;
}

.banner .bannerBox .bannerList {
    height: 100%;
    position: relative;
}

.banner .bannerBox .bannerList a {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.banner .bannerBox .bannerList a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.1rem;
}

.banner .bannerBox .bannerList a > div {
    position: absolute;
    bottom: 0.2rem;
    left: 0.3rem;
    font-size: 0.24rem;
    color: #fff;
    z-index: 3;
    display: flex;
    align-items: center;
}

.banner .bannerBox .bannerList a > div > span {
    display: block;
    width: 0.1rem;
    height: 0.1rem;
    background: #3CDFAD;
    border-radius: 50%;
    margin-right: 0.1rem;
}

.banner .bannerBox .bannerList a.active {
    opacity: 1;
    z-index: 2;
}

.banner .bannerBox .bannerList a::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: .47rem;
    width: 100%;
    height: 1rem;
    text-align: center;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, transparent 98%);
    border-radius: 0 0 .1rem .1rem;
}

.banner .bannerBox .bannerNum {
    position: absolute;
    bottom: 0.2rem;
    right: 0.3rem;
    font-size: 0.24rem;
    color: #fff;
    z-index: 3;
}

.banner .bannerBox .bannerNum span:first-child {
    color: #3CDFAD;
}

.banner .tag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.banner .tag a {
    padding: 0 .33rem;
    height: .46rem;
    font-size: 0.24rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
    border-radius: .22rem;
    margin: 0 .28rem .19rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 新游推荐 */
.gameList {
    padding: .1rem 0 .2rem .3rem;
    background-color: #fff;
    display: flex;
    overflow-x: auto;
}

.gameList::-webkit-scrollbar {
    display: none;
}

.gameList a {
    display: block;
    height: 2.47rem;
    background: #F6F7F9;
    width: 2rem;
    margin-right: .16rem;
    min-width: 2rem;
    font-size: .22rem;
    color: #222529;
    font-weight: bold;
    text-align: center;
    border-radius: .12rem;
}

.gameList a > div {
    width: 100%;
    height: 0.67rem;
    line-height: 0.67rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gameList a > div svg {
    width: .24rem;
    height: .24rem;
    position: relative;
    top: .02rem;
}

.gameList a > img {
    width: 1.42rem;
    height: 1.42rem;
    margin: auto;
    border-radius: .28rem;
}

.gameListWrap {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
}

/* 排行榜单 */
.rank {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.rankList {
    padding: 0 0.3rem;
    width: 100%;
    display: flex;
    padding-bottom: .2rem;
    position: relative;
    left: 0%;
    transition: left 0.3s ease-in-out;
}

.rankList .rankItem {
    width: 90%;
    min-width: 90%;
    margin-right: .2rem;
}

.rankList .rankItem:last-child {
    margin-right: 0;
}

.rankList .rankItem .rankType {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .1rem .2rem .15rem .19rem;
    height: 1rem;
    background: #F6F7F9;
    border-radius: .1rem;
}

.rankList .rankItem .rankType > div:first-child > div:first-child {
    font-size: .28rem;
    color: #333;
    font-weight: bold;
}

.rankList .rankItem .rankType > div:first-child > div:last-child {
    font-size: .18rem;
    color: #ccc;
    margin-top: .05rem;
}

.rankList .rankItem .rankType > div:last-child {
    font-size: .2rem;
    color: #3cdfad;
}

.rankList .rankItem .rankType > div:last-child svg {
    width: .16rem;
    height: .16rem;
    fill: #3cdfad;
    position: relative;
    top: .016rem;
}

/* 友情链接 */
.link {
    background: #EBFCF7;
    padding: 0 .2rem;
    border-top: 1px solid #3cdfad;
    display: flex;
    flex-wrap: wrap;
    color: #3cdfad;
    font-size: .24rem;
}

.link > div {
    padding: .2rem .1rem;
}

.link > a {
    padding: .2rem .1rem;
}
