@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"); body {
  font-family: Montserrat, sans-serif;
  line-height: 1.2;
  font-size: 15px;
  color: rgb(255, 255, 255);
  background: url("../images/bg.jpg") center top / cover no-repeat rgb(13, 1, 39);
}

a {
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

a:hover, a:focus, button:focus, button:hover {
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
  color: rgb(102, 102, 102);
  width: 100%;
}

button {
  background: none;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  padding: 0px;
}

.t-body {
  overflow: hidden;
}

.deco {
  position: absolute;
}

.max-container {
  position: relative;
  max-width: 1920px;
  margin: 0px auto;
  padding: 0px 10px;
}

.music-wrapper {
  position: fixed;
  z-index: 99;
  right: 0px;
  top: 50px;
  opacity: 1;
  transition: 0.3s;
  overflow: hidden;
  height: 40px;
  width: 40px;
  background: rgb(255, 255, 255);
  border-radius: 10px 0px 0px 10px;
}

.music-wrapper audio {
  position: absolute;
  left: -6px;
  top: -7px;
}

audio:focus {
  outline: none;
}

.top-sec {
  text-align: center;
  position: relative;
  padding: 30px 0px 45px;
}

.gashapon-wrapper {
  position: relative;
  max-width: 24%;
  margin: 0px auto -18%;
  z-index: 1;
}

.gsp-base-img {
  position: relative;
  z-index: -1;
  margin-top: -11%;
  margin-left: 6%;
}

.gsp-cover {
  left: 0px;
  right: 0px;
  top: -10.5%;
  pointer-events: none;
  z-index: 4;
  max-width: 100%;
  margin: 0px auto;
}

.spin-btn {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 73%;
  z-index: 6;
  max-width: 17%;
  margin: 0px auto;
}

.btn-wrap {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 69.5%;
  z-index: 6;
  max-width: 90%;
  margin: 0px auto;
}

button.draw-btn {
  width: 100%;
}

.ball {
  position: absolute;
  max-width: 17%;
}

.ball.red-1 {
  left: 36%;
  top: 49%;
}

.ball.red-2 {
  right: 23%;
  top: 38%;
  z-index: 3;
}

.ball.red-3 {
  right: 20%;
  top: 51%;
  transform: rotate(10deg);
  z-index: 1;
}

.ball.red-4 {
  right: 51%;
  top: 36%;
  transform: rotate(80deg);
  z-index: 1;
  max-width: 20%;
}

.ball.blue-1 {
  left: 27%;
  top: 49%;
}

.ball.blue-2 {
  right: 30%;
  top: 48%;
  z-index: 2;
}

.ball.blue-3 {
  left: 21%;
  top: 45%;
  z-index: 1;
  transform: rotate(-30deg);
}

.ball.blue-4 {
  right: 37%;
  top: 37%;
  z-index: 1;
  transform: rotate(-80deg);
}

.ball.yellow-1 {
  left: 43%;
  right: 0px;
  top: 46%;
}

.ball.yellow-2 {
  left: 11%;
  top: 40%;
  z-index: 1;
  transform: rotate(49deg);
}

.ball.yellow-3 {
  right: 15%;
  top: 42%;
  z-index: 1;
  transform: rotate(25deg);
}

.ball.yellow-4 {
  left: 12%;
  right: 0px;
  top: 51%;
  margin: 0px auto;
  z-index: 1;
  transform: rotate(21deg);
}

.ball.yellow-5 {
  left: 17%;
  top: 50%;
  margin: 0px auto;
  z-index: 1;
  transform: rotate(86deg);
}

.modal-dialog.popup {
  max-width: 800px;
}

.modal-content.terms {
  background: none;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  padding: 0px;
}

button.close-x {
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 2;
  color: rgb(255, 255, 255);
}

button.draw-btn:hover {
  filter: brightness(1.07) drop-shadow(rgba(255, 255, 255, 0.5) 0px 0px 5px);
}

button.draw-btn:focus {
  transform: scale(0.95);
  filter: brightness(1.07);
}

.spin-img {
  transition: transform 1s;
}

.rotate {
  transform: rotate(270deg);
}

@keyframes tilt-shaking {
  0% {
      transform: translate(0px, 0px) rotate(0deg);
  }

  25% {
      transform: translate(5px, 5px) rotate(5deg);
  }

  50% {
  }

  75% {
      transform: translate(-5px, 5px) rotate(-5deg);
  }

  100% {
      transform: translate(0px, 0px) rotate(0deg);
  }
}

.shaking .ball.blue-3 img, .shaking .ball.yellow-1 img, .shaking .ball.red-3 img {
  animation: 0.3s ease 0s infinite normal none running tilt-shaking;
}

.shaking .ball.blue-1 img, .shaking .ball.yellow-2 img, .shaking .ball.red-2 img {
  animation: 0.3s ease 0s infinite normal none running tilt-shaking;
}

.shaking .ball.blue-2 img, .shaking .ball.yellow-3 img, .shaking .ball.yellow-4 img, .shaking .ball.red-1 img {
  animation: 0.5s ease 0s infinite normal none running tilt-shaking;
}

.shaking .ball.blue-4 img, .shaking .ball.yellow-5 img, .shaking .ball.red-4 img {
  animation: 0.4s ease 0s infinite normal none running tilt-shaking;
}

.dropball {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 82%;
  z-index: 9999;
  max-width: 46%;
  height: 90px;
  margin: 0px auto;
  overflow: hidden;
}

.reward-ball {
  max-width: 33%;
  margin: 0px auto;
  opacity: 0;
  visibility: hidden;
  display: none;
  transform-origin: center center;
  animation: 1.5s ease-in-out 0s 1 normal none running dropshake;
}

.reward-ball.ball-1.active, .reward-ball.ball-2.active {
  visibility: visible;
  opacity: 1;
  display: block;
}

@keyframes dropshake {
  0% {
      transform: translateY(-100%);
  }

  20% {
      transform: translateY(0px);
  }

  30% {
      transform: translateY(-8px);
  }

  40% {
      transform: translateY(0px);
  }

  50% {
      transform: translateY(0px) translateX(10px) rotate(10deg);
  }

  60% {
  }

  70% {
  }

  100% {
      transform: rotate(0deg) translateX(0px);
  }
}

.gsp-base-img-podium {
  position: relative;
  text-align: center;
  z-index: -2;
}

.modal-content.reward {
  background: none;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  max-width: 350px;
  margin: 0px auto;
}

.reward-box {
  position: relative;
  max-width: 350px;
  margin: 0px auto;
  text-align: center;
  cursor: pointer;
  animation: 1.5s linear 0s infinite normal none running glowing;
}

img.open {
  position: absolute;
  left: 0px;
  right: 0px;
  transition: 0.2s;
}

img.open {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.reward-box.active img.closed {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.reward-box.active img.open {
  opacity: 1;
  visibility: visible;
  transition: 0.2s;
}

.prize-get {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 38%;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  transform: scale(0.2);
  z-index: 3;
}

.prize-shine-img {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 18%;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  transform: scale(0.2);
}

.reward-box.active .prize-get {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: 0.3s 0.3s;
}

.reward-box.active .prize-shine-img {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: 0.3s;
}

@keyframes glowing {
  0% {
      filter: drop-shadow(rgb(255, 255, 255) 0px 0px 3px);
  }

  50% {
      filter: drop-shadow(rgb(255, 255, 255) 0px 0px 10px) brightness(1.1);
  }

  100% {
      filter: drop-shadow(rgb(255, 255, 255) 0px 0px 3px);
  }
}

button.close-btn {
  color: rgb(255, 255, 255);
  max-width: max-content;
  margin: 0px auto;
  font-size: 28px;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.reward-box.active ~ button.close-btn {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.game-rules-wrapper {
  max-width: 1024px;
  margin: -20% auto auto;
  text-align: center;
}

.game-rules-item-title {
  margin: 0px auto;
  border: 3px solid transparent;
  border-radius: 15px;
  background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)) padding-box padding-box, linear-gradient(rgb(19, 0, 47), rgb(155, 30, 252)) border-box border-box;
  padding: 15px 10px;
  width: 100%;
}

.game-rules-item-title span {
  background: -webkit-linear-gradient(top, rgb(118, 1, 145), rgb(83, 14, 210)) text;
  -webkit-text-fill-color: transparent;
}

.game-rules-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  gap: 10px;
}

.game-rules-wrapper_inn {
  max-width: 320px;
  margin: auto;
  font-size: 1.1em;
  font-weight: 600;
}

.game-rules-item-token {
  border: 3px solid transparent;
  border-radius: 15px;
  background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)) padding-box padding-box, linear-gradient(rgb(19, 0, 47), rgb(155, 30, 252)) border-box border-box;
  padding: 15px 10px;
  width: 100%;
}

.game-rules-item-token span {
  background: -webkit-linear-gradient(top, rgb(118, 1, 145), rgb(83, 14, 210)) text;
  -webkit-text-fill-color: transparent;
}

.game-rules-item-button {
  padding: 15px 10px;
  border-radius: 15px;
  border: 2px solid transparent;
  background: linear-gradient(rgb(192, 95, 243), rgb(123, 44, 250)) padding-box padding-box, linear-gradient(rgb(19, 0, 47), rgb(155, 30, 252)) border-box border-box;
  width: 100%;
}

.game-rules-item-button span {
  color: rgb(255, 255, 255);
}

.game-rules-item-link {
  background: -webkit-linear-gradient(top, rgb(247, 241, 253), rgb(99, 17, 175)) text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5em;
  font-weight: 700;
  margin: 0.5em 0px;
}

.game-rules-item-tnc-item-left ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.game-rules-item-tnc-item-left ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.game-rules-item-tnc-item-left ul li img {
  width: 20px;
  height: 20px;
}

.game-rules-item-tnc-item-right {
  max-width: 18%;
}

.game-rules-item-tnc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-rules-item-tnc {
  background: rgb(98 12 167 / 55%);
  border-radius: 10px;
  padding: 1.5em;
  border: 1px solid rgb(188 106 253 / 42%);
}
.gsp-base-img-podium img.mobile{
  display: none;
}
@media (max-width: 999px){
  .game-rules-wrapper{
    margin-top: 0;
    margin: -22% auto auto;
    padding: 0 15px;
    padding-bottom: 15px;
  }
  .gashapon-wrapper{
    max-width: 50%;
    margin: 0px auto -31%;
  }
  .t-body{
    overflow: auto;
  }
  .game-rules-item-tnc-item-left{
    font-size: 0.8em;
  }
  .game-rules-item-tnc-item-right {
    max-width: 28%;
  }
  .gsp-base-img-podium img.desktop{
      display: none;
  }
  .gsp-base-img-podium img.mobile{
    display: block;
    width: 100%;
  }
  .max-container{
    padding: 0;
  }
  .game-rules-wrapper_inn {
    max-width: 200px;
    margin: auto;
    font-size: 12px;
    font-weight: 600;
  }
  .game-rules-item-link{
    font-size: 1.5em;
    margin: 1em;
  }

  /* Gentler shake on mobile */
  .shaking .ball.blue-3 img, .shaking .ball.yellow-1 img, .shaking .ball.red-3 img,
  .shaking .ball.blue-1 img, .shaking .ball.yellow-2 img, .shaking .ball.red-2 img,
  .shaking .ball.blue-2 img, .shaking .ball.yellow-3 img, .shaking .ball.yellow-4 img, .shaking .ball.red-1 img,
  .shaking .ball.blue-4 img, .shaking .ball.yellow-5 img, .shaking .ball.red-4 img {
    animation-name: tilt-shaking-sm;
  }
}

@keyframes tilt-shaking-sm {
  0% {
      transform: translate(0px, 0px) rotate(0deg);
  }

  25% {
      transform: translate(1px, 1px) rotate(1deg);
  }

  50% {
  }

  75% {
      transform: translate(-1px, 1px) rotate(-1deg);
  }

  100% {
      transform: translate(0px, 0px) rotate(0deg);
  }
}
@media (max-width: 480px) {
  .music-wrapper {
      transform: scale(0.8);
      transform-origin: right top;
  }

  .top-sec {
      background-size: 350%;
      height: 100vh;
  }
}
