* {
  font-family: sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  background: transparent !important; 
}

/*------------------------------------------------------------ Title Animation -------------------------------------------------------------------*/
/* Comment if using Slide keyframe */
.add-animation-zoom {
    animation: zoomBounce 0.3s ease;
    animation: zoomOut 0.3s ease;
}

/* Comment all if using Zoomout keyframe */
/* .add-animation {
  animation: frmslideLeft 0.3s ease;
  animation: frmslideRight 0.8s ease;
} */

/* Comment all if using Zoomout keyframe */
/* .exit-animation {
  animation: toslideRight 0.3s ease;
  animation: toslideLeft 0.8s ease;
} */


@keyframes zoomOut {
  0% {
      transform: scale(0);
      opacity: 0;
  }

  35% {
      transform: scale(0.9);
      opacity: 0.5;
  }

  65% {
      transform: scale(1.2);
      opacity: 0.8;
  }

  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes zoomBounce {
  0% {
      transform: scale(0);
      opacity: 0;
  }

  35% {
      transform: scale(0.7);
      opacity: 0.5;
  }

  55% {
      transform: scale(1.1);
      opacity: 0.7;
  }

  65% {
      transform: scale(0.8);
      opacity: 0.8;
  }

  85% {
      transform: scale(1.2);
      opacity: 0.9;
  }

  100% {
      transform: scale(1);
      opacity: 1;
  }
}

/* ------------------------------------------------------------ PLAY NOW BTN --------------------------------------------------------------- */
.playnowbtn {
  top: 87%;
  z-index: 10;
}

.playnowbtn img {
  width: 60%;
  max-width: 599px;
  animation: pulse 0.8s infinite;
  animation-timing-function: linear;
}

/* ------------------------------------------------------------ SPIN WHEEL  --------------------------------------------------------------- */
.utama {
  height: 50%;
  width: 95%;
  top: 50%;
  left: 0;
}

/* ---------------------------- background wheel ----------------------- */
.utama .backgroundwheel {
  top: 20%;
  left: 11%;
  animation: pulse 0.8s infinite;
  animation-timing-function: linear;
}

.utama .backgroundwheel img {
  width: 100%;
}


/* ----------------------------- middle coin ------------------------ */
.utama .wcoin1 {
  width: 23%;
  top: 25%;
  left: -2%;
  animation: floatHover 3s infinite;
  animation-timing-function: linear;
}

.utama .wcoin1 img {
  width: 100%;
}

.utama .wcoin2 {
  width: 23%;
  top: 37%;
  right: -3%;
  animation: floatHover 3s infinite;
  animation-timing-function: linear;
}

.utama .wcoin2 img {
  width: 100%;
}

/* -------------------------- upper coin ------------------------- */
.utama .wcoin3 {
  width: 23%;
  top: -90%;
  left: -6%;
  animation: floatHover 3s infinite;
  animation-timing-function: linear;
}

.utama .wcoin3 img {
  width: 100%;
}

.utama .wcoin4 img {
  width: 30%;
}

.utama .wcoin4 {
  width: 23%;
  top: -70%;
  left: 5%;
  animation: floatHover2 3s infinite;
  animation-timing-function: linear;
}

.utama .wcoin5 img {
  width: 30%;
}

.utama .wcoin5 {
  width: 23%;
  top: -82%;
  left: 90%;
  animation: floatHover3 3s infinite;
  animation-timing-function: linear;
}

@keyframes floatHover {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5px, -6px);
  }
  50% {
    transform: translate(-6px, 5px);
  }
  75% {
    transform: translate(6px, 6px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes floatHover2 {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-5px, 6px);
  }
  50% {
    transform: translate(6px, -5px);
  }
  75% {
    transform: translate(-6px, -6px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes floatHover3 {
  0% {
    transform: translate(0x, 0);
  }
  25% {
    transform: translate(5px, 3px);
  }
  50% {
    transform: translate(5px, -5px);
  }
  75% {
    transform: translate(1px, 6px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ----------------------- jackpot ----------------------- */
.utama .jackpot {
  width: 70%;
  top: -2%;
  left: 18%;
}

.utama .jackpot img {
  width: 100%;
}

/* ------------------- wheel border ----------------------- */
.utama .wheelborder {
  width: 80%;
  top: 10%;
  left: 5%;
}

.utama .wheelborder img {
  width: 120%;
}

/* ----------------------- wheel ----------------------- */
.utama .wheel {
    width: 80%;
    top: -8%;
    left: 4%;
}

.utama .wheel img {
  width: 120%;
}

.spinner {
  transform-origin: center center;
  transition: none;
  cursor: pointer;
}

.arrow {
  cursor: pointer;
}

/* ----------------------- arrow ----------------------- */
.utama .arrow {
    width: 18%;
    top: -15%;
    left: 44%;
}

.utama .arrow img {
  width: 100%;
}

/* ----------------------- stand ----------------------- */
.utama .stand {
  width: 50%;
  top: 65%;
  left: 27%;
}

.utama .stand img {
  width: 100%;
}

/* -------------------- spin wheel btn ----------------------- */
.utama .spinwheelbtn{
  width: 62%;
  top: 77%;
  left: 21%;
}

.utama .spinwheelbtn img {
  width: 100%;
  animation: pulse 0.8s infinite;
}

/* -------------------------------------------------- SPIN AGAIN MODAL ---------------------------------------------------------- */
#spin_again_modal .modal{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
}

#spin_again_modal .modal-content {
  width: 100% !important;
}

#spin_again_modal .modal-body {
  background-image: url('../image/tombol/spin_agn_modal_bg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#spin_again_modal .spinagnbtn{
  padding-top: 15vh;
  width: 75%;
  cursor: pointer;
  pointer-events: auto;
}

/* -------------------------------------------------- WINNER MODAL ---------------------------------------------------------- */
#winner_modal .modal{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#winner_modal .modal-content {
  width: 100% !important;
  max-width: 900px;
  max-height: 90vh;
  background: transparent !important;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

#winner_modal .modal-body {
  background-image: url('../image/popup.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 50vh;
  max-height: 90vh;
  padding: 2rem 1rem;
}

#winner_modal a{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#winner_modal .redeemnowbtn{
  padding-top: 28vh;
  width: 103%;
  max-width: 250px;
  cursor: pointer;
  pointer-events: auto;
}


.modal-dialog
{
  padding: 20px 20px !important;
}

/* -------------------------------------------- SPINNING EFFECT ----------------------------------------------- */
.image1 {
  animation: spinClockwise 4s ease normal forwards;
}

.image2 {
  animation: spinCounterClockwise 4s ease normal forwards;
}

.image3 {
  animation: spinWin 4s ease normal forwards;
}

.image4 {
  animation: spinCounterClockwise 4s ease normal forwards;
}

@keyframes spinClockwise {
  0% {
    transform: rotate(0deg);
  }

  90% {
    transform: rotate(2817deg);
  }

  95% {
    transform: rotate(2815deg);
  }

  100% {
    transform: rotate(2816deg);
  }
}

@keyframes spinCounterClockwise {
  0% {
    transform: rotate(0deg);
  }

  90% {
    transform: rotate(-2882deg);
  }

  95% {
    transform: rotate(-2880deg);
  }

  100% {
    transform: rotate(-2881deg);
  }
}

@keyframes spinWin {
  0% {
    transform: rotate(0deg);
  }

  90% {
    transform: rotate(2880deg);
  }

  95% {
    transform: rotate(2878deg);
  }

  100% {
    transform: rotate(2879deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #winner_modal .modal-content {
    max-width: 700px;
  }

  #winner_modal .modal-body {
    min-height: 60vh;
    padding: 2.5rem;
  }

  #winner_modal .redeemnowbtn{
    padding-top: 12vh;
    width: 55%;
    max-width: 280px;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  #spin {
    height: 100vh;
  }

  .jackpot_amnt {
    color: #f6da1c;
    font-weight: bold;
    font-size: 1.5vw;
    margin-top: -6vw;
    left: 8%;
  }

  .timer {
    color: white;
    font-weight: bold;
    font-size: 0.6vw;
  }

  #winner_modal .modal-content {
    max-width: 900px;
  }

  #winner_modal .modal-body {
    min-height: 70vh;
    padding: 3rem;
  }

  #winner_modal .redeemnowbtn{
    padding-top: 30vh;
    width: 100%;
    max-width: 320px;
  }
}

/* .content h1 {
  font-size: 8rem !important;
}

.content p {
  font-weight: 600;
  color: red;
  font-size: 1.5rem;
}

.content span {
  color: #898989;
  font-size: 1.5rem;
}

.jackpot_amnt {
  color: #f6da1c;
  font-weight: bold;
  font-size: 9vw;
  margin-top: -36vw;
  left: 8%;
}

.timer {
  color: white;
  font-weight: bold;
  font-size: 4vw;
  margin-top: 105vw;
 */
