* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
html, body {
    width: 100%;
    height: 100%;
    background: #000;
}

/* 导航栏 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.5vw;
    background: rgba(20, 25, 35, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    border-bottom: 0.075vw solid rgba(255, 255, 255, 0.1);
}
.nav-logo {
    position: absolute;
    left: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 9vw;
    height: 3vw;
    background: #ff9900;
    border-radius: 0.3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.25vw;
}
.nav ul {
    display: flex;
    list-style: none;
    height: 100%;
}
.nav li {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 2.25vw;
    position: relative;
}
.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.275vw;
    padding: 0.75vw 1.125vw;
    transition: all 0.3s;
}
.nav li.active a {
    color: #ffc145;
}
.nav li.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iNjAiPjxwYXRoIGQ9Ik0wIDBoMTIwdi0zMGExNSAxNSAwIDAgMSAtMTUgMTVoLTkwYSAxNSAxNSAwIDAgMSAtMTUtMTV2MzBaIiBmaWxsPSIjZmZjMTQ1Ii8+PC9zdmc+') no-repeat center;
    background-size: 100% 100%;
    z-index: -1;
}
.music-btn {
    position: absolute;
    right: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25vw;
    height: 2.25vw;
    border-radius: 50%;
    border: 0.075vw solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

/* 全屏容器（核心：用transform实现平滑切换，完全不依赖原生滚动） */
.fullpage {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
.wrapper {
    /*width: 100%;*/
    /*height: 100%;*/
    /*transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);*/
}

/* 单屏样式 */
.section {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /*padding-top: 4.5vw;*/
}
.section>img {
    display: block;
    width: 100%;
}
.down-arrow {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    padding-top: 4.8275%;
}

/* 第1屏：官网首页 */
#sec1 {
    background: linear-gradient(135deg, #1a1f2b 0%, #333 100%);
}
.appointment {
    position: absolute;
    bottom: 17.5%;
    left: 56.5%;
    width: 8%;
    padding-top: 3%;
    background-image: url('../images/appointment-btn.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.appointment:hover {
    background-image: url('../images/appointment-btn-hover.png');
}
.sec1-content {
    position: absolute;
    bottom: 9vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5vw;
    align-items: center;
}
.qrcode-box {
    text-align: center;
    color: #fff;
}
.qrcode {
    width: 9vw;
    height: 9vw;
    background: #fff;
    border: 0.225vw solid #ff9900;
    margin-bottom: 0.375vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}
.btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125vw;
}
.game-btn {
    padding: 0.9vw 2.625vw;
    background: linear-gradient(180deg, #ffb300 0%, #ff8800 100%);
    border: none;
    border-radius: 0.3vw;
    color: #fff;
    font-size: 1.2vw;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0.225vw 0 #cc6600;
}
.age-tag {
    position: absolute;
    top: 9vw;
    right: 6vw;
    width: 6vw;
    height: 7.5vw;
    background: #fff;
    border-radius: 0.375vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.age-tag span {
    font-size: 2.4vw;
    font-weight: bold;
    color: #ff6600;
}
.age-tag p {
    font-size: 0.9vw;
    color: #333;
}

/* 第2屏 */
#sec2 {
    background: #1a1f2b;
}
#sec2 .appointment {
    bottom: 20.5%;
    left: 73.5%;
}
.mileage-wrap {
    position: absolute;
    top: 30%;
    left: 49%;
    width: 35%;
    height: 45%;
    transform: translateX(-50%);
    font-size: 0;
    vertical-align: middle;
    text-align: center;
}
.mileage-item {
    display: inline-block;
    width: 20%;
    height: 100%;
    box-sizing: border-box;
}
.mileage-item-h {
    position: relative;
    height: 23%;
    vertical-align: middle;
}
.mileage-item-h > img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 75%;
    transform: translate(-50%,-50%);
}
.mileage-item-v {
    padding: 0 10%;
}
.mileage-item-v > img {
    display: block;
    width: 100%;
}

/* 第3屏：立绘抢先看 */
#sec3 {
    background: #2a3040;
}
.video-frame {
    position: absolute;
    top: 23.5%;
    left: 13.4%;
    width: 59%;
    height: 58.5%;
    background-image: url(../images/video-frame.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.video-frame .ts-video {
    position: absolute;
    left: 8.4%;
    top: 10%;
    width: 82%;
}
.play-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#play-video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10%;
    height: 18%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}
#play-video-btn:hover {
    width: 11%;
    height: 19%;
}
    /* 第4屏：玩法抢先看 */
#sec4 {
    background: linear-gradient(135deg, #1a1f2b 0%, #444 100%);
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.big-img-box {
    position: absolute;
    top: 23%;
    left: 19%;
    width: 66%;
    height: 52%;
}
/* 大图 */
#mainImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* 左右箭头 */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6%;
    height: 14%;
    color: #fff;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.prev {
    left: -10%;
    background-image: url(../images/character-arrow-left.png);
}
.next {
    right: -10%;
    background-image: url(../images/character-arrow-right.png);
}

/* 底部头像列表 */
.avatar-list {
    position: absolute;
    bottom: 12%;
    left: 50%;
    width: 30%;
    transform: translateX(-50%);
    font-size: 0;
    vertical-align: middle;
    text-align: center;
}
.avatar-item {
    position: relative;
    display: inline-block;
    width: 20%;
    padding-top: 20%;
    margin-right: 3%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.avatar-item img {
    position: absolute;
    width: 90%;
    /*height: 90%;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
/* 选中高亮 */
.avatar-item.active img {
    width: 100%;
    /*height: 100%;*/
}

    /* 第5屏：关注我们 */
#sec5 {
    background: #2a3040;
}
.follow-list {
    position: absolute;
    top: 38%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-size: 0;
    vertical-align: middle;
    text-align: center;
}
.follow-item {
    position: relative;
    display: inline-block;
    width: 12%;
    padding-top: 11%;
    margin-right: 3%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.follow-item > a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.follow-item > a > img {
    display: block;
    width: 100%;
}


/*预约浮窗*/
.appointment-form-box {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.8);
}
.appointment-form-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38%;
    padding-top: 26%;
    transform: translate(-50%,-50%);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../images/appointment-form-bg.png);
}
.close-form-wrap {
    position: absolute;
    right: 10%;
    top: 5%;
    width: 6%;
    height: 8%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../images/close-form.png);
}
.platform-select {
    position: absolute;
    top: 19%;
    width: 24%;
    height: 8%;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.platform-select-ios{
    left: 34%;
}
.platform-select-android{
    left: 52%;
}
.select-item {
    display: inline-block;
    vertical-align: middle;
    width: 20%;
    padding-top: 20%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../images/select-normal.png);
    cursor: pointer;
}
.select-item.active {
    background-image: url(../images/select-active.png);
}
.select-icon {
    display: inline-block;
    vertical-align: middle;
    width: 60%;
    height: 100%;
    background-position: 0 center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.icon-ios {
    background-image: url(../images/ios-icon.png);
}
.icon-an {
    background-image: url(../images/android-icon.png);
}

.mobile-wrap,.captcha-input-wrap {
    position: absolute;
    left: 52%;
    top: 29%;
    width: 44%;
    height: 9%;
    transform: translateX(-50%);
}
.captcha-input-wrap {
    top: 40%;
}
.mobile-wrap > input,.captcha-input-wrap > input {
    display: block;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 1.25vw;
    color: #fff;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0);
    background-image: url("../images/input-bg.png");
    background-position: 0 center;
    background-size: auto 100%;
}

.appointment-submit {
    position: absolute;
    bottom: 16%;
    left: 52%;
    width: 26%;
    padding-top: 8%;
    background-position: 0 center;
    background-size: 100% auto;
    background-image: url(../images/appointment-btn.png);
    transform: translateX(-50%);
}
.appointment-submit:hover {
    background-image: url(../images/appointment-btn-hover.png);
}
.captcha-wrap {
    position: absolute;
    bottom: 33%;
    left: 52%;
    width: 44%;
    padding-top: 12%;
    transform: translateX(-50%);
}
#captcha_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#global-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  /*width: 15%;*/
  /*min-width: ;*/
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.8);
  /* 水平垂直居中 */
  z-index: 9999;
  /* 默认隐藏 */
  display: none;
  border-radius: 4px;
}
#global-toast .toast-text {
  color: #fff;
  font-size: 18px;
  text-align: center;
}

/*微信二维码浮窗*/
.wx-qr-win {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.8);
}
.wx-qr-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38%;
    max-width: 242px;
    transform: translate(-50%,-50%);
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.wx-qr-wrap > img {
    display: block;
    width: 100%;
}
.close-qr-wrap {
    position: absolute;
    right: 3%;
    top: 0%;
    width: 10%;
    height: 10%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../images/close-form.png);
}
