/*-------------------------------------------Background Image---------------------------------------------*/
#bg{
    width: 100% ;
    height: auto ;
}
body, html {
  height: 100%;
  margin: 0;
}

a {
  all: unset;
}

.logo {
    width: 42%;
    padding: 19px;
}

.header-button{
    width:27%;
     animation: pulse 0.9s  infinite linear;

}

.button{
    width: 31%;
    /* padding: 19px; */
     top: 280px;
}

.one-container{
    width: 100%;
    height: 140vh;
    background-color: #ffff;
}



.btn{
    width: 85%!important;
}

.step{
    top: 350px;
}


.step img{
    width: 94%;
}

.leaderboard{
    top: 430px;
}
.img-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.img-scroll a {
  flex: 0 0 70%;              /* 🔥 宽度 = 70% */
  scroll-snap-align: center; /* 🔥 snap 对象要是 flex item */
  display: block;
}

.img-scroll img {
  width: 100%;                /* 填满 a */
  display: block;             /* 去底部空隙 */
  border-radius: 12px;
}
.campaign{
    top: 760px;
    padding: 6px;
}

h4{
    font-size: 17px;
 }

/* ================= CONTAINER ================= */
.slide-container {
  position: relative;
  width: 99%;
  max-width: 1200px;
  margin: 5px auto;
  overflow: hidden; /* 隐藏其他图片 */
  border-radius: 12px;
}

/* ================= SLIDES ================= */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides a {
  flex: 0 0 100%;       /* 一张占满一屏 */
  display: block;
}

.slides img {
  width: 100%;
  height: auto;
  display: block;      /* 去掉底部空隙 */
  object-fit: cover;
}
/* ================= BARS ================= */
.bars {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.bar {
  width: 50px;
  height: 4px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bar.active {
  background-color: #fff;
  width: 60px;
}

.event{
    top:970px;
    padding: 6px;
}

.credit{
    font-size: 11px;
    font-weight: bold;
    color: red;
}

.promotion-wallet img{
    width: 85%;
}

.turnover{
    top:1050px;
     padding-bottom: 220px;
}

.turnover-img-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.turnover-img-scroll a {
  flex: 0 0 40%;              /* 🔥 40% 在这里 */
  scroll-snap-align: center; /* 🔥 snap 在这里 */
  display: block;
}

.turnover-img-scroll img {
  width: 100%;
  display: block;
  border-radius: 12px;
}


.footer-icon img{
    width: 70% ;
}

.footer-icon{
   
    font-size: 10px;
    text-decoration:none
}

.footer-container{

    width: 91%;
    height: 100vh;
    top: 22%;
    text-align: center;
    left: 4%;

}

.wb-logo{
    top:-7%
}

.banner img{
        
    width: 100%;
   

    }


@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0.9);
    }

}

.play{
    font-size: 10px; 
    text-align: center;
}

@media(min-width:768px){

    .button {

    top: 450px;
    }
    .step {
    top: 520px;
    }   
    .leaderboard{
        top: 680px;
    }
    .campaign {
    top: 1000px;
    }
    .event {
    top: 1300px;
    }
    .turnover{
        top:1500px;
        padding-bottom: 220px;
    }

    .banner img {

    width: 100%;
    height: 10vh;
    
    }
    .footer-icon{
        font-size:20px;
    }
    .footer-container {
    width: 91%;
    height: 100vh;
    top: 7%;
    text-align: center;
    left: 4%;
    }
    
    .wb-logo img{
        width:18%;
    }

} 



/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }
/* 
    .banner img{
        width: 100%;
    } */
    /* .footer-container {
    width: 47%;
    height: 100vh;
    top: 22%;
    text-align: center;
    left: 26%;
    } */


    .step {
    top: 560px;
    }

    .leaderboard {
    top: 730px;
    }
    .campaign {
    top: 1058px;
    }
    .event {
    top: 1400px;
    }
    .turnover {
    top: 1500px;
     padding-bottom: 220px;
    }
    .button {

    top: 480px;
    }

    .wb-logo{
        top: -12%;
    }

    .wb-logo img{
        width:25%;
    }

   .banner img {
        width: 48%;
        height: 12vh;
    }

    .footer-icon {
    font-size: 18px;
    }

    .footer-icon img {
    width: 80%;
}
    
    .play{
        font-size: 20px; 
        text-align: center;
    }

    .footer-container {
        width: 35%;
        height: 100vh;
        top: 7%;
        text-align: center;
        left: 32%;
    }

}

@media(min-width:1900px){

    .banner img {
        width: 27%;
        height: 12vh;
    }

        .footer-icon img {
        width: 77%;
    }
    .footer-container {
        width: 24%;
        height: 100vh;
        top: 21%;
        text-align: center;
        left: 38%;
    }
}

