html,
body {
  max-width: 1920px;
}

.container{
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

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

.header{
    width: 100%;
    height: 0.8rem;
    background: url(../image/pc/header-bg.png) no-repeat;
    background-size: 100% 100%;
    position: fixed;
    top: 0;
    /* left: 0; */
    z-index: 999;
    max-width: 1920px;
}

.header-left{
    width: 1.71rem;
    height: 0.78rem;
}

.header-menu p{
    color: #aeaeae;
    font-family: "Source Han Serif TC", "Source Han Serif", "Noto Serif TC", "Songti TC", serif;
    font-size: 0.22rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0.2rem;
    white-space: nowrap;
    font-weight: bold;
}

.header-menu p.is-active{
    color: #b09668;
    font-size: 0.24rem;
    font-weight: bold;
}

.recharge-btn{
    width: 2.57rem;
    height: 0.82rem;
    margin: 0.1rem 0.2rem 0 0;
}

.fb-btn{
    width: 0.4rem;
    height: 0.39rem;
    margin: 0 0.15rem;
}

.bh-btn{
    width: 0.56rem;
    height: 0.38rem;
    margin: 0 0.15rem;
}

.discord-btn{
    width: 0.47rem;
    height: 0.35rem;
    margin: 0 0.15rem;
}

.music-toggle{
    width: 0.41rem;
    height: 0.4rem;
    margin: 0 0.5rem;
    padding: 0;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.open-music,
.close-music{
    display: block;
    width: 100%;
    height: 100%;
}

.open-music.hide,
.close-music.hide{
    display: none;
}

.main {
    position: relative;
}

.main > .section1,
.main > .section2,
.main > .section3,
.main > .section4,
.main > .section5{
    height: 100vh;
    height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section1{
    width: 100%;
    height: 10.8rem;
    background: url(../image/pc/section1-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.section1-store{
    position: absolute;
    top: 7.7rem;
    right: 0;
    left: 0;
}

.section1-store img{
    width: 2.68rem;
    height: 0.78rem;
    margin: 0 0.2rem;
    cursor: pointer;
}

.float-box{
    width: 2.68rem;
    height: 1.83rem;
    position: fixed;
    left: 0;
    top: 6.8rem;
    z-index: 9999;
}

.section2{
    width: 100%;
    height: 10.8rem;
    background: url(../image/pc/section2-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.section2-text{
    position: absolute;
    top: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.35rem;
    height: 0.76rem;
    background: url(../image/pc/section2-text.png) no-repeat;
    background-size: 100% 100%;
}

.news-list{
    width: 12rem;
    height: 5rem;
    margin: 2.2rem auto 0;
}

.news-list > li{
    display: grid;
    min-width: 0;
    align-items: center;
    border-bottom: 1px solid rgba(176, 150, 104, 0.55);
    grid-template-columns: 0.8rem minmax(0, 1fr) auto;
    column-gap: 0.2rem;
    margin: 0.25rem 0;
    cursor: pointer;
}

.news-tag{
    display: flex;
    width: 0.8rem;
    height: 0.3rem;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #f2ead7;
    background: #a88c58;
    font-family: "Source Han Serif TC", "Source Han Serif", "Noto Serif TC", "Songti TC", serif;
    line-height: 1;
    margin-bottom: 0.05rem;
}

.news-list a,
.news-list time{
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #dedede;
    font-family: "Source Han Serif TC", "Source Han Serif", "Noto Serif TC", "Songti TC", serif;
    font-size: 0.2rem;
    font-weight: bold;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list time{
    color: #aaa;
}

.news-pagination{
    position: absolute;
    right: 0;
    top: 8.5rem;
    left: 0;
}

.news-pagination ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.news-pagination li{
    display: flex;
    min-width: 0.24rem;
    align-items: center;
    justify-content: center;
    color: #dedede;
    font-family: "Source Han Serif TC", "Source Han Serif", "Noto Serif TC", "Songti TC", serif;
    font-size: 0.18rem;
}

.news-pagination button{
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.news-pagination button.is-active{
    color: #b09668;
}

.news-pagination button:disabled{
    cursor: default;
    opacity: 0.55;
}

.pagination-ellipsis{
    letter-spacing: 0.08rem;
}

.section3{
    width: 100%;
    height: 10.8rem;
    background: url(../image/pc/section3-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.race-detail-panel{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25%;
    transform: translateY(1.5rem);
}

.race-detail-image{
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
}

.race-tabs{
    position: absolute;
    top: 70%;
    left: 25%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.race-tabs button{
    position: relative;
    width: 1.5rem;
    height: 1.38rem;
    padding: 0;
    flex: 0 0 1.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.race-tabs img{
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 1.11rem;
    height: 1.11rem;
    transform: translate(-50%, -50%);
}

.race-tabs button.is-active img{
    width: 1.38rem;
    height: 1.38rem;
}

.section4{
    position: relative;
    width: 100%;
    height: 10.8rem;
    overflow: hidden;
    background: url(../image/pc/section4-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}

.weapon-detail-panel{
    position: absolute;
    top: 6.5%;
    left: 17%;
    width: 12.82rem;
    height: 7.93rem;
}

.weapon-detail-image{
    display: block;
    width: 100%;
    height: auto;
}

.weapon-tabs{
    position: absolute;
    top: 6.5rem;
    left: 17%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.weapon-tabs button{
    position: relative;
    width: 1.18rem;
    height: 1.5rem;
    padding: 0;
    flex: 0 0 1.18rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.weapon-tabs img{
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 1.02rem;
    height: 1.02rem;
    transform: translate(-50%, -50%);
}

.section5{
    position: relative;
    width: 100%;
    height: 10.8rem;
    overflow: hidden;
    background: #111;
}

.world-detail-panel,
.world-detail-image{
    width: 100%;
    height: 100%;
}

.world-detail-image{
    display: block;
    object-fit: cover;
    object-position: center;
}

.world-tabs{
    position: absolute;
    top: 90%;
    left: 81.8%;
    z-index: 2;
    display: flex;
    width: 3.26rem;
    height: 0.27rem;
    align-items: center;
    justify-content: space-between;
    background: url(../image/pc/icon-check.png) center / 100% 100% no-repeat;
    transform: translateX(-50%);
}

.world-tabs button{
    position: relative;
    width: 0.27rem;
    height: 0.27rem;
    padding: 0;
    flex: 0 0 0.27rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.world-tabs button.is-active::after{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.27rem;
    height: 0.27rem;
    background: url(../image/pc/icon-checked.png) center / 100% 100% no-repeat;
    content: '';
    transform: translate(-50%, -50%);
}

.world-tabs button:focus-visible{
    outline: 2px solid #f9c97e;
    outline-offset: 0.04rem;
}

.footer{
    width: 100%;
    height: 1.92rem;
    background: #000 url(../image/pc/footer-bg.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: end;
    scroll-snap-stop: always;
}

.legal-notice {
    position: absolute;
    right: 3.5rem;
    top: 0.5rem;
}

.fwtk-text,
.yszc-text{
    width: 0.85rem;
    height: 0.24rem;
    margin: 0.2rem 0;
}

/* 公告页面样式 */
.news-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    max-width: 1920px;
}

.news-main{
    width: 100%;
    height: 10.8rem;
    background: url(../image/pc/news-bg.jpg) no-repeat;
    background-size: 100% 100%;
}

.back-btn{
    width: 1.01rem;
    height: 0.33rem;
    background: url(../image/pc/back-btn.png) no-repeat;
    background-size: 100% 100%;
    margin: 3.5rem 0 0 0.25rem;
    cursor: pointer;
}

.news-title{
    color: #d0aa6b;
    text-align: center;
    font-size: 0.35rem;
}

.news-content{
    width: 12.5rem;
    height: 6rem;
    overflow: auto;
    margin: 0.2rem auto;
    color: #fff;
}

.news-content p,
.news-content span,
.news-content a {
    margin: 0 0 0.2rem;
    color: #fff !important;
    background: transparent !important;
    font-family: "Microsoft YaHei" !important;
}

.recharge-popup{
  width: 8.89rem;
  height: 7.84rem;
  background: url(../image/pc/recharge-popup.png) no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.close-btn{
  width: 0.59rem;
  height: 0.59rem;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.go-btn{
  width: 3.75rem;
  height: 0.88rem;
  margin: 7rem auto 0;
}
