:root {
  color-scheme: light only;
  --black: #111111;
  --darkgrey: #232323;
  --active: #ffecad;
  --highlight: #7077a7;
  --white: #eeeeee;
  --font: "Noto Serif SC", serif;
  --btn_dl: 100px;
  --txt_body: 16px;
}

/*---------------------------------------
   Animation
-----------------------------------------*/
/* slidein */
@keyframes slideinleft{
	from {transform: translateX(-300px);}
    to {transform: translateX(0px);}
}
.a_slideinL.show{
  animation: slideinleft .5s ease-in-out backwards;
  animation-delay: 100ms;
}
@keyframes slideinright{
	from {opacity: 0; transform: translateX(600px);}
    to {opacity: 1; transform: translateX(0px);}
}
.a_slideinR.show{
  animation: slideinright .5s ease-in-out backwards;
  animation-delay: 100ms;
} 
@keyframes slideinbtm{
	from {transform: translateY(300px); opacity: 0;}
    to {transform: translateY(0px); opacity: 1; }
}
.a_slideinB.show{
  animation: slideinbtm .5s ease-in-out backwards;
}
@keyframes slideintop{
	from {transform: translateY(-300px); opacity: 0;}
    to {transform: translateY(0px); opacity: 1; }
}
.a_slideinT.show{
  animation: slideintop .5s ease-in-out backwards;
  animation-delay: 100ms;
}


@keyframes float{
  from {transform: translateY(10px);}
    to {transform: translateY(0);}
}

@keyframes zoom{
  from {scale: 1}
    to {scale: 1.05}
}

@keyframes rotate{
  from {rotate: 0deg;}
    to {rotate: 360deg;}
}

@keyframes textglow{
  from{ text-shadow: var(--active) 0 0 0;}
    to{ text-shadow: var(--active) 0 0 25px;}
}

/* popin */
@keyframes popin {
  0% {transform: scale(2); opacity: 0; filter: blur(3px);}
  100% {transform: scale(1); opacity: 1; filter: blur(0);} 
}
.a_popin.show{
  animation: popin .35s ease-in-out forwards;
}
@keyframes popout {
  0% {transform: scale(0.3); opacity: 0;}
  100% {transform: scale(1); opacity: 1;} 
}

@keyframes expand {
  0% {opacity: 1; scale: 100% 0;}
  100% {opacity: 1; scale: 100% 100%;} 
}

/*---------------------------------------
   Scroll Effect       
-----------------------------------------*/
/* Remove animations or transitions on padding */
[style*="padding-right"] {
  transition: none !important;
}
::-webkit-scrollbar-thumb {
  background:  var(--highlight);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--active);
}
::-webkit-scrollbar {
  background: var(--darkgrey);
  width: 3px;
}
#subtabBar::-webkit-scrollbar, .modal-body::-webkit-scrollbar{
  display: none;
}

/*---------------------------------------
   COMMON      
-----------------------------------------*/
::before, ::after{
  pointer-events: none;
}

body{
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0px;
  padding: 0px;
  color: var(--white);
  font-size:  var(--txt_s);
  font-weight: 200;
  font-family: var(--font);
  text-wrap: pretty;
  overflow-x: hidden !important;
  background-color: var(--white);
  scroll-behavior: smooth;
}

a{pointer-events: all;}
p{margin: 0;}

h1{
  color: var(--active);
}
h3{
  font-size: 18px;
  margin: 0;
}

.smallgap{
  gap: 5px;
}

.note{
  font-size: 12px;
  color: #ff5151;
  font-style: italic;
}

/*---------------------------------------
   NAVBAR        
-----------------------------------------*/
.navigation{
  width: 100vw;
  display: flex;
  align-items: flex-start;
  padding: 0;
  border-bottom: 1px solid var(--highlight);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.navigation-container{
  padding: 0 5%;
  height: fit-content;
  display: flex;
  align-items: flex-start !important;
}

.navbar-brand{
  padding: 0 15px;  
  margin: 0;
}

.navbar-brand img{
  max-height: 100%;
  transition: all .5s linear;
  max-height: 50px;
}

.navwrapper{
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.navigationitem{
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  min-width: 150px;
  max-height: 55px;
  padding: 0 20px;
  transition: .3s;
}

.hamburgerbtn, .hamburgerbtn:active, .hamburgerbtn:focus, .hamburgerbtn:focus-visible{
  border: none;
  outline: none;
  box-shadow: none;
  min-height: 55px;
  padding: 0 20px;
  border-radius: 0;
}

.navigationitem:hover,.hamburgerbtn:hover{
  border: none;
  background: url(../img/icon/navbg.png) left bottom no-repeat;
}

.navigation .nav-link{  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 25px 10px;
  text-wrap: nowrap;
  font-weight: 600;
  font-size: 16px;
  gap: 6px;
}

.nav-link.home::before{  
  content: '';
  width: 25px;
  height: 30px;
  background: var(--black);
  mask-image: url(../img/icon/nav_home.png);
  mask-size: contain;
  mask-position: center;
}

.nav-link.register::before{  
  content: '';
  width: 25px;
  height: 25px;
  background: var(--black);
  mask-image: url(../img/icon/nav_register.png);
  mask-size: contain;
  mask-position: center;
}

.nav-link.member::before{  
  content: '';
  width: 25px;
  height: 25px;
  background: var(--black);
  mask-image: url(../img/icon/nav_user.png);
  mask-size: contain;
  mask-position: center;
}

.nav-link.media::before{  
  content: '';
  width: 25px;
  height: 30px;
  background: var(--black);
  mask-image: url(../img/icon/nav_media.png);
  mask-size: contain;
  mask-position: center;
}

.navigationitem:hover a{
  color: var(--active);
}

.navigationitem:hover .nav-link::before{
  background: var(--active);
}


@media screen and (max-width: 768px) {
  .navbar-brand img{
    /* max-height: 50px; */
	height: 96px
  }
  .navigation-container{
    padding: 0;
  }
  .navwrapper{
    justify-content: flex-start;
    width: 100vw;
  }
  .navbar-nav, .navigationitem{
    justify-content: flex-start;
    width: 100%;
    /* min-width: 100%; */
    background-color: #ececec;
  }
  .navigationitem{
    padding: 0 5%;
  }

  .navigationitem:hover{
    background-size: cover;
    background-position: bottom left;
  }
}


@keyframes glow{
  from {scale: 1}
    to {scale: 1.05}
}
.nav_pre-register {
  position: fixed;
  top: 50px;
  right: 2%;
  width: 325px;
  min-width: 175px;
  aspect-ratio: 351 / 333;
  background: url(../img/btn_infopg.png) top right no-repeat;
  background-size: contain;
  transition: all .3s;
  animation: glow .5s infinite alternate;
  z-index: 9998;
}
.nav_pre-register:hover{
  filter: brightness(1.2);
  transition: all .3s;
}

@media screen and (max-width: 1200px) {
  .nav_pre-register{
    width: 25%;
    max-width: 351px;
  }
}
@media screen and (max-width: 768px) {
  .nav_pre-register{
    width: 35%;
    min-width: 175px;
  }
}


/*---------------------------------------
   KV
-----------------------------------------*/
#KV, #Milestone{
  position: relative;
  top: 0;
  width: 100vw;
  aspect-ratio: 1920/1075;
  background: url(../img/bg.png) top no-repeat;
  background-size: cover;
  overflow: hidden;
}
#KV{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  scroll-snap-align: center;
}
#KV > div{
  gap: 15px !important;
  padding-bottom: 10%;
}
#KV::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/btm.png) bottom no-repeat;
  z-index: 90;
}

.sparksvideo {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-width: 1500px;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: .25;
}
.slogan{
  max-width: 100%;
  width: 1200px;
  aspect-ratio: 1535/340;
  margin-bottom: -4%;
  background: url(../img/slogan.png) center no-repeat;
  background-size: contain;
  transition: none;
}

.btnwrapper{
  width: 60%;
}
.btn_cta{
  width: 259px;
  max-width: 45%;
  aspect-ratio: 259/96;
  background: url(../img/btn_cta.png) center no-repeat;
  background-size: contain;
}

.btn_cta:hover{
  background: url(../img/btn_cta-hover.png) center no-repeat;
  background-size: contain;
}

.btn_cta.download{
  background: url(../img/btn_dl.png) center no-repeat;
  background-size: contain;
}

.btn_cta.download:hover{
  background: url(../img/btn_dl-hover.png) center no-repeat;
  background-size: contain;
}

@media screen and (max-width: 768px) {
  #KV{
    aspect-ratio: 768/1193;
    background: url(../img/bg_m.png) top no-repeat;
    background-size: cover;
  }
  #KV > div{
    padding-bottom: 15%;
  }
  .slogan{
    aspect-ratio: 1005/494;
    background: url(../img/slogan_m.png) center no-repeat;
    background-size: contain;
    margin-bottom: 0;
    transition: none;
  }
  .btnwrapper{
    width: 100%;
  }
  .btn_cta{
    max-width: 40%;
  }
}

#Milestone {
  aspect-ratio: unset;
  max-width: 100vw;
  padding: 50px 0 100px 0;
  background: url(../img/bg2.png) top no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 70px;
  z-index: 999;
  overflow: visible;
}

.mstlt{
  width: 100%;
  min-width: 80px;
  max-width: 98px;
  aspect-ratio: 98/270;
  background: url(../img/s2_tlt.png) center no-repeat;
  background-size: contain;
}

.mscontainer{
  max-width: 888px;
  position: relative;
  aspect-ratio: 888/297;
}
.mscontainer::before{
  content: "";
  position: absolute;
  width: 100%;
  max-width: 888px;
  aspect-ratio: 888/297;
  background: url(../img/msbg.png) center no-repeat;
  background-size: contain; 
  z-index: -1;
}
.mswrapper {
  position: relative;
  width: 20%;
}
.msreward{
  position: relative;
  width: 130px;
  max-width: 100%;
  aspect-ratio: 143/125;
  overflow: visible;
}
.msreward::after{
  content: "";
  position: absolute;
  width: 143px;
  max-width: 110%;
  aspect-ratio: 143/125;
  background: url(../img/reward.png) center no-repeat;
  background-size: contain;
  filter: saturate(50%);
  bottom: -10px;
}
.msreward.done::after{
  background: url(../img/reward_done.png) center no-repeat;
  background-size: contain;
  filter: unset;
}
.msreward:hover::after{
  filter: unset;
}
.mstxt{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 183px;
  max-width: 100%;
  aspect-ratio: 183/34;
  background: url(../img/rewardtltbg.png) center no-repeat;
  background-size: contain;

  color: #565d7f;
  font-weight: 900;
  font-size: 128%;
}

.rewardwrapper{
  display: none;
  opacity: 0;
  width: 191px;
  aspect-ratio: 1/1;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  background: url(../img/rewardbg.png) center no-repeat;
  background-size: contain;
  z-index: 99;
  padding-bottom: 10%;
  transition: all .3s;
}

.mswrapper:hover .rewardwrapper{
  display: flex;
  bottom: 90%;
  opacity: 1;
  transition: all .3s;
  z-index: 9999;
}
.rewardwrapper img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rewardwrapper p{
  font-size: 16px;
  font-weight: 900;
  color: #565d7f;
  filter: drop-shadow(2px 1px 0 #FFF) drop-shadow(-2px -3px 0 #fff) drop-shadow(0 0 5px #fff);
  z-index: 666;
}

@media screen and (max-width: 1100px) {
  .mstlt{
    width: 70vw;
    max-width: 271px;
    aspect-ratio: 271/101;
    background: url(../img/s2_tlt_m.png) center no-repeat;
    background-size: contain;
    z-index: 1;
    filter: drop-shadow(0 2px 2px #ffffff);
  }
}
@media screen and (max-width: 500px) {
  .mscontainer {
    max-width: 300px;
    height: fit-content;
    flex-direction: column;
    justify-content: flex-start !important;
    aspect-ratio: unset;
    padding: 50px;
    gap: 15px;
  }
  .mscontainer::before {
    width: unset;
    height: 90vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    background-size: contain;
  }
  .mswrapper {
    width: 100%;
  }
}


/*---------- carousel ----------*/
#carouselFeature{
  position: relative;
  width: 100%;
  max-width: 872px;
  aspect-ratio: 872/446;
  background: url(../img/featurebg.png) center no-repeat;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}
#carouselFeature::before{
  content: "";
  position: absolute;
  width: 272px;
  max-height: 30%;
  aspect-ratio: 272/92;
  background: url(../img/s2_tlt2.png) center no-repeat;
  background-size: contain;
  left: 5%;
  bottom: 2%;
  z-index: 99;
}

.btn_prev, .btn_next{
  width: 42px;
  max-width: 6%;
  aspect-ratio: 21/32;
  top: 50%;
  margin: 0 30px;
  opacity: 1;
  filter: drop-shadow(0 1px 0 #fff)
          drop-shadow(1px 0 0 #fff)
          drop-shadow(0 0 5px #fff);
  transform: translateY(-50%);
  background: url(../img/btn_nxt.png) center no-repeat;
  background-size: contain;
}
.btn_prev{
  transform: translateY(-50%) scale(-1);
  background: url(../img/btn_nxt.png) center no-repeat;
  background-size: contain;
}
.btn_prev:hover, .btn_next:hover{
  width: 38px;
}


.carousel-inner{
  width: 80%;
}

.carousel-item{
  aspect-ratio: 16/9;
}
.carousel-item img{
  width: 100%;
}

/*---------- carousel ----------*/


/*---------- modal ----------*/
.modal{
  z-index: 99999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
}
.modal-backdrop.show{
  opacity: 0;
}
.modal-dialog{
  justify-content: center;
}
.modal-content{
  width: 589px;
  max-width: 100vw;
  aspect-ratio: 589/481;
  position: absolute;
  background: url(../img/popupbg.png) center no-repeat !important;
  background-size: contain !important;

  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 500px) {
  .modal-content{
    aspect-ratio: 587/692;
    background: url(../img/popupbg2.png) center no-repeat !important;
    background-size: contain !important;
  }
}
.modal-body{
  width: 80%;
  max-height: 85%;
  overflow: hidden;
  overflow-y: scroll;
  padding: 0;
  /* background: #7077a7; */
}

.modal .btn_close{
  width: 71px;
  aspect-ratio: 1/1;
  position: absolute;
  background: url(../img/btn_close.png) center no-repeat;
  background-size: contain;
  right: 0;
  top: 0;
  z-index: 10;
  transition: all .3s;
}
.modal .btn_close:hover{
  transform: rotate(90deg);
  filter: brightness(1.1);
  transition: all .3s;
}

.modal .nav-item{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #575e80;

  width: 100%;
  padding: 8px 0;
  font-weight: 600;
}

.modal .nav-item:hover{
  background: #c2a175;
}
.modal .nav-item:has(.active){
  background: #b79365;
}
.modal .nav-item::before,.modal .nav-item::after{
  content: "";
  width: 29px;
  max-width: 15%;
  aspect-ratio: 29/11;
  position: absolute;
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
  background: url(../img/deco.png);
  background-size: contain;
}
.modal .nav-item::after{
  left: unset;
  right: 2%;
  transform: translateY(-50%) scale(-1);
}

form{
  color: #565d7f !important;
  font-weight: 600;
}

.form-label {
  margin-bottom: .15rem;
}

input{
  border-radius: 0;
}

.btn_register, .btn_register2{
  width: 200px;
  aspect-ratio: 218/66;
  background: url(../img/btn_register.png) center no-repeat;
  background-size: contain;
}
.btn_register:hover{
  background: url(../img/btn_register-hover.png) center no-repeat;
  background-size: contain;
}

.btn_register2{
  background: url(../img/btn_register2.png) center no-repeat;
  background-size: contain;
}
.btn_register2:hover{
  background: url(../img/btn_register2-hover.png) center no-repeat;
  background-size: contain;
}

.btn_tnc{
  position: absolute;
  right: -10px;
  top: -25px;
  width: 70px;
  aspect-ratio: 1/1;
  background: url(../img/btn_tnc.png) center no-repeat;
  background-size: contain;
}
.btn_tnc:hover{
  filter: brightness(1.2);
}

#tncModal h1{
  color: #565d7f !important;
}
#tncModal p, #tncModal li{
  color: #565d7f;
  font-weight: 600;
}
#tncModal .date{
  color: white;
  padding: 5px 25px;
  background: var(--highlight);
}
#tncModal ol{
  margin-left: -2rem;
}

/*---------- modal ----------*/

.iti {
  width:100%;
}

.g-recaptcha {
max-height: 50px !important;
}

@media screen and (max-width: 500px) {
  .modal-body.a_ctr{
    align-items: flex-start !important;
  }
}

@media screen and (min-width: 500px) {
  .btn_register, .btn_register2 {
    max-width: 50%;
  }
}
@media screen and (max-width: 350px) {
  .vertical {
    gap: 10px;
  }
  .btn_register, .btn_register2 {
    max-width: 60%;
  }
}