@font-face {
  font-family: 'Baloo 2';
  src: url('../fonts/Baloo_2/baloo2-semibold-webfont.woff2') format('woff2'),
    url('../fonts/Baloo_2/baloo2-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: local('Baloo 2'), local('Baloo ExtraBold'),
    url('../fonts/Baloo_2/Baloo2-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Baloo 2', cursive;
  font-style: normal;
  font-weight: 600;
  overflow-x: hidden;
  background-color: #000;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
button {
  border: none;
  background: 0 0;
  color: inherit;
  cursor: pointer;
  outline: none;
}
.container {
  max-width: 1420px;
  padding: 0 10px;
  margin: 0 auto;
}
.game-cards__item-prize img,
.game-cards__item-frame img {
  height: 100%;
  -o-object-fit: fill;
  object-fit: fill;
}
.game-hidden {
  -webkit-filter: blur(6px);
  filter: blur(6px);
  opacity: 0;
}
.animate__jello {
  -webkit-animation: jello 1s infinite both;
  animation: jello 1s infinite both;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}
@-webkit-keyframes jello {
  0%,
  11.1%,
  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}
@keyframes jello {
  0%,
  11.1%,
  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}
@-webkit-keyframes spin-wheel {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
  }
  60% {
    -webkit-transform: translate(-50%, -50%) rotate(3331deg);
    transform: translate(-50%, -50%) rotate(3331deg);
  }
  80% {
    -webkit-transform: translate(-50%, -50%) rotate(3291deg);
    transform: translate(-50%, -50%) rotate(3291deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(3311deg);
    transform: translate(-50%, -50%) rotate(3311deg);
  }
}
@keyframes spin-wheel {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
  }
  60% {
    -webkit-transform: translate(-50%, -50%) rotate(3331deg);
    transform: translate(-50%, -50%) rotate(3331deg);
  }
  80% {
    -webkit-transform: translate(-50%, -50%) rotate(3291deg);
    transform: translate(-50%, -50%) rotate(3291deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(3311deg);
    transform: translate(-50%, -50%) rotate(3311deg);
  }
}
.main {
  max-width: 520px;
  margin: 0 auto;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
  z-index: 2;
}
.main:after {
  content: '';
  position: absolute;
  background-image: url('../img/webp/bg-element.webp');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
  z-index: -1;
}
.main .scoreboard {
  font-size: 26px;
  text-align: center;
  line-height: 1;
  padding-top: 5px;
  text-transform: uppercase;
}
.main .scoreboard-title {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(23.08%, #f7fa00),
    color-stop(83.33%, #ff9100)
  );
  background: -o-linear-gradient(top, #f7fa00 23.08%, #ff9100 83.33%);
  background: linear-gradient(180deg, #f7fa00 23.08%, #ff9100 83.33%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main .scoreboard-title--game {
  -webkit-transition: all 0.6s 1.1s ease-in-out;
  -o-transition: all 0.6s 1.1s ease-in-out;
  transition: all 0.6s 1.1s ease-in-out;
  opacity: 0;
}
.main .scoreboard-balance {
  background: url('../img/webp/scoreboard.webp');
  background-repeat: no-repeat;
  background-size: cover;
  font-weight: 800;
  max-width: 320px;
  width: 100%;
  height: 54px;
  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;
  margin: 0 auto;
}
.main .scoreboard-balance__count {
  margin-right: 5px;
}
.main .scoreboard-balance__text {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(23.08%, #f7fa00),
    color-stop(83.33%, #ff9100)
  );
  background: -o-linear-gradient(top, #f7fa00 23.08%, #ff9100 83.33%);
  background: linear-gradient(180deg, #f7fa00 23.08%, #ff9100 83.33%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main .visible {
  opacity: 1;
}
.main .game-hidden {
  -webkit-filter: blur(6px);
  filter: blur(6px);
  opacity: 0;
}
.main .game-cards {
  position: relative;
  z-index: 0;
  -webkit-transition: all 1s 0.9s ease-in-out;
  -o-transition: all 1s 0.9s ease-in-out;
  transition: all 1s 0.9s ease-in-out;
}
.main .game-cards__item {
  max-width: 290px;
  height: 150px;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
}
.main .game-cards__item-frame,
.main .game-cards__item-prize,
.main .game-cards__item-flag {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main .game-cards__item-prize {
  z-index: 1;
  width: 287px;
  top: 15px;
  left: 10px;
  bottom: 8px;
}
.main .game-cards__item-prize img {
  max-width: 270px;
  height: 130px;
  -o-object-fit: fill;
  object-fit: fill;
}
.main .game-cards__item-flag {
  z-index: 2;
  left: 10px;
  top: 15px;
  opacity: 1;
  -webkit-filter: blur(0);
  filter: blur(0);
  -webkit-transition: opacity 0.7s ease-in-out, -webkit-filter 0.5s ease-in-out;
  transition: opacity 0.7s ease-in-out, -webkit-filter 0.5s ease-in-out;
  -o-transition: filter 0.5s ease-in-out, opacity 0.7s ease-in-out;
  transition: filter 0.5s ease-in-out, opacity 0.7s ease-in-out;
  transition: filter 0.5s ease-in-out, opacity 0.7s ease-in-out,
    -webkit-filter 0.5s ease-in-out;
}
.main .game-cards__item-flag img {
  max-width: 270px;
  height: 130px;
  -o-object-fit: fill;
  object-fit: fill;
}
.main .game-cards__item-frame {
  z-index: 3;
}
.main .game-cards__item .flag--hidden {
  opacity: 0;
  -webkit-filter: blur(3px);
  filter: blur(3px);
}
.main .game-wheel {
  position: absolute;
  left: 50%;
  top: 165px;
  width: 100%;
  opacity: 0;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: scale 0.5s 1.8s ease-in-out, opacity 0.4s 1.8s ease-in-out,
    z-index 2s 1.8s ease-in-out;
  -o-transition: scale 0.5s 1.8s ease-in-out, opacity 0.4s 1.8s ease-in-out,
    z-index 2s 1.8s ease-in-out;
  transition: scale 0.5s 1.8s ease-in-out, opacity 0.4s 1.8s ease-in-out,
    z-index 2s 1.8s ease-in-out;
  z-index: -1;
}
.main .game-wheel--active {
  -webkit-transform: scale(1) translateX(-50%);
  -ms-transform: scale(1) translateX(-50%);
  transform: scale(1) translateX(-50%);
  opacity: 1;
  z-index: 20;
}
.main .game-wheel__prizes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.main .game-wheel__prizes-item {
  font-family: 'Baloo 2', cursive;
  position: absolute;
  font-weight: 800;
  font-size: 6vw;
  text-transform: uppercase;
  color: #f7fa00;
  text-shadow: -1px -1px 2px #4e0069, 1px -1px 2px #4e0069, -1px 1px 2px #4e0069,
    1px 1px 2px #4e0069;
}
.main .game-wheel__prizes-item:nth-child(1) {
  -webkit-transform: rotate(18deg);
  -ms-transform: rotate(18deg);
  transform: rotate(18deg);
  top: 35.5%;
  left: 13%;
}
.main .game-wheel__prizes-item:nth-child(2) {
  -webkit-transform: rotate(91deg);
  -ms-transform: rotate(91deg);
  transform: rotate(91deg);
  top: 17%;
  left: 38.5%;
}
.main .game-wheel__prizes-item:nth-child(3) {
  -webkit-transform: rotate(136deg);
  -ms-transform: rotate(136deg);
  transform: rotate(136deg);
  top: 25.5%;
  right: 18%;
}
.main .game-wheel__prizes-item:nth-child(4) {
  -webkit-transform: rotate(183deg);
  -ms-transform: rotate(183deg);
  transform: rotate(183deg);
  top: 46%;
  right: 10%;
}
.main .game-wheel__prizes-item:nth-child(5) {
  -webkit-transform: rotate(234deg);
  -ms-transform: rotate(234deg);
  transform: rotate(234deg);
  bottom: 24.5%;
  right: 23%;
}
.main .game-wheel__prizes-item:nth-child(6) {
  -webkit-transform: rotate(282deg);
  -ms-transform: rotate(282deg);
  transform: rotate(282deg);
  bottom: 19.5%;
  right: 43.5%;
}
.main .game-wheel__prizes-item:nth-child(7) {
  -webkit-transform: rotate(151deg);
  -ms-transform: rotate(151deg);
  transform: rotate(151deg);
  bottom: 32.5%;
  left: 16%;
}
.main .game-wheel__box {
  position: relative;
  width: 95%;
  margin: 35px auto 5px;
}
.main .game-wheel__box-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 83%;
}
.main .game-wheel__box-spin {
  -webkit-transform: translate(-50%, -50%) rotate(3311deg);
  -ms-transform: translate(-50%, -50%) rotate(3311deg);
  transform: translate(-50%, -50%) rotate(3311deg);
  -webkit-animation: spin-wheel 2.6s 1;
  animation: spin-wheel 2.6s 1;
}
.main .game-wheel__box-arrow {
  position: absolute;
  top: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 44px;
  height: 50px;
  -o-object-fit: contain;
  object-fit: contain;
}
.main .game-wheel__controle-btn {
  font-size: 40px;
}
.main .game-wheel__controle-btn:hover {
  -webkit-transform: scale(0.85) !important;
  -ms-transform: scale(0.85) !important;
  transform: scale(0.85) !important;
}
.main .game-wheel__controle-arrow {
  width: 100px;
  margin: 60px auto 0;
  display: block;
}
.btn {
  font-family: inherit;
  background-image: url('../img/webp/button.webp');
  background-repeat: no-repeat;
  background-size: cover;
  width: 300px;
  height: 70px;
  margin: 0 auto;
  display: block;
  font-weight: 800;
  color: #fff;
  font-size: 25px;
  text-shadow: 0px 0px 5px #6a00d3;
  -webkit-transition: opacity 0.3s 0.6s ease-in-out, bottom 0.6s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
  transition: opacity 0.3s 0.6s ease-in-out, bottom 0.6s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out, opacity 0.3s 0.6s ease-in-out,
    bottom 0.6s ease-in-out;
  transition: transform 0.3s ease-in-out, opacity 0.3s 0.6s ease-in-out,
    bottom 0.6s ease-in-out;
  transition: transform 0.3s ease-in-out, opacity 0.3s 0.6s ease-in-out,
    bottom 0.6s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.popup .btn {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 140px;
  position: absolute;
  opacity: 0;
}
.popup .btn:hover {
  -webkit-transform: translateX(-50%) scale(0.85) !important;
  -ms-transform: translateX(-50%) scale(0.85) !important;
  transform: translateX(-50%) scale(0.85) !important;
}
.popup {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 250px;
}
.popup:before {
  content: '';
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  right: 0;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 0;
  height: 0;
  -webkit-transition: all 0s 1.5s ease-in-out;
  -o-transition: all 0s 1.5s ease-in-out;
  transition: all 0s 1.5s ease-in-out;
}
.popup-inner {
  padding-bottom: 100px;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -20%);
  -ms-transform: translate(-50%, -20%);
  transform: translate(-50%, -20%);
}
.popup-info {
  background: url('../img/webp/popup-bg.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 42vh;
  height: 290px;
  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-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  will-change: transform;
  -webkit-transition: -webkit-transform 0.4s 1.1s ease-in-out;
  transition: -webkit-transform 0.4s 1.1s ease-in-out;
  -o-transition: transform 0.4s 1.1s ease-in-out;
  transition: transform 0.4s 1.1s ease-in-out;
  transition: transform 0.4s 1.1s ease-in-out,
    -webkit-transform 0.4s 1.1s ease-in-out;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  position: relative;
  z-index: 20;
}
.popup-info__inner {
  display: none;
  text-shadow: -1px 2px 12px rgba(255, 0, 199, 0.79);
}
.popup-info__title {
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  color: #00dcfa;
  margin-bottom: 5px;
}
.popup-info__subtitle {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: #ffd600;
  text-align: center;
  text-transform: uppercase;
}
.popup-info__text {
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}
.popup-info__prize {
  font-size: 35px;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(23.08%, #f7fa00),
    color-stop(83.33%, #ff9100)
  );
  background: -o-linear-gradient(top, #f7fa00 23.08%, #ff9100 83.33%);
  background: linear-gradient(180deg, #f7fa00 23.08%, #ff9100 83.33%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.popup.disabled {
  z-index: -1;
  -webkit-transition: z-index 0s 1.6s ease-in-out;
  -o-transition: z-index 0s 1.6s ease-in-out;
  transition: z-index 0s 1.6s ease-in-out;
}
.popup.active {
  z-index: 20;
  -webkit-transition: z-index 0s 0s ease-in-out;
  -o-transition: z-index 0s 0s ease-in-out;
  transition: z-index 0s 0s ease-in-out;
}
.popup.active:before {
  width: 110vw;
  height: 100vh;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0s 0s ease-in-out;
  -o-transition: all 0s 0s ease-in-out;
  transition: all 0s 0s ease-in-out;
}
.popup.active .popup-info__inner,
.popup.disabled .popup-info__inner {
  display: block;
}
.popup.active .popup-info {
  -webkit-transition: -webkit-transform 0.4s 0s ease-in-out;
  transition: -webkit-transform 0.4s 0s ease-in-out;
  -o-transition: transform 0.4s 0s ease-in-out;
  transition: transform 0.4s 0s ease-in-out;
  transition: transform 0.4s 0s ease-in-out,
    -webkit-transform 0.4s 0s ease-in-out;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.popup.active .btn {
  -webkit-transition: opacity 0.3s 1.1s ease-in-out,
    bottom 0.6s 1.1s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: opacity 0.3s 1.1s ease-in-out, bottom 0.6s 1.1s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out, opacity 0.3s 1.1s ease-in-out,
    bottom 0.6s 1.1s ease-in-out;
  transition: transform 0.3s ease-in-out, opacity 0.3s 1.1s ease-in-out,
    bottom 0.6s 1.1s ease-in-out;
  transition: transform 0.3s ease-in-out, opacity 0.3s 1.1s ease-in-out,
    bottom 0.6s 1.1s ease-in-out, -webkit-transform 0.3s ease-in-out;
  opacity: 1;
  bottom: 0;
}
#popup-second .popup-info__subtitle:last-child {
  font-size: 27px;
  margin-top: 4px;
}
#popup-second .popup-info__title {
  line-height: 1;
}
#popup-second .popup-inner {
  -webkit-transform: translate(-50%, -7%);
  -ms-transform: translate(-50%, -7%);
  transform: translate(-50%, -7%);
}
@media (max-width: 385px) {
  .popup-info {
    width: 94vw;
  }
  .main:after {
    max-height: 120px;
    height: 100%;
  }
  .main .game-wheel {
    top: 150px;
  }
  .main .game-wheel__box {
    width: 80%;
  }
  .btn.game-wheel__controle-btn {
    background-size: contain;
    width: 253px;
    height: 61px;
  }
  .main .game-wheel__box-arrow {
    top: -22px;
    width: 30px;
    height: 38px;
  }
  .main .game-wheel__box {
    margin: 30px auto 0px;
  }
  .main .game-wheel__controle-arrow {
    width: 80px;
    margin: 30px auto 0;
  }
  .main .game-wheel__prizes-item {
    font-size: 5vw;
  }
  #popup-second .popup-inner {
    -webkit-transform: translate(-50%, -26%);
    -ms-transform: translate(-50%, -26%);
    transform: translate(-50%, -26%);
  }
}
@media (min-width: 550px) {
  .main .game-wheel__prizes-item {
    font-size: 32px;
  }
}
@media (min-width: 400px) {
  .main .game-cards__item {
    max-width: 310px;
    height: 200px;
  }
  .main .game-cards__item-flag {
    width: 300px;
    top: 15px;
    left: 4px;
  }
  .main .game-cards__item-prize {
    top: 22px;
    left: 10px;
    bottom: 8px;
  }
  .main .game-cards__item-flag img {
    max-width: 300px;
    height: 170px;
  }
  .main .game-cards__item-prize img {
    max-width: 300px;
    height: 100%;
  }
  .popup-inner {
    -webkit-transform: translate(-50%, -20%);
    -ms-transform: translate(-50%, -20%);
    transform: translate(-50%, -20%);
  }
}
.header-logo {
  width: 30%;
  margin: 10px auto 0;
  display: block;
}
.wheel-btn {
  position: absolute;
  width: 24%;
  height: 24%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
}
