* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
}

@keyframes button {
  from {
    box-shadow: 0 0 10px #ea5b0c;
  }
  to {
    box-shadow: 0 0 40px #ea5b0c;
  }
}

@keyframes slidein {
  0% {
    transform: translateY(calc(((128px + 60px) * 2) - 60px * 2));
  }
  25% {
    filter: blur(15px);
  }

  100% {
    transform: translateY(calc(((133px + 21px) * 26) - 60px * 2));
  }
}

@keyframes slideinMob {
  0% {
    transform: translateY(calc(((2px + 54px) * 2) - 0px * 2));
  }
  25% {
    filter: blur(15px);
  }

  100% {
    transform: translateY(calc(((90px + 57px) * 10) - 99px * 2));
  }
}

@keyframes slideinMob8x {
  0% {
    transform: translateY(calc(((2px + 54px) * 2) - 0px * 2));
  }
  25% {
    filter: blur(15px);
  }

  100% {
    transform: translateY(calc(((90px + 52px) * 10) - 99px * 2));
  }
}

@keyframes slideinMob5 {
  0% {
    transform: translateY(calc(((2px + 54px) * 2) - 0px * 2));
  }
  25% {
    filter: blur(15px);
  }

  100% {
    transform: translateY(calc(((90px + 59px) * 10) - 99px * 2));
  }
}

/*slots-machine*/

.slots-machine {
  background-image: url('../images/slots-bc.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 813px;
  height: 270px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  margin-bottom: 64px;
  margin-top: 64px;
}
.slots-machine-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.red-frame {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-position: center;
  background-size: 105.5%;
}

.slots {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  transform: translateY(calc(((168px + 60px) * 2) - 60px * 2));
  animation-duration: 3s;
  animation-name: slidein;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}
.brMob {
  display: none;
}
.slots p {
  margin: 0px 0 148px 0;
  width: 70%;
  line-height: 1;
  font-weight: bold;
  font-size: 64px;
  color: black;
  text-transform: uppercase;
}
.running {
  animation-play-state: running;
}

/*wrapper*/
.wrapper {
  position: relative;
  overflow: hidden;
  background: url('../images/bg.png') center no-repeat;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.grad{
  display: none;
  position: absolute;
  top: 2%;
  right: 3%;
  width: 93.5%;
  height: 96.4%;
}

.logo img {
  height: 60px;
}

.modal__logo{
  height: 45px !important;
}

.heroes-mob,
.coins {
  display: none;
}

.colorYellow {
  color: #ffe448;
}

.fontSizeLarge {
  font-size: 64px;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
}
.fontSizeMedium {
  font-size: 44px;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
}

.fontSizeSmall {
  font-size: 22px;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
}
.marginTop8 {
  margin-top: 8px;
}
.marginTop16 {
  margin-top: 16px;
}
.marginTop32 {
  margin-top: 32px;
}
.marginTop64 {
  margin-top: 64px;
}
.content {
  margin-right: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  background-color: #ea5b0c;
  border: none;
  border-radius: 46px;
  font-weight: bold;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.4s;
  width: 35%;
  padding: 15px 60px;
  animation: button 0.7s ease-in-out infinite alternate;
}
.btn:hover {
  box-shadow: 0px 0px 40px #ea5b0c;
}

/*modal*/
.modal {
  display: none;
  width: 100vw;
  min-height: 100vh;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modalFlex {
  display: flex;
}

.queen-mob{
  display: none;
}

.modal__btn{
  width: 18%;
  padding: 18px 40px;
}

.modal-body {
  width: 70%;
  height: 552px;
  background-color: rgba(0, 0, 0, 0.0);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 222;
  position: relative;
}

.modal-red-frame {
  background-image: url('../images/modalBg.png');
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  border-radius: 8px;
  z-index: -1;
}

.use-code {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.get-code__1__2 span {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.24);
  border-radius: 80px;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
  z-index: 1;
  margin-left: 8px;
}
.get-code__1__2 span:hover {
  background: rgba(198, 56, 90, 0.7);
}
.get-code__1__2 span::after {
  content: attr(attr-text);
  position: absolute;
  bottom: 100%;
  margin-bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
  font-size: 12px;
  line-height: 1.67;
  font-family: 'Roboto', sans-serif;
  text-transform: none;
  opacity: 0;
}
.get-code__1__2 span.active::after {
  opacity: 1;
}

.get-code__3 {
  margin-top: 16px;
  padding-top: 16px;
  position: relative;
}

.popup__terms {
  font-family: 'Roboto Light', sans-serif;
  font-size: 12px;
  font-weight: 100;
  line-height: 1.67;
  text-align: center;
  color: #ffffff;
  background: rgba(198, 56, 90, 0.9);
  width: 588px;
  padding: 44px 16px 16px 16px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 16px;
  display: none;
}
.button-2 {
  font-family: 'Roboto Light', sans-serif;
  color: #ffffff;
  font-weight: 100;
  text-decoration: none;
  display: inline-block;
  position: relative;
  font-size: 12px;
  line-height: 1.67;
  padding-right: 20px;
  z-index: 2;
}
.button-2::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -1px;
  background: url('../images/arrow.svg') center no-repeat;
  background-size: cover;
  width: 10px;
  height: 4px;
  transform: rotate(180deg);
  transition: 0.3s;
}
.button-2.open::after {
  transform: rotate(0);
}
.rocket {
  background-image: url('../images/rocket.png');
  width: 350px;
  height: 350px;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(150px, -150px);
  animation: rocket 3.5s infinite;
}

/*heroes*/

.queen {
  position: absolute;
  width: 45%;
  background-image: url('../images/queen.png');
  background-size: contain;
  right: 0;
  bottom: 0;
  height: 900px;
  background-repeat: no-repeat;
  background-position: bottom;
}

@media (max-width: 1740px) {
  .modal-body{
    width: 80%;
  }
}

@media (max-width: 1440px) {
  .modal-body{
    height: 451px;
    width: 75%;
  }

  .modalText-1{
    font-size: 36px;
  }

  .modalText-2{
    font-size: 20px;
  }

  .modal__logo{
    height: 35px !important;
  }

  .modal__btn{
    width: 25%;
    padding: 16px 40px
  }

  .use-code{
    font-size: 18px;
  }

  .get-code__1__2{
    font-size: 18px;
  }
}

/*ipad pro*/

@media (max-width: 1250px) {
  .content {
    margin-right: 0px;
  }
}

@media (max-width: 1025px) {
  .content{
    margin-bottom: 28%;
  }

  .marginTop64{
    margin-top: 40px;
  }

  .slots-machine{
    margin-bottom: 40px;
  }

  .queen{
    right: -12%;
  }

  .modal-body{
    height: 450px;
    width: 100%;
  }

  .marginTop32{
    margin-top: 20px;
  }

  .marginTop8{
    margin-top: 20px;
  }

  .modal__btn{
    width: 23%;
    padding: 18px 40px;
  }
}

@media (max-width: 768px) {
  .wrapper{
    background: url(../images/bgMob.png) center bottom no-repeat;
  }

  .modal-body{
    height: 300px;
  }

  .modal__btn{
    width: 23%;
    padding: 14px 18px;
  }

  .modalText-1{
    font-size: 26px;
  }

  .modalText-2{
    font-size: 15px;
  }

  .use-code{
    font-size: 15px;
  }

  .get-code__1__2 span{
    font-size: 15px;
  }

  .modal__logo{
    height: 25px !important;
  }

  .marginTop8{
    margin-top: 10px;
  }

  .marginTop32{
    margin-top: 10px;
  }

  .get-code__3{
    margin-top: 5px;
    padding-top: 10px;
  }
}

/* iphone*/

@media (max-width: 760px) {
  .heroes,
  .queen {
    display: none;
  }

  .logo img {
    height: 40px;
  }

  .content{
    height: 82vh;
  }

  .title{
    margin-top: 38px;
  }

  .queen-mob{
    display: block;
    position: absolute;
    height: 350px;
    bottom: 0;
  }

  .slots-machine {
    width: 100%;
    height: 115px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 46px;
    margin-top: 40px;
  }

  .btn{
    width: 70%;
  }

  .slots-machine-box{
    width: 95%;
    top: 24%;
  }

  .grad{
    top: 3%;
    height: 95.4%;
  }

  .slots p {
    margin: 0px 0 58px 0;
    width: 80%;
    line-height: 1;
    font-weight: bold;
    font-size: 30px;
    color: black;
    text-transform: uppercase;
  }

  .slots {
    transform: translateY(calc(((56px + 60px) * 2) - 60px * 2));
    animation-name: slideinMob;
  }

  .fontSizeMedium {
    font-size: 28px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
  }

  .slots-machine-box {
    position: absolute;
    top: 30%;
    transform: translateY(-30%);
  }
  .title {
    margin-top: 36px;
  }

  .wrapper {
    background: url('../images/bgMob.png') center bottom no-repeat;
    background-size: cover;
    overflow-y: auto;
    height: 100vh;
  }

  .popup__terms {
    width: 95vw;
  }

  .modal-body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    padding-top: 25%;
  }

  .modal-red-frame {
    background-image: url('../images/modalBgPhone.png');
    background-size: 100% 100%;
  }

  .modalText {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }
  .brMob {
    display: block;
  }

  .modal__btn{
    margin-top: 15px;
  }

  .use-code{
    margin-top: 20px;
  }
}

@media (max-width: 420px) and (max-height: 740px) {
  .slots-machine{
    margin-top: 20px;
  }

  .title{
    line-height: 35px;
    margin-top: 20px;
    width: 90%;
  }

  .modal-body{
    width: 85vw;
  }

  .popup__terms{
    width: 80vw;
  }

  .use-code{
    margin-top: 20px;
  }

  .slots p{
    font-size: 27px;
  }

  .slots{
    animation-name: slideinMob8x;
  }
}

@media (max-width: 380px) and (max-height: 670px){
  .title{
    font-size: 24px;
  }

  .slots-machine{
    margin-bottom: 25px;
    height: 134px;
  }

  .queen-mob{
    height: 300px;
  }

  .modalText{
    margin-top: 15px;
    line-height: 20px;
  }

  .modal-body{
    padding-top: 17%;
  }

  .use-code{
    margin-top: 20px;
  }
}

@media (max-width: 320px) {
  .slots-machine-box {
    transform: translateY(-20%);
  }

  .grad{
    height: 95.4%;
    top: 2%;
  }

  .slots{
    animation-name: slideinMob5;
  }

  .slots p{
    margin: 0px 0 62px 0;
  }

  .slots-machine{
    height: 100px;
    margin-top: 10px;
  }


  .logo img {
    height: 35px;
  }

  .title{
    line-height: 28px;
    font-size: 20px;
    margin-top: 15px;
  }

  .modal-body{
    top: -7%;
  }

  .modalText{
    margin-top: 10px;
  }

  .btn{
    width: 65%;
    padding: 12px 60px;
  }

  .queen-mob{
    height: 250px;
  }

  .modal__btn{
    margin-top: 10px;
    width: 70%;
    padding: 6px 30px;
  }

  .use-code{
    margin-top: 5px;
  }

  .get-code__1__2 span{
    padding: 4px 16px;
  }

  .get-code__3 {
    padding-top: 5px;
  }

  .popup__terms{
    padding: 30px 16px 16px 16px;
    line-height: 1.6;
    width: 85vw;
  }
}
