@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/SegoeUI.eot");
  src: url("../fonts/SegoeUI.eot?#iefix") format("embedded-opentype"),
    url("../fonts/SegoeUI.woff") format("woff"),
    url("../fonts/SegoeUI.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/SegoeUIBold.ttf");
  font-weight: bold;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  background: #070518;
  font-family: "Segoe UI", sans-serif;
  color: #e8e8e8;
  font-size: 16px;
  overflow-x: hidden;
}
h1 {
  font-size: 24px;
}
button {
  border: 0;
  width: 100%;
  cursor: pointer;
}
.hide-tech-text {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 550px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 16px;
}
@media (max-width: 992px) {
  .wrapper {
    padding: 0 16px;
  }
}
hr {
  background: rgba(99, 49, 180, 0.36);
  height: 2px;
  min-height: 2px;
  border: 0;
  margin-bottom: 40px;
  width: 100%;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 24px;
  width: 100%;
}
@media (max-width: 992px) {
  .header {
    padding-bottom: 0;
    margin-bottom: 20px;
  }
}
.header-text {
  font-size: 28px;
  font-weight: 700;
}
.header-relink {
  display: flex;
  padding: 4px;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  background: rgba(132, 76, 176, 0.16);
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.header-link {
  text-decoration: none;
  width: 40px;
  height: 40px;
}
.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.header-logo--inactive {
  display: block;
  opacity: 0.2;
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga";
}
.stop {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 660px;
}
.stop h1,
.stop .text {
  text-align: center;
}
.screen {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-bottom: 50px;
  opacity: 0;
  transform: translateX(10vw) scale(0.9);
  pointer-events: none;
  min-height: 80vh;
}
.screen.active {
  animation: show 0.5s forwards;
  pointer-events: all;
}
.screen.inactive {
  animation: hide 0.5s forwards;
  pointer-events: none;
}
.screen-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.screen-img-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  object-fit: cover;
}
.screen-img-box.en {
  background: url(../images/girl-en-1.jpg) center center no-repeat;
  background-size: auto 100%;
}
.screen-img-box.es {
  background: url(../images/girl-es-1.jpg) center center no-repeat;
  background-size: auto 100%;
}
.screen-img-box.jp {
  background: url(../images/girl-jp-1.jpg) center center no-repeat;
  background-size: auto 100%;
}
.screen-img-box.id {
  background: url(../images/girl-cn-1.jpg) center center no-repeat;
  background-size: auto 100%;
}
.screen-img-box.pt {
  background: url(../images/girl-pt-1.png) center center no-repeat;
  background-size: auto 100%;
}
.screen-img-box.ae {
  background: url(../images/girl-ae-1.png) center center no-repeat;
  background-size: auto 100%;
}
.scan-line {
  opacity: 0.5;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 147, 86, 1) 0%,
    rgba(255, 159, 105, 0) 75%
  );
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 2;
}
.screen.active .scan-line {
  animation: scanLine 3.5s infinite ease-in-out alternate;
}
.screen.active .screen-img {
  animation: scanImg 3.5s infinite ease-in-out alternate;
}
#screen-1,
#screen-2 {
  justify-content: flex-start;
}

.buttons {
  display: flex;
  gap: 20px;
}
.buttons.fd {
  flex-direction: column;
}
@media (max-width: 992px) {
  .buttons {
    flex-direction: column;
  }
}
.btn {
  height: 64px;
  min-height: 64px;
  border-radius: 24px;
  min-width: 200px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* end of fix highlight-click 07/09/2023 */
.btn.btn-small {
  min-height: 48px;
  height: 48px;
  border-radius: 16px;
}
.btn.btn-big {
  min-height: 64px;
  height: 64px;
  border-radius: 24px;
}
/* new giveaways header-block 07/09/2023 */
.btn span {
  width: 100%;
  text-align: center;
  transition: all 0.3s;
}
.btn svg,
.btn .material-icons {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  transition: all 0.3s;
}
.btn-orange {
  background: #e86f00;
}
@media (hover: hover) {
  .btn-orange:hover {
    background: #ff8642;
  }
}
.btn-orange:active {
  background: #b4490d;
}
.btn-outline {
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(156, 136, 188, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
}
.btn-outline .material-icons {
  color: rgba(156, 136, 188, 0.32);
}

/* new giveaways header-block 07/09/2023 */
@media (hover: hover) {
  .btn-outline:hover {
    color: rgba(255, 255, 255, 1);
  }
  .btn-outline:hover .material-icons {
    color: #9c88bc;
  }
  .btn-outline:hover {
    box-shadow: inset 0 0 0 2px rgba(156, 136, 188, 0.32);
  }
}

.btn-outline:active {
  box-shadow: inset 0 0 0 2px rgba(156, 136, 188, 0);
  background: rgba(156, 136, 188, 0.12);
  color: rgba(255, 255, 255, 0.5);
}
.btn-outline:active .material-icons {
  color: #9c88bc52;
}

@keyframes show {
  0% {
    opacity: 0;
    transform: translateX(25vw) translateZ(-10vw) scale(0.9) perspective(400px)
      rotateX(0) rotateY(30deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0vw) translateZ(10vw) scale(1) perspective(800px)
      rotateX(0) rotateY(0deg);
  }
}
@keyframes hide {
  0% {
    opacity: 1;
    transform: translateX(0vw) translateZ(10vw) scale(1) perspective(800px)
      rotateX(0) rotateY(0deg);
  }
  100% {
    opacity: 0;
    transform: translateX(-25vw) translateZ(-10vw) scale(0.9) perspective(400px)
      rotateX(0) rotateY(-30deg);
  }
}
.disclaimer {
  padding-top: 32px;
  text-align: center;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  opacity: 0.5;
  max-width: 400px;
}

@keyframes scanLine {
  0% {
    top: 0%;
  }
  100% {
    top: calc(100% - 6px);
  }
}
@keyframes scanImg {
  /* 0% {
        -webkit-mask-size: 100% calc(0% + 3px);
    }
    100% {
        -webkit-mask-size: 100% calc(100% - 3px);
    } */
  0% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}
