/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'SourceHanSansCNRegular';
    src: url('../font/SourceHanSansCN-Regular.otf') format('opentype');
}

body {
    font-family: SourceHanSansCNRegular, sans-serif;
    background-color: #0a1428;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 20px;
}
.containerCommon{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.containerBottom{
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
#hero-video-box{
    z-index: 2;
}
.containerMain{
    margin: 0 auto;
    position: absolute;
    left: 50%;
    bottom: 4%;
    transform: translateX(-50%);
}
/* 顶部导航 */
.header {
    background-size: cover;
    background: url("../img/headerBg.png") no-repeat center;
    background-size: 100% 100%;
    height: 72px;
    line-height: 72px;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.header .container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    top: 50%;
    left: 46px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo-placeholder {
    border-radius: 8px;
}
.logo-placeholder .leftTopLogoShow{
    height: 39px;
    width: auto;
    display: block;
}
.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    padding: 0 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: red !important;
}

/* 主横幅区域 */
.hero {
    width: 100%;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    background: url("../img/playerBg.png");
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 50px 0;
}

.hero-left {
    position: fixed;
    left: 32px;
    top: 236px;
    z-index: 9;
    flex: 0 0 200px;
    display: none;
}

.pageMainArea{
    background: url("../img/mainBg.png") no-repeat center;
    background-size: 100% 100%;
}

.qr-section {
    background-size: cover;
    background: url("../img/floatBg.png") no-repeat center;
    width: 167px;
    height: 304px;
    position: relative;
    display: flex;
}
.qr-right-text{
    width: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 22px;
    writing-mode: vertical-lr;
    text-orientation: upright; /* 文字直立 */
}
.qr-section-main {
    width: 125px;
    position: relative;
}
.qr-section-main .qr-code-text{
    margin-top: 25px;
}
.qr-section-main .qr-code-text .qr-code{
    text-align: center;
}
.qr-section-main .qr-code-text .qr-code .qr-code-img{
    width: 104px;
    height: 104px;
    display: inline-block;
}
.qr-section-main .qr-code-text .code-text{
    font-size: 14px;
    text-align: center;
    color: #ffffff;
}
.qr-section-main .line{
    margin: 0 0 10px 0;
    text-align: center;
}
.qr-section-main .line .qr-line-img{
    width: 100px;
    height: auto;
    display: inline-block;
}
.qr-section-main .qr-link{

}
.qr-link .app-store,.google-play{
    margin-bottom: 5px;
    text-align: center;
}
.qr-link img{
    width: 105px;
    height: auto;
    display: inline-block;
}
.qr-text p {
    font-size: 14px;
    margin: 2px 0;
}

.hero-center {
    flex: 1;
    text-align: center;
    position: relative;
}
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 使用cover铺满整个容器 */
    background-color: #000; /* 添加黑色背景填充空白区域 */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

body.video-playing .video-container {
    display: block;
}

/* 确保hero-center在视频播放时保持在前面 */
body.video-playing .hero-center {
    position: relative;
    z-index: 10;
}
.play-button {
    cursor: pointer;
}
.play-button .play-button-img{
    width: 197px;
    height: 197px;
}
.hero-title {
    margin-top: 20px;
}
.hero-title .hero-title-img{

}

.download-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.download-btn {

}
.download-btn .androidTOrAppT{
    height: 81px;
    width: 100%;
}
.androidHasText{
    margin-left: 40px;
}
/* 预约好礼 */
.rewards {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 100px;
    color: #ffffff;
}
.title-reserve{
    margin-bottom: 111px !important;
}
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 5px;
}

.reward-item {
    text-align: center;
    position: relative;
}

.reward-card {
    width: 140px;
    height: 160px;
    background: url("../img/awardBgNo.png") no-repeat center;
    background-size: contain;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}
.reward-card::after{
    content: url("../img/smallLine.png");
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -23px;
    z-index: 9;
}
.reward-card-achieve{
    background: url("../img/awardBg.png") no-repeat center !important;
    background-size: contain !important;
}
.achieve-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 2;
}

.achieve-badge img {
    width: 40px;
    height: auto;
}

.reward-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reward-text{
    color: #19232A;
    font-size: 14px;
    margin-bottom: 10px;
}
.reward-text .redColor{
    color: #BF1C30;
}
.reward-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.progress-bar {
    margin-bottom: 88px;
    position: relative;
}

.progress-line {
    height: 14px;
    padding: 2px 0;
    background: url("../img/progressBg.png") no-repeat center center;
    background-size: 100% 100%;
    border-radius: 4px;
    position: relative;
}

.progress-fill {
    height: 10px;
    background: url("../img/progressLineShow.png") no-repeat left;
    background-size: 100% 100%;
    border-radius: 4px;
    width: 0; /* 4/6 = 66.67% 表示前4个已达成 */
    transition: width 1s ease;
    position: relative;
}

.progress-markers {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: -2.4%;
    top: -16px;
    transition: left 1s ease; /* 确保动画时间也是1秒 */
}

.marker {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.marker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.reward-counts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.reward-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
}

.count-icon {
    font-size: 16px;
}

.reserve-btn {
    text-align: center;
    display: block;
}
.reserve-btn .reserve-btn-img{
    height: 84px;
    cursor: pointer;
    display: inline-block;
}
.current-count {
    text-align: center;
}

.current-count p:first-child {
    margin-top: 50px;
    font-size: 16px;
    color: #1FFFFF;
    font-weight: bold;
    margin-bottom: 15px;
}

.count-number {
    font-size: 47px;
    font-weight: bold;
    color: #A1A1A1;
}

/* 游戏特色 */
.features {
    padding: 80px 0;
}

.features-slider {
    position: relative;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    flex: 1;
    background: linear-gradient(45deg, #2a4a6b, #1e3a5f);
    border-radius: 20px 0 0 20px;
}

.slide-content {
    flex: 1;
    padding: 40px;
    background: linear-gradient(45deg, #1e3a5f, #2a4a6b);
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slide-content h3:first-child {
    color: #ff6b35;
    font-size: 18px;
}

.slide-content p {
    color: #b8d4f0;
    font-size: 16px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-prev,
.nav-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: rgba(255, 107, 53, 0.8);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #ff6b35;
}

/* 活动规则 */
.rules {
    padding: 80px 0 117px 0;
}

.rules-content {
    max-width: 980px;
    margin: 0 auto;
    background: url("../img/ruleBg.png") no-repeat center;
    background-size: 100% 100%;
    padding: 65px 104px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 40px;
}

.rule-item-end{
    margin-bottom: 0 !important;
}

.rule-dot {
    margin-top: 5px;
}
.rule-dot img{
    width: 6px;
    height: 23px;
}

.rule-item p {
    font-size: 23px;
    line-height: 36px;
    color: #ffffff;
}

/* 底部版权 */
.footer {
    background: url("../img/bottom/bottomBg.png") no-repeat center;
    background-size: 100% 100%;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.footer-content .footer-right{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 40px;
}
.footer-content .footer-left{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 40px;
}

.footer-logos {
    display: flex;
    gap: 20px;
}

.footer-logo {

}
.footer-text {
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgb(114, 114, 114);
    font-size: 12px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 10px;
}

.footer-links a {
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.footer-links a:hover {
    color: #ff6b35;
}

/* Swiper styles for group4 */
 .swiper-box {
    position: relative;
    margin-top: 70px;
}

 .swiper-box .swiper {
    position: relative;
    width: 1163px;
    height: 489px;
    margin: 0 auto;
}

 .swiper-box .swiper .pic {
    width: 872px;
    height: 100%;
    position: relative;
    padding: 0;
    margin: 0 auto;
}

 .swiper-box .swiper .pic li {
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;
    width: 869px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -434.5px;
    overflow: hidden;
    z-index: 3;
    display: none;
}

 .swiper-box .swiper .pic li img {
    width: 869px;
    height: 489px;
}

 .swiper-box .swiper .pic li.now {
    z-index: 6;
    display: block;
}

 .swiper-box .swiper .pic li.next {
    opacity: 0.3;
    z-index: 4;
    left: 72%;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    display: block;
}

 .swiper-box .swiper .pic li.prev {
    z-index: 4;
    opacity: 0.3;
    left: 28%;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    display: block;
}

 .swiper-box .swiper .prev-btn {
    position: absolute;
    height: 104px;
    width: 55px;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
}

 .swiper-box .swiper .prev-btn .prev-btn-img {
    height: 104px;
    width: 55px;
}

 .swiper-box .swiper .next-btn {
    position: absolute;
    height: 104px;
    width: 55px;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
}

 .swiper-box .swiper .next-btn .next-btn-img {
    height: 104px;
    width: 55px;
}

 .swiper-dot {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

 .swiper-dot .swiper-dot-item {
    width: 21px;
    height: 21px;
    background: #666;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s;
}

 .swiper-dot .swiper-dot-item-active {
    width: 21px;
    height: 21px;
    background: #00FFFF;
    border-radius: 50%;
}
