@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;1,400;1,700;1,800;1,900&display=swap');

body {
   display: block;
   position: relative;
   font-family: "Kanit", sans-serif;
   font-weight: 800;
   font-size: 15px;
   font-style: italic;
   line-height: 1;
   text-align: center;
   word-break: break-word;
   color: #fff;
   min-height: 100vh;
   width: 100%;
}

.wrapper {
   background: #020726 url('../img/main-bg.png') no-repeat top center / cover;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-orient: vertical;
   -webkit-box-direction: normal;
   -ms-flex-direction: column;
   flex-direction: column;
   min-height: 100vh;
   position: relative;
   overflow: hidden;
}

img {
   display: block;
   position: relative;
   max-width: 100%;
   max-height: 100%;
}

.main-img {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 26%;
}

.main-img__desc {
   display: block;
}

.main-img__mob {
   display: none;
}

/* Wheel */
.wheel {
   -webkit-box-flex: 1;
   -ms-flex: 1;
   flex: 1;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: start;
   -ms-flex-align: start;
   align-items: flex-start;
   overflow: hidden;
   position: relative;
   z-index: 1;
   z-index: 15;
   padding: 9vh 5.2vw 3vh;
}

.wheel__content {
   margin: 2.5vh 3.5vw 0 auto;
   width: clamp(490px, 36.62vw, 703px);
   text-align: center;
}

.logo {
   display: block;
   max-width: 220px;
   margin: 0 auto;
}

.logo img {
   display: block;
   margin: 0 auto;
   max-height: 12vh;
}

.wheel__uptitle {
   background-color: rgba(0, 0, 0, 0.7);
   border-radius: 14px;
   font-size: clamp(24px, 1.83vw, 35px);
   color: #1EEB6A;
   line-height: .9;
   text-transform: uppercase;
   text-shadow: 0px 1.69px 1.69px rgba(0, 0, 0, 0.251),
      0px 1.69px 1.69px rgba(0, 0, 0, 0.251);
   width: clamp(375px, 28.5vw, 518px);
   margin: 10.3vh auto 3.5vh;
   padding: 20px 30px;
   position: relative;
}

.wheel__uptitle:before {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   border-radius: 14px;
   padding: 3px;
   background: -o-linear-gradient(191.52deg, #1EB757 51.18%, rgba(14, 168, 29, 0) 51.24%),
      -o-linear-gradient(15.02deg, #1EB757 33.81%, rgba(14, 168, 29, 0) 43.18%);
   background: linear-gradient(258.48deg, #1EB757 51.18%, rgba(14, 168, 29, 0) 51.24%),
      linear-gradient(74.98deg, #1EB757 33.81%, rgba(14, 168, 29, 0) 43.18%);
   -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box,
      -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
   -webkit-mask: linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
   mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box,
      -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
   mask: linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
   -webkit-mask-composite: xor;
   mask-composite: exclude;
}

.wheel__title {
   font-weight: 800;
   font-size: clamp(46px, 3.33vw, 65px);
   line-height: .88;
   text-transform: uppercase;
}

.wheel__wrap {
   border-radius: 50%;
   -webkit-box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      10px 20px 45.03px 0px rgba(0, 0, 0, 0.22);
   box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      10px 20px 45.03px 0px rgba(0, 0, 0, 0.22);
   width: clamp(480px, 34.54vw, 663px);
   height: clamp(480px, 34.54vw, 663px);
   padding: clamp(1px, 1vw, 18px);
   position: relative;
   z-index: 10;
}

.wheel__stopper {
   background: url('../img/stopper.png') no-repeat top center / cover;
   width: 8.45%;
   height: 8.3%;
   position: absolute;
   top: -2%;
   left: 0;
   right: 0;
   margin: auto;
   z-index: 5;
}

.wheel__wrap:before {
   content: '';
   background: url('../img/wheel-bg.png') no-repeat center center / cover;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   z-index: 1;
}

.wheel__wheel {
   margin: 0px auto;
   -webkit-animation: wheel-idle 90s linear infinite forwards;
   animation: wheel-idle 90s linear infinite forwards;
   position: relative;
   z-index: 1;
}

.wheel__wheel.first-spin {
   -webkit-animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
   animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__wheel.last-spin {
   -webkit-animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
   animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__button {
   background: url('../img/spin-btn.png') no-repeat center center / cover;
   font-family: "Kanit", sans-serif;
   font-weight: 700;
   font-size: clamp(28px, 1.85vw, 36px);
   font-style: italic;
   color: #fff;
   line-height: .89;
   text-transform: uppercase;
   display: block;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   margin: auto;
   width: 34.5%;
   height: 33.63%;
   -webkit-transition: all 0.6s;
   -o-transition: all 0.6s;
   transition: all 0.6s;
   z-index: 2;
   -webkit-animation: btn 1s ease-in-out infinite alternate;
   animation: btn 1s ease-in-out infinite alternate;
}

.wheel__rules {
   font-weight: 400;
   font-size: 12px;
   font-style: normal;
   color: #020726;
   text-transform: uppercase;
   text-decoration: underline;
   position: absolute;
   bottom: 30px;
   right: 30px;
}

/* Footer */
.footer {
   background: #020726;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
   -webkit-box-pack: justify;
   -ms-flex-pack: justify;
   justify-content: space-between;
   gap: 20px;
   padding: 20px 40px;
   position: relative;
   z-index: 1000;
}

.footer__icons {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
   -webkit-box-pack: center;
   -ms-flex-pack: center;
   justify-content: center;
   gap: 23px;
}

.footer__crypto {
   gap: 14px;
}

/* Popup */
.popup {
   background: -o-linear-gradient(top, rgba(0, 4, 64, 0.9) 0%, rgba(0, 10, 166, 0.9) 100%);
   background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 4, 64, 0.9)), to(rgba(0, 10, 166, 0.9)));
   background: linear-gradient(180deg, rgba(0, 4, 64, 0.9) 0%, rgba(0, 10, 166, 0.9) 100%);
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   overflow: hidden;
   display: none;
   z-index: 100;
   padding: 15px;
}

.popup.active {
   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;
   -webkit-box-pack: center;
   -ms-flex-pack: center;
   justify-content: center;
}

.popup__content {
   background: -o-linear-gradient(bottom, rgba(2, 5, 68, 0.6), rgba(2, 5, 68, 0.6)),
      -o-linear-gradient(135.01deg, rgba(36, 36, 36, 0.1) 27.76%, #2BEB72 83.65%);
   background: linear-gradient(0deg, rgba(2, 5, 68, 0.6), rgba(2, 5, 68, 0.6)),
      linear-gradient(314.99deg, rgba(36, 36, 36, 0.1) 27.76%, #2BEB72 83.65%);
   border: 2px solid #1EEB6A;
   border-radius: 20px;
   max-width: 410px;
   width: 100%;
   position: relative;
}

.popup__content:before {
   content: '';
   background: url('../img/popup-img.png') no-repeat center / 66px,
      -o-linear-gradient(314.95deg, rgba(31, 193, 46, 0.3) -0.13%, rgba(47, 253, 144, 0.3) 100.05%),
      -o-linear-gradient(314.95deg, #40C95D -0.13%, #18AC78 100.05%);
   background: url('../img/popup-img.png') no-repeat center / 66px,
      linear-gradient(135.05deg, rgba(31, 193, 46, 0.3) -0.13%, rgba(47, 253, 144, 0.3) 100.05%),
      linear-gradient(135.05deg, #40C95D -0.13%, #18AC78 100.05%);
   -webkit-box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      10px 20px 45.03px 0px rgba(0, 0, 0, 0.22);
   box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      10px 20px 45.03px 0px rgba(0, 0, 0, 0.22);
   border: 1px solid #fff;
   border-radius: 50%;
   width: 100px;
   height: 100px;
   position: absolute;
   left: 0;
   right: 0;
   top: -52px;
   margin: auto;
}

.popup.first-spin .popup__content {
   padding: 79px 50px 48px;
}

.popup.last-spin .popup__content {
   padding: 69px 41px 27px;
}

.popup__title {
   font-weight: 800;
   font-size: 40px;
   line-height: 0.9;
   text-transform: uppercase;
}

.popup__title span {
   display: block;
   color: #1EEB6A;
}

.popup__code {
   cursor: pointer;
   background-color: #08184B;
   border-radius: 58px;
   font-weight: 900;
   font-size: 54px;
   font-style: italic;
   color: #32FF7E;
   line-height: 0.8;
   text-align: center;
   text-transform: uppercase;
   max-width: 250px;
   margin: 39px auto 15px;
   position: relative;
}

.popup__code:before {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   border-radius: 58px;
   padding: 1px;
   background: -o-linear-gradient(left, #2CE66C 0%, #666666 100%);
   background: -webkit-gradient(linear, left top, right top, from(#2CE66C), to(#666666));
   background: linear-gradient(90deg, #2CE66C 0%, #666666 100%);
   -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box,
      -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
   -webkit-mask: linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
   mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box,
      -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
   mask: linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
   -webkit-mask-composite: xor;
   mask-composite: exclude;
}

.popup__code span:first-child {
   font-size: 15px;
   color: #fff;
   text-shadow: 0px 1.85px 1.85px rgba(0, 0, 0, 0.251),
      0px 1.85px 1.85px rgba(0, 0, 0, 0.251);
   position: absolute;
   top: -6px;
   left: 0;
   right: 0;
}

.copy {
   display: block;
   padding: 8px;
}

.copied {
   -webkit-animation: copy .3s ease-in-out;
   animation: copy .3s ease-in-out;
}

.popup__text {
   font-weight: 400;
   font-size: 16px;
   line-height: 1;
   max-width: 210px;
   margin: 0 auto;
   text-align: center;
   text-transform: uppercase;
}

.popup__button {
   display: block;
   background: -o-linear-gradient(314.95deg, #40C95D -0.13%, #18AC78 100.05%),
      -o-linear-gradient(314.95deg, rgba(31, 193, 46, 0.3) -0.13%, rgba(47, 253, 144, 0.3) 100.05%);
   background: linear-gradient(135.05deg, #40C95D -0.13%, #18AC78 100.05%),
      linear-gradient(135.05deg, rgba(31, 193, 46, 0.3) -0.13%, rgba(47, 253, 144, 0.3) 100.05%);
   border: 1px solid #fff;
   border-radius: 100px;
   -webkit-box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      0px 0px 35.03px 0px #239535;
   box-shadow: 0px 7.49px 29.97px 0px #ACFFAB inset,
      0px 0px 35.03px 0px #239535;
   font-family: "Kanit", sans-serif;
   font-weight: 700;
   font-size: 25px;
   font-style: italic;
   color: #fff;
   line-height: 1;
   text-transform: uppercase;
   margin: 38px auto 0;
   max-width: 280px;
   width: 100%;
   padding: 15px;
}

.popup__button:hover {
   -webkit-transform: scale(1.05);
   -ms-transform: scale(1.05);
   transform: scale(1.05);
}

.popup__rules {
   display: block;
   font-weight: 400;
   font-size: 10px;
   font-style: normal;
   color: #fff;
   text-transform: uppercase;
   text-align: center;
   text-decoration: underline;
   margin-top: 28px;
}

.popup__rules:hover {
   opacity: .5;
}

/* ANIMATION */
/* btn */
@-webkit-keyframes btn {
   100% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
   }
}

@keyframes btn {
   100% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
   }
}

/* wheel */
@-webkit-keyframes wheel-idle {
   0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
   }

   100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
   }
}

@keyframes wheel-idle {
   100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
   }
}

@-webkit-keyframes wheel-spin {
   100% {
      -webkit-transform: rotate(1350deg);
      transform: rotate(1350deg);
   }
}

@keyframes wheel-spin {
   100% {
      -webkit-transform: rotate(1350deg);
      transform: rotate(1350deg);
   }
}

@-webkit-keyframes wheel-spin2 {
   0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
   }

   100% {
      -webkit-transform: rotate(1172deg);
      transform: rotate(1172deg);
   }
}

@keyframes wheel-spin2 {
   0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
   }

   100% {
      -webkit-transform: rotate(1172deg);
      transform: rotate(1172deg);
   }
}

@-webkit-keyframes copy {
   100% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
   }
}

@keyframes copy {
   100% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
   }
}