:root {
  color-scheme: light only;
  --black: #111111;
  --darkgrey: #232323;
  --active: #dca9e5;
  --highlight: #2e0f33;
  --white: #eeeeee;
  --gradient: linear-gradient(to top, #dca9e5, #fff);
  --font: "Noto Serif SC", serif;
  --subfont: "Noto Sans SC", sans-serif;


  --txt_small: 18px;
}

section:not(#footer) {
  --title: 60px;
  --p_l: 100px;
  --txt_body: 24px;
}

@media screen and (max-width: 768px) {
  section:not(#footer) {
  --title: 30px;
  --txt_body: 16px;
  --txt_small: 14px;
  --p_l: 50px;
  }
}

@media only screen and (max-width: 500px) {
  section:not(#footer) { 
    --title: 24px;
    --txt_body: 16px;
    --txt_small: 14px;
    --p_l: 50px;
  }
}

/*---------------------------------------
   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 fadeout{
  from {
    opacity: 1;
    visibility: 1;
    z-index: 9999;
  }
  to {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
  }
}


@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: 400;
  font-family: var(--subfont);
  text-wrap: pretty;
  overflow-x: hidden !important;
  background-color: var(--white);
  scroll-behavior: smooth;
}

a{pointer-events: all;}
section:not(#footer) p{
  margin: 0;
  font-weight: 600;
}

h1{
  font-size: var(--title);
  font-family: var(--font);
  line-height: var(--title);
  margin: 0;
  background: var(--gradient);
  background-clip: text;
   -webkit-background-clip: text; 
  color: transparent; 
  -webkit-text-fill-color: transparent;
}

#en h1{
  padding-bottom: 15px;
}
h3{
  font-size: 18px;
  margin: 0;
}

.smallgap{
  gap: 5px;
}
.note{
  font-size: var(--txt_small) !important;
  line-height: calc(var(--txt_small) + 2px);
  font-weight: 400 !important;
  margin-top: 15px;
}
.mainwrapper{
  padding: 0;
}

/*---------------------------------------
   NAVBAR
-----------------------------------------*/
.navbar{
  padding: 0 50px;
}
.scrolled .navbar{
  background: rgba(0,0,0,0.35);
}
.navbar-brand{
  padding: var(--p_s);
  pointer-events: all;
}
.navbar-brand img{
  height: 150px;
  max-height: fit-content;
  z-index: 5;
  transition: all .3s;
}
.scrolled .navbar-brand{
  padding: 0 5px;
}
.scrolled .navbar-brand img{
  max-height: 75px;
  transition: all .3s;
  padding: 5px 0;
}

#navbarNav{
  padding: 15px 0;
}
.navbar-nav{
  gap: var(--p_s);
}

.nav-item{
  pointer-events: all;
  cursor: pointer;
  background: url(../img/nav/navbg.png) bottom no-repeat;
  filter: drop-shadow(0px 0px 5px rgba(73, 38, 38, 0.5));
  border: 1px solid white;
}

.nav-item img{
  width: 45px;
  aspect-ratio: 1/1;
}

.nav-item:hover{
  filter: sepia(1) hue-rotate(250deg) saturate(90) brightness(1.15);
}


@media screen and (max-width: 767px) {
  .navbar{
    padding: 10px 50px;
  }
  .navbarwrapper{
    align-items: center !important;
  }
  #navbarNav{
    padding: unset;
    transform-origin: right;
    scale: .8;
  }
  .navbar *{
    color: var(--white);
  }
  .navbar-brand{
    padding: 0px;
    margin: 0px !important;
  }
  .navbar-brand img{
    height: 75px;
    transition: all .3s;
    padding: 0;
  }
}
/* @media screen and (max-width: 380px) {
  #navbarNav{
    gap: 0px;
  }
} */

/*---------------------------------------
   KV
-----------------------------------------*/
#KV{
  position: relative;
  top: 0;
  width: 100vw;
  min-height: 100vh;
  background: url(../img/banner1.png) top no-repeat;
  background-size: cover;
  overflow: hidden;
  align-items: end;
}
#KV > div{
  gap: 15px !important;
  padding-bottom: 2%;
}
.videowrapper {
  width: 100%;
  max-width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}
.bgvideo1 ,.bgvideo2 {
  position: absolute;
  pointer-events: none;
  left: 50%;
  transform: translate(-50%, 0);
}
.bgvideo1{
  z-index: 9999;
  animation: fadeout 1s ease;
  animation-delay: 2s;
  animation-fill-mode: forwards;
}
.vfxvideo {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-width: 1500px;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: .25;
}

.slogan img{
  max-height: 250px;
}

.btnwrapper{
  width: 60%;
}
.btn_cta{
  width: fit-content;
  height: fit-content;
  padding: 15px 25px;
  color: var(--active);
  border: 1px solid var(--active);
  margin-top: 15px;
  line-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn_cta p{
  font-size: unset;
  text-wrap: nowrap;
}

.btn_cta:hover{
  background: var(--gradient);
  color: var(--highlight);
}

.btn_cta.download{
  width: 90vw;
  max-width: 280px;
  margin-top: 0;
  aspect-ratio: 433 / 127;
  background: url(../img/btn_download.png) no-repeat center;
  background-size: contain;
  border: none;
  animation: zoom .5s infinite alternate ease-in-out;
  filter: drop-shadow(0 5px 9px rgba(30, 17, 43, 0.6));
}

#en .btn_cta.download{
  background: url(../img/btn_download-en.png) no-repeat center;
  background-size: contain;
}

.btn_cta.download:hover{
  filter: brightness(1.55);
}


#intro{
  position: relative;
  top: 0;
  width: 100vw;
  height: fit-content;
  background: url(../img/bg_s1.png) top no-repeat;
  background-size: cover;
  overflow: hidden;
  padding-top: var(--p_l);
  gap: calc(var(--p_l) - 15px);
}

.bannerwrapper{
  max-width: 100%;
  width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 20px 20px 30px 0px rgba(0, 0, 0, 0.4);
}
.bannerwrapper img{
  max-width: 100%;
}

#event{
  position: relative;
  top: 0;
  width: 100vw;
  height: fit-content;
  background: url(../img/bg_s2.png) top no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
  align-items: end;
  padding: var(--p_l) 0;
  gap: calc(var(--p_l) - 15px);
}
.bannercontainer{
  width: 1200px;
  max-width: 90vw;
  aspect-ratio: 1300/730;
  padding: 50px;
  align-items: end;
}
#en .bannercontainer h1{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  padding-bottom: 3px;
}
.bannercontainer p{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
}

#weapon{
  background: url(../img/banner2.png) top no-repeat;
  background-size: contain;
}

#wing{
  background: url(../img/banner3.png) top no-repeat;
  background-size: contain;
}
@media only screen and (max-width: 1200px) {
  .fwrap_md{
    flex-wrap: wrap;
    justify-content: flex-start !important;
  }
}
@media only screen and (max-width: 768px) {
  .bannercontainer{
    padding: 20px;
  }
  .bannercontainer .note{
    display: none;
  }
}
@media only screen and (max-width: 500px) {
  .bannercontainer .btn_cta{
    padding: 5px 10px;
  }
  .bannercontainer .btn_cta p{
    display: none;
  }
  #en .bannercontainer > div{
    max-width: 50% !important;
  }
}

#feature{
  width: 1200px;
  max-width: 90vw;
  height: fit-content;
  position: relative;
  overflow: hidden;
}
#carouselFeature{
  width: 100%;
}

.feature_tabwrapper{
  position: relative;
  width: 100%;
  margin: 0;
}

.featurelink{
  all: unset;
  width: calc(100% / 6) !important;
  height: 5px !important;
  border: 1px solid var(--active) !important;
  background: 0 !important;
  margin: 0 !important;
  margin-top: 25px !important;
  margin-bottom: 15px !important;
}
.featurelink:hover, .featurelink.active{
  background: var(--gradient) !important;
}

.tab-content{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.featurebanner{
  width: 100%;
  aspect-ratio: 16/9;
  background: black;
}

.carousel-control-prev, .carousel-control-next{
  max-width: 70px;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  padding: 2%;
}
.carousel-control-prev{
  background: linear-gradient(to right, #000000, rgba(0, 0, 0, 0));
}
.carousel-control-next{
  background: linear-gradient(to left, #000000, rgba(0, 0, 0, 0));
}

#footer_short{
  background: black;
  /* border-bottom: .5px solid rgba(255, 255, 255, 0.35); */
  padding: 15px 0;
}

#footer_short p{
  --txt_small: 14px;
  font-size: var(--txt_small);
  line-height: calc(var(--txt_small) + 2px);
  font-weight: 400;
  margin: 0;
  color: #707070;
}

.divider_v{
  height: 50px;
  width: .5px;
  background: rgba(255, 255, 255, 0.35);
}

@media only screen and (max-width: 800px) {
  #footer_short div{
    justify-content: center !important;
    gap: 5px !important;
  }
}
@media only screen and (max-width: 600px) {
  #footer_short{
    padding-bottom: 25px;
  }
  #footer_short p{
  text-align: center;
  }
}


.date{
  width: 150px;
  aspect-ratio: 444 / 315;
  position: absolute;
  bottom: 8%;
  right: -50px;
  color: #dca9e5;
  mix-blend-mode: screen;
  background: url(../img/date.png) no-repeat;
  background-size: contain;
}
@media only screen and (max-width: 900px) {
  .date{
    width: 80px;
  }
}

@media only screen and (max-width: 768px) {
  .date{
    width: 70px;
    bottom: unset;
    right: unset;
    left: 2%;
    top: -80px;
  }
}
