*{
    box-sizing: border-box;
}
body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    scrollbar-width: none; /* Firefox */
    font-family: Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
}

/* 隐藏Chrome, Safari和Opera的滚动条 */
body::-webkit-scrollbar {
    display: none;
}

html::-webkit-scrollbar {
    display: none;
}

.gameContainer {
    width: 100%;
    text-align: center;
    overflow-x: hidden;
    touch-action: pan-y;
}

.gameBannerContainer {
    background: #10090D;
    color: #FFFFFF;
    font-family: Helvetica;
    position: relative;
}

.gameBannerContainer .bannerImg {
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
    opacity: 0.48;
    left: 50%;
    transform: translateX(-50%);
}

.gameBannerContainer .bannerImg img {
    width: 100%;
    height: 100%;
}

.gameBannerContainer .bannerTitle {
    margin-bottom: 12px;
    font-weight: bold;
    opacity: 0.9999;
    display: block;
}

.gameBannerContainer .bannerText {
    opacity: 0.7;
    font-family: Helvetica;
    color: #FFFFFF;
    display: block;
}

/* Banner的默认样式（PC端）*/
.gameBannerContainer {
    width: 100%;
    height: 270px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gameBannerContainer .bannerImg {
    max-width: 100%;
    width: 100%;
}

.gameBannerContainer .bannerTitle {
    font-size: 54px;
    line-height: 65px;
}

.gameBannerContainer .bannerText {
    font-size: 20px;
    text-shadow: 0 6px 10px rgba(0, 0, 0, 0.50);
}

/* PC/Mobile端Banner图片控制 */
.gameBannerContainer .bannerImg .pc-banner {
    display: block;
}

.gameBannerContainer .bannerImg .mobile-banner {
    display: none;
}

.gamesPageList {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: hidden;
}

.gamesPageList .gameItem {
    background-color: #eee;
    background-size: 100%;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.10);
    cursor: pointer;
    display: flex;
}

.gamesPageList .gameItem .intro,
.gamesPageList .gameItem .gameImg {
    vertical-align: top;
}

.gamesPageList .gameItem .intro {
    height: 100%;
    background: rgba(255, 255, 255, 0.90);
    text-align: left;
    flex: 1;
}

.gamesPageList .gameItem .intro .gameLogo {
    font-family: HelveticaNeue-Medium;
    overflow: hidden;
}

.gamesPageList .gameItem .intro .gameLogo img {
    width: 100%;
    height: 100%;
}

.gamesPageList .gameItem .intro .introTitle {
    width: 100%;
    color: #333333;
}

.gamesPageList .gameItem .intro .shortIntro {
    color: #666666;
    padding-right: 10px;
}

.gamesPageList .gameItem .gameImg {
    background-size: 100%;
    background-color: #eee;
    position: relative;
    text-align: right;
}

/* 游戏列表的默认样式（PC端） */
.gamesPageList {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 50px 40px 39px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gamesPageList .gameItem {
    width: 650px;
    height: 420px;
    display: flex;
    margin-bottom: 60px;
    vertical-align: top;
    margin-left: 30px;
    margin-right: 30px;
}

/* 奇数个gameItem时，最后一个靠左显示 */
.gamesPageList .gameItem:last-child:nth-child(odd) {
    margin-right: auto;
}

.gamesPageList .intro {
    width: 230px;
    padding: 30px 0 30px 30px;
    position: relative;
}

.gamesPageList .intro .gameLogo {
    width: 110px;
    height: 110px;
}

.gamesPageList .intro .gameLogo img {
    border-radius: 22px;
}

.gamesPageList .intro .introTitle {
    font-size: 28px;
    line-height: 34px;
    margin: 20px 0 6px;
}

.gamesPageList .intro .shortIntro {
    font-size: 14px;
    line-height: 17px;
}

.gamesPageList .intro .explore {
    width: 80px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #999999;
    border-radius: 13px;
    font-family: Helvetica;
    font-weight: bold;
    font-size: 12px;
    color: #666666;
    position: absolute;
    left: 30px;
    bottom: 30px;
}

.gamesPageList .intro .explore.google {
    border-radius: 0;
    width: 107px;
    height: 26px;
    border: none;
    background-image: url('https://lilithimage.lilithcdn.com/allgames-official-web/lilith/pc/cn/google-play.webp');  
    background-size: contain;
    background-position: center;
}

.gamesPageList .gameImg {
    width: 420px;
    height: 420px;
}

.gamesPageList .gameImg img {
    width: 165px;
    height: 90px;
    object-fit: contain;
    margin-top: 330px;
}

/* 响应式布局控制 */
@media screen and (max-width: 750px) {
    /* 移动端Banner样式 */
    .gameBannerContainer {
        width: 100%;
        height: 37.333vw;
        text-align: left;
        padding: 10.667vw 22px 0;
        padding-top: 10.667vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .gameBannerContainer .bannerImg .pc-banner {
        display: none;
    }
    
    .gameBannerContainer .bannerImg .mobile-banner {
        display: block;
        width: 100%;
    }
    
    .gameBannerContainer .bannerTitle {
        font-size: 24px;
        line-height: 29px;
    }
    
    .gameBannerContainer .bannerText {
        font-size: 12px;
        line-height: 1.5715;
    }
    
    /* 移动端游戏列表样式 */
    .gamesPageList {
        padding: 30px 20px 19px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #FFFFFF;
    }
    
    .gamesPageList .gameItem {
        width: 100%;
        height: 57.6vw;
        margin-bottom: 30px;
        display: flex;
        margin-left: 0;
        margin-right: 0;
    }
    
    .gamesPageList .intro {
        width: 32vw;
        padding: 4vw 0 4vw 4vw;
    }
    
    .gamesPageList .intro .gameLogo {
        width: 16vw;
        height: 16vw;
    }
    
    .gamesPageList .intro .gameLogo img {
        border-radius: 3.2vw;
    }
    
    .gamesPageList .intro .introTitle {
        font-size: 18px;
        line-height: 23px;
        margin: 12px 0 4px;
        word-break: break-all;
    }
    
    .gamesPageList .intro .shortIntro {
        font-size: 11px;
        line-height: 15px;
    }
    
    .gamesPageList .intro .explore {
        display: none;
    }
    
    .gamesPageList .gameImg {
        width: 57.333vw;
        height: 100%;
    }
    
    .gamesPageList .gameImg img {
        width: 84px;
        height: 46px;
        object-fit: contain;
        margin-top: 45.333vw;
    }
}

/* 屏幕宽度不足以显示两个gameItem时的布局 */
@media screen and (min-width: 751px) and (max-width: 1500px) {
    .gamesPageList {
        justify-content: center;
    }
    
    .gamesPageList .gameItem:last-child:nth-child(odd) {
        margin-left: 30px;
        margin-right: 30px;
    }
}
[v-cloak] {
    display: none;
}

