/* base */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #212121;
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  line-height: 1.28;
  color: #fff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
}

@-webkit-keyframes movement {
  from {
    background-position: 0 -550px;
  }

  to {
    background-position: 0 0;
  }
}

@keyframes movement {
  from {
    background-position: 0 -550px;
  }

  to {
    background-position: 0 0;
  }
}

.page__header {
  background: url(../img/header-bg.png) no-repeat 50% 100%;
  background-size: cover;
  position: relative;
}

.page__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 181px;
  background: -webkit-gradient(linear, left top, left bottom, from(#212121), to(rgba(33, 33, 33, 0)));
  background: -o-linear-gradient(top, #212121 0%, rgba(33, 33, 33, 0) 100%);
  background: linear-gradient(180deg, #212121 0%, rgba(33, 33, 33, 0) 100%);
}

.page__header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* stars */
  /* Firefox */
  background-image: -moz-radial-gradient(circle, #ffffff 1px, rgba(248, 255, 128, 0.5) 2px, transparent 10px), -moz-radial-gradient(circle, #ffffff 1px, rgba(255, 186, 170, 0.4) 2px, transparent 10px), -moz-radial-gradient(ellipse, rgba(255, 255, 255, 0.9) 1px, rgba(251, 255, 186, 0.3) 2px, transparent 10px), -moz-radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 1px, rgba(253, 255, 219, 0.2) 2px, transparent 10px);
  /* Webkit */
  background-image: -webkit-gradient(radial, 50% 50%, 1, 50% 50%, 2, from(white), color-stop(0.1, rgba(248, 255, 128, 0.5)), to(transparent)), -webkit-gradient(radial, 50% 50%, 1, 50% 50%, 2, from(white), color-stop(0.1, rgba(255, 186, 170, 0.4)), to(transparent)), -webkit-gradient(radial, 50% 50%, 1, 50% 50%, 2, from(rgba(255, 255, 255, 0.9)), color-stop(0.05, rgba(251, 255, 186, 0.3)), to(transparent)), -webkit-gradient(radial, 50% 50%, 1, 50% 50%, 2, from(rgba(255, 255, 255, 0.4)), color-stop(0.03, rgba(253, 255, 219, 0.2)), to(transparent));
  /* Background Attributes */
  background-size: 550px 550px, 350px 350px, 250px 270px, 220px 200px;
  background-position: 0 0, 30px 60px, 130px 270px, 70px 150px;
  /* Animation */
  animation-name: movement;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  /* Firefox */
  -moz-animation-name: movement;
  -moz-animation-duration: 15s;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  /* Webkit */
  -webkit-animation-name: movement;
  -webkit-animation-duration: 15s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

.page__section {
  position: relative;
}

.page__section--desc {
  z-index: 2;
}

.page__footer {
  position: relative;
}

.page__footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgb(0, 0, 0)));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
}

.moon {
  position: absolute;
  width: 375px;
  height: 379px;
  background: url(../img/moon.png) no-repeat 50% 50%;
  background-size: contain;
  left: -180px;
  top: -74px;
  pointer-events: none;
  opacity: 0.6;
}

.page__section--desc .moon {
  top: 0px;
}

.page__section--faq .moon {
  display: none;
}

.orbit {
  position: absolute;
  width: 296px;
  height: 297px;
  background: url(../img/orbit.png) no-repeat 50% 50%;
  background-size: contain;
  right: -144px;
  bottom: -146px;
  -webkit-transform: rotate(-111deg);
  -ms-transform: rotate(-111deg);
  transform: rotate(-111deg);
  pointer-events: none;
  opacity: 0.6;
}

.page__section--bet .orbit {
  display: none;
}

.ship {
  position: absolute;
  width: 432px;
  height: 436px;
  background: url(../img/ship-1.png) no-repeat 50% 50%;
  background-size: contain;
  left: -211px;
  bottom: -700px;
  pointer-events: none;
  opacity: 0.6;
}

.page__section--bet .ship {
  display: none;
}

/* .helpers */

.ls-clear {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* .btn */

.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 100%;
  cursor: pointer;
  border: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: transparent;
  text-decoration: none;
  line-height: 1;
  text-align: center;
}

.btn--yellow {
  font-family: "Goldman", sans-serif;
  font-size: 26px;
  background-image: url(../img/btn-yellow.png);
  width: 252px;
  height: 73px;
  color: #b6561f;
}

.btn--yellow:hover {
  background-image: url(../img/btn-yellow-hv.png);
  font-weight: 700;
}

.btn--green {
  font-family: "Rajdhani", sans-serif;
  /* width: 114px; */
  width: 92px;
  /* height: 44px; */
  height: 36px;
  background-image: url(../img/btn-green.png);
  background-size: contain;
  color: #223408;
  /* font-size: 16px; */
  font-size: 12px;
  font-weight: 500;
}

.btn--green:hover {
  background-image: url(../img/btn-green-hv.png);
}

/* .faq */

.faq {
  padding: 68px 26px;
  position: relative;
  z-index: 1;
}

.faq__title {
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 5px;
}

.faq__subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 7px;
}

.faq__item {
  padding-top: 7px;
  border-bottom: 3px solid #434343;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__text p {
  margin: 0 0 12px;
}

/* .footer */

.footer {
  padding: 36px 0 38px;
  position: relative;
  z-index: 1;
}

.footer__partners {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0 18px;
  margin-bottom: 22px;
}

.footer__img {
  height: 24px;
  width: auto;
}

.footer__img:last-child {
  height: 12px;
}

.footer__copyright {
  font-size: 11px;
  line-height: 13px;
  padding: 0 16px;
  color: #999;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
}

/* .header */

.header {
  padding: 52px 20px 30px;
  position: relative;
  z-index: 2;
}

.header__logo {
  width: 106px;
  height: auto;
  margin-right: auto;
}

.header__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header__top .btn {
  display: none;
}

.header__banner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header__group-ships {
  margin-bottom: -24px;
  height: 312px;
  position: relative;
  width: 100%;
}

.header__ship {
  width: 245px;
  min-width: 245px;
  height: auto;
  position: absolute;
  top: -29px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.header__ship:first-child {
  top: auto;
  bottom: 2px;
  left: auto;
  right: 50%;
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

.header__ship:last-child {
  top: auto;
  bottom: 2px;
  -webkit-transform: translateX(-24px);
  -ms-transform: translateX(-24px);
  transform: translateX(-24px);
}

.header__body {
  text-align: center;
  font-size: 44px;
  line-height: 1.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header__body span {
  color: #ffcb58;
}

.header__body span span {
  white-space: nowrap;
}

.header__slogan {
  margin-bottom: 40px;
}

/* .section */

.section {
  padding: 40px 0;
  position: relative;
}

.section--desc {
  padding-left: 89px;
  padding-right: 4px;
  font-size: 18px;
}

.section--bet {
  /* padding-top: 173px; */
  padding-top: 40px;
  padding-left: 16px;
  padding-right: 16px;
}

.section__title {
  font-size: 22px;
  text-align: center;
  font-weight: 400;
  margin: 15px 0 10px;
}

.page__section--bet .section__title {
  padding-right: 16px;
}

.section__img {
  padding: 0 10px;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.8;
}

.page__section--bet .section__img {
  padding: 0 6px;
  margin-bottom: 23px;
}

.section p {
  margin: 0 0 10px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ol {
  padding: 0 0 0 32px;
  margin: 0 0 29px;
}

.section li:not(:last-child) {
  margin-bottom: -1px;
}

.section .btn {
  margin: 0 auto;
}

/* .select-lang */

.select-lang {
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.select-lang__top {
  position: relative;
  z-index: 1;
}

.select-lang__form {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  margin: -1px;
}

.select-lang__current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.select-lang__current img:first-child {
  margin-right: 10px;
}

.select-lang__list {
  position: absolute;
  top: -1000px;
  opacity: 0;
  pointer-events: none;
  right: 0;
  border-radius: 8px;
  -webkit-transition: all ease-in-out 300ms 300ms;
  -o-transition: all ease-in-out 300ms 300ms;
  transition: all ease-in-out 300ms 300ms;
}

.select-lang.opened .select-lang__list {
  top: 46px;
  opacity: 1;
  -webkit-transition: all ease-in-out 300ms;
  -o-transition: all ease-in-out 300ms;
  transition: all ease-in-out 300ms;
  pointer-events: all;
  background-color: rgba(33, 33, 33, 0.8);
}

.select-lang__list-item {
  padding: 8px 16px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  -webkit-transition: opacity ease-in-out 300ms;
  -o-transition: opacity ease-in-out 300ms;
  transition: opacity ease-in-out 300ms;
}

.select-lang.opened .select-lang__list-item {
  opacity: 1;
  -webkit-transition: opacity ease-in-out 300ms 300ms;
  -o-transition: opacity ease-in-out 300ms 300ms;
  transition: opacity ease-in-out 300ms 300ms;
}

.select-lang__list-item:hover img {
  -webkit-box-shadow: 0 0 8px #fff;
  box-shadow: 0 0 8px #fff;
  border-radius: 50%;
}

.select-lang__list-item-img {
  width: 30px;
  min-width: 30px;
  height: 30px;
}

@media (min-width: 992px) {
  /* base $lg */

  .faq__item {
    padding-top: 24px;
  }

  .faq__item:first-child {
    padding-top: 0;
  }

  .faq__text p {
    margin-bottom: 16px;
  }

  /* .footer $lg */

  .footer {
    padding: 62px 0 88px;
  }

  .footer__partners {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 52px;
  }

  .footer__img {
    /* height: 55px; */
    height: 44px;
    /* margin: 0 28px; */
    margin: 0 22px;
  }

  .footer__img:last-child {
    height: 22px;
  }

  .footer__copyright {
    font-size: 12px;
    /* padding: 0 238px; */
    padding: 0 190px;
  }

  /* .header $lg */

  /*  */
  .header {
    overflow-x: visible;
    padding: 30px 12px 30px;
  }

  .header__logo {
    /* width: 168px; */
    width: 134px;
  }

  .header__top .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 30px;
  }

  .header__banner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    position: relative;
    letter-spacing: 0.4px;
    top: 0;
    min-height: 342px;
  }

  .header__group-ships {
    position: absolute;
    width: 50%;
    left: auto;
    right: 0;
    top: 20%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .header__ship {
    top: 0;
  }

  .header__ship:first-child {
    bottom: 0;
    left: 4px;
    right: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .header__ship:last-child {
    bottom: 0;
    left: auto;
    right: -4px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .header__body {
    text-align: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 50%;
  }

  /* .section $lg */

  .page__section--bet .section__title {
    margin-bottom: 11px;
  }

  .section__img {
    padding: 0;
    margin-bottom: 59px;
  }

  .page__section--bet .section__img {
    padding: 0;
    margin-bottom: 78px;
    position: relative;
  }

  .page__section--bet .section__img::after {
    content: "";
    position: absolute;
    width: 324px;
    height: 340px;
    background: url(../img/planets.png) no-repeat 50% 50%;
    background-size: contain;
    top: 28px;
    right: -124px;
    pointer-events: none;
  }

  .section p {
    margin-bottom: 28px;
  }

  .section ol {
    padding-left: 48px;
    padding-right: 54px;
    margin-bottom: 80px;
  }

  /* .select-lang $lg */

  .select-lang__current {
    padding-right: 3px;
  }
}

@media (min-width: 1400px) {
  /* base $xxl */

  body {
    /* font-size: 24px; */
    font-size: 18px;
  }

  /*  */
  .section ol {
    padding-left: 38px;
    padding-right: 43px;
    margin-bottom: 64px;
  }

  /*  */
  .section__img {
    margin-bottom: 47px;
  }

  .page__section--desc {
    /* margin-top: -88px; */
    /* margin-top: -70px; */
    margin-top: -105px;
  }

  .moon {
    /* width: 530px; */
    width: 424px;
    /* height: 534px; */
    height: 427px;
    /* left: -270px; */
    left: -216px;
    /* top: -264px; */
    top: -211px;
  }

  .page__section--faq .moon {
    display: block;
    left: auto;
    right: -256px;
    top: 1024px;
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
  }

  .orbit {
    /* width: 530px; */
    width: 424px;
    /* height: 534px; */
    height: 427px;
  }

  .page__section--play .orbit {
    bottom: auto;
    /* top: 50px; */
    top: 40px;
    /* right: -194px; */
    right: -155px;
    -webkit-transform: rotate(60deg) scale(1.37);
    -ms-transform: rotate(60deg) scale(1.37);
    transform: rotate(60deg) scale(1.37);
  }

  .page__section--bet .orbit {
    display: block;
    right: auto;
    /* left: -269px; */
    left: -215px;
    /* bottom: -1024px; */
    bottom: -819px;
    -webkit-transform: rotate(0) scale(1.39);
    -ms-transform: rotate(0) scale(1.39);
    transform: rotate(0) scale(1.39);
  }

  .ship {
    /* width: 529px; */
    width: 423px;
    /* height: 534px; */
    height: 427px;
  }

  .page__section--play .ship {
    background: url(../img/ship-2.png) no-repeat 50% 50%;
    background-size: contain;
    bottom: auto;
    /* top: 568px; */
    top: 454px;
    /* left: -211px; */
    left: -168px;
  }

  .page__section--bet .ship {
    display: block;
    left: auto;
    /* right: -277px; */
    right: -196px;
    bottom: auto;
    /* top: 600px; */
    top: 480px;
  }

  .page__section--bet .section__img {
    /* margin-bottom: 78px; */
    margin-bottom: 46px;
  }

  /* .btn $xxl */



@media (min-width: 1400px)
.btn--yellow {
    /* font-size: 24px; */
    font-size: 14px;
    /* width: 250px; */
    width: 200px;
    /* height: 72px; */
    height: 57px;
}


  .btn--yellow {
    /* font-size: 24px; */
    font-size: 19px;
    /* width: 250px; */
    width: 200px;
    /* height: 72px; */
    height: 57px;
  }

  /* .faq $xxl */

  .faq {
    /* padding: 122px 11px; */
    padding: 24px 11px;
  }

  .faq__title {
    /* font-size: 38px; */
    font-size: 30px;
    /* margin-bottom: 42px; */
    margin-bottom: 33px;
  }
  
  .faq__subtitle {
    /* font-size: 38px; */
    font-size: 30px;
  }

  /* .header $xl */

  .header {
    padding: 24px 9px 24px;
  }

  .header__banner {
    /* top: -56px; */
    top: -44px;
    /* min-height: 735px; */
    min-height: 588px;
  }

  .header__group-ships {
    /* width: 954px; */
    width: 763px;
    /* height: 735px; */
    height: 588px;
    left: 50%;
    /* margin-left: -192px; */
    margin-left: -153px;
    /* top: 11px; */
    top: 8px;
    right: auto;
  }

  .header__ship {
    /* width: 529px; */
    width: 423px;
  }

  .header__body {
    /* font-size: 51px; */
    font-size: 40px;
  }

  .header__slogan {
    /* margin-bottom: 80px; */
    margin-bottom: 64px;
  }

  /*  */
  .section {
    padding: 32px 0;
  }

  .section--desc {
    /* padding-left: 18px; */
    padding-left: 14px;
    /* font-size: 38px; */
    font-size: 30px;
  }

  .section--play {
    /* padding-top: 114px; */
    padding-top: 16px;
    padding-left: 10px;
  }

  .section--bet {
    /* padding-top: 100px; */
    padding-top: 16px;
    padding-left: 7px;
    padding-right: 0;
  }

  .section__title {
    text-align: left;
    /* font-size: 38px; */
    font-size: 30px;
    /* margin-bottom: 20px; */
    margin-bottom: 16px;
  }
}