// mobile width < 600px
// desk width  > 600px
$main-font: 'Open Sans'; //main font
$desk-height: 108rem; // mobile main height extends bg image height
$mobile-height: 108rem; // mobile main height extends bg image height
$bg-color-desk: #181818; //html background on desktop
$bg-color-mobile: #181818; //html background on mobile
$logo-width-desk: 26rem; //logo width on desktop
$logo-width-mobile: 26rem; //logo width on mobile
$main-container-width: 111rem; //container width
$main-info-width: 51.6rem; //content width

$currencySmall: in, bt, np, no, sj, mx, ph, th, dk, fo, gl, pl, br, pe, ro, bg, nz;
$currencyMedium: ar, hu, kz, jp, ph, th, se;
$currencyBig:  co, vn, cl;
@each $curr in $currencySmall {
  html {
    &.curr_#{$curr} {
      // styles for bonuses extends currency
    }
  }
}
@each $curr in $currencyMedium {
  html {
    &.curr_#{$curr} {
      // styles for bonuses extends currency
    }
  }
}
@each $curr in $currencyBig {
  html {
    &.curr_#{$curr} {
      // styles for bonuses extends currency
    }
  }
}

html {
  background: $bg-color-desk;
  color: #FFF;
  line-height: 1.15;
  font-family: $main-font,  sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: calc(100vw / 1920 * 10);
  &.hide {
    display: block;
    .blur_wrap {
      background: transparent;
      position: relative;
      filter: none;
    }
    .preloader{
      opacity: 0;
      pointer-events: none;
    }
  }
}

.preloader {
  width: 5em;
  height: 5em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 6;
  transition: opacity 0.3s ease;
}

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.blur_wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  filter: blur(5px);
  width: 100%;
  min-height: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.layout {
  height: 100%;
  min-height: 100%;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  -webkit-flex-grow: 1;
}

.wrapper{
  overflow: hidden;
  background-size: 192rem auto;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  -webkit-flex-grow: 1;
  background-image: url(../new.png);
}

.main-content{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: $desk-height;
  width: 100%;
  max-width: 100%;
}

.main{
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  -webkit-flex-grow: 1;
  padding: 0 2rem;
  width: 100%;
  max-width: $main-container-width;
  margin: 0 auto;
}

.main-info{
  width: 100%;
  max-width: $main-info-width;
  position: relative;
  display: flex;
  flex-direction: column;
}

.logo {
  width: $logo-width-desk;
  display: block;
  margin: 3rem auto 5.5rem;
  position: relative;
  z-index: 7;
}

.form-wrapper{
  width: 100%;
  min-height: 74.3rem;
  padding: 3rem 5.4rem 5rem;
  background-color: #181818;
  position: relative;
  z-index: 2;
  &:before{
    content: '';
    display: block;
    width: 156%;
    height: 149%;
    position: absolute;
    top: 48.5%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-image: url(../popup-border.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
}

.text-1{
  font-family: "Montserrat Alternates", sans-serif;
  color: #FFF;
  text-align: center;
  font-size: 2.8rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
}

.text-2{
  font-family: "Montserrat Alternates", sans-serif;
  text-align: center;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.text-2.bonus{
  font-size: 3.8rem;
}

.text-2.bonus-fs{
  font-size: 3.2rem;
}


.gradient-txt span{
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  position: relative;
  text-transform: uppercase;
  padding: 0 0.5rem;
  text-align: center;
  &::before{
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0.0rem transparent;
    display: block;
    width: 100%;
    text-transform: uppercase;
  }
  &::after {
    content: attr(data-text);
    display: block;
    width: 100%;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-text-stroke: unset;
    background: linear-gradient(146deg, #FF7600 4.15%, #FF8209 5.96%, #FF9800 10.48%, #FFD82E 41.24%, #FFFF27 62.05%, #FFE015 78.33%, #FF7C03 93.71%);
    pointer-events: none;
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: rgba(0,0,0,0);
    -moz-text-fill-color: rgba(0,0,0,0);
  }
}

.footer{
  padding: 8rem 0 3.6rem;
  margin-top: auto;
  position: relative;
  z-index: 3;
  &__text{
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-size: 1.6rem;
    font-size: clamp(12px, 1.6rem, 1.6rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
}

.bg-elems{
  position: absolute;
  z-index: 1;
  width: 192rem;
  left: 50%;
  transform: translateX(-50%);
  height: $desk-height;
  top: 0;
  pointer-events: none;
  @media(max-width: 600px){
    height: $mobile-height;
    z-index: 3;
  }
}

.parallax{
  position: absolute;
  width: 1px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.parallax-1{
  position: absolute;
  width: 180.8rem;
  height: 97.3rem;
  max-width: unset;
  display: block;
  left: -96rem;
  top: 6.4rem;
  animation: parallax-first 3s infinite ease-in-out;
  background-image: url(../assets/parallax-1.webp);
  background-size: 100% 100%;
}

.parallax-2{
  position: absolute;
  width: 188.5rem;
  height: 138.8rem;
  max-width: unset;
  display: block;
  left: -97.5rem;
  top: -21rem;
  animation: parallax-second 4s infinite ease-in-out;
  background-image: url(../assets/parallax-2.webp);
  background-size: 100% 100%;
}

.parallax-mobile-wrap{
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 3;
  display: none;
}

.parallax-mobile{
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-size: 100% 100%;
}

.parallax-1-mobile{
  width: 42rem;
  height: 42.7rem;
  top: -21rem;
  left: -20rem;
  background-image: url(../assets/parallax-1-mobile.webp);
  animation: parallax-second 4s infinite ease-in-out;
}

.parallax-2-mobile{
  width: 31.5rem;
  height: 32.6rem;
  top: -14rem;
  right: -13rem;
  background-image: url(../assets/parallax-2-mobile.webp);
  animation: parallax-first 3s infinite ease-in-out;
}

.parallax-3-mobile{
  width: 21.1rem;
  height: 21.7rem;
  top: 35rem;
  left: -11rem;
  background-image: url(../assets/parallax-3-mobile.webp);
  animation: parallax-second 4s infinite ease-in-out;
}

.parallax-4-mobile{
  width: 21.1rem;
  height: 21.7rem;
  top: 16rem;
  right: -10rem;
  background-image: url(../assets/parallax-4-mobile.webp);
  animation: parallax-first 3s infinite ease-in-out;
}

.parallax-5-mobile{
  width: 31.6rem;
  height: 34rem;
  bottom: -20rem;
  left: -13rem;
  background-image: url(../assets/parallax-5-mobile.webp);
  animation: parallax-second 4s infinite ease-in-out;
}

.parallax-6-mobile{
  width: 29.9rem;
  height: 28.8rem;
  bottom: -16rem;
  right: -8rem;
  background-image: url(../assets/parallax-6-mobile.webp);
  animation: parallax-first 4s infinite ease-in-out;
}

@keyframes parallax-first {
  0%{
    transform: translate(0);
  }
  50%{
    transform: translate(1rem, 1rem);
  }
  100%{
    transform: translate(0);
  }
}

@keyframes parallax-second {
  0%{
    transform: translate(0);
  }
  50%{
    transform: translate(-1rem, -1rem);
  }
  100%{
    transform: translate(0);
  }
}

.de{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.7rem;
  }
}

.fi{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.7rem;
  }
}

.pl{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.pt{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.es{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.ro{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.7rem;
  }
}

.hu{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.4rem;
  }
}

.fr{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.se{
  .text-1{
    font-size: 2.4rem;
  }
}

.ph{
  .text-1{
    font-size: 2.4rem;
  }
}

.vn{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.4rem;
  }
}

.cz{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.7rem;
  }
}

.dk{
  .text-1{
    font-size: 2.4rem;
  }
}

.no{
  .text-1{
    font-size: 2.4rem;
  }
}

.gr{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.4rem;
  }
}

.lt{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 2.4rem;
  }
}

.lv{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.ee{
  .text-2.bonus-fs{
    font-size: 2.7rem;
  }
}

.sk{
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.it{
  .text-1{
    font-size: 2.4rem;
  }
}

.bg{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
}

.ru{
  .text-1{
    font-size: 2.4rem;
  }
  .text-2.bonus-fs{
    font-size: 3rem;
  }
  .btn-registration span{
    font-size: 2.4rem;
  }
}

@media(max-width: 1300px){
  html{
    font-size: calc(100vw / 1600 * 10);
  }
}

@media(max-width: 1024px){
  html{
    font-size: calc(100vw / 1200 * 10);
  }
  .wrapper{
    background-position: top left -42rem;
  }
  .main-info{
    max-width: 60rem;
  }
  .parallax-1{
    left: -110rem;
  }
  .parallax-2{
    left: -105rem;
  }
}


@media(max-width: 600px){
  html{
    font-size: calc(100vw / 600 * 10);
    background: $bg-color-mobile;
  }
  .wrapper{
    background-size: 60rem auto;
    background-position: top center;
    background-image: url(../assets/390.png);
  }
  .main-content{
    min-height: $mobile-height;
  }
  .main-info{
    width: 100%;
    max-width: $main-info-width;
  }
  .main{
    padding: 0 1rem;
    align-items: center;
  }
  .logo{
    width: $logo-width-mobile;
    margin: 3rem auto 6rem;
  }
  .footer{
    padding-bottom: 3rem;
    padding-top: 16rem;
  }
  .parallax-1, .parallax-2{
    display: none;
  }
  .parallax-mobile-wrap{
    display: block;
  }
}

@media(max-width: 360px){
  .form-wrapper{
    padding: 3rem 4em 5rem;
  }
}