* {
  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: 88%;
  z-index: 5;
}

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

/* ------------------------------------------------------------ SPIN WHEEL  --------------------------------------------------------------- */
.element1 {
  top: 30%;
}

.element1 img {
  width: 80%;
}

.utama {
  position: relative;
  height: 50%;
  width: 95%;
  top: 50%;
  left: 0;
}

.btn2 {
  position: absolute;
  left: 50%;
  top: 30vh; /* Adjust as needed for spacing from bottom */
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px /* Set your desired width */ ;
  height: auto;
  z-index: 100;
}

.btn2 img {
  width: 100%;
  height: auto;
  padding: 0;
  animation: zoomout 2s ease;
  animation-timing-function: linear;
  animation-delay: 2s;
}
/* ---------------------------- background wheel ----------------------- */


@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);
  }
}

/* ------------------- wheel border ----------------------- */
.wheelframe {
  top: 48%;
  left: 10%;
  z-index: 1;
}

.wheelframe img {
  width: 90%;
}

/* ----------------------- wheel ----------------------- */
.wheelbase {
  top: 48%;
  left: 10%;
}

.wheelbase img {
  width: 90%;
}

/* ----------------------- 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{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
  overflow: hidden;

}
.modal-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  overflow: hidden;
}

#spin_again_modal {
  width: 100% !important;
  overflow: hidden;
  
}

#spin_again_modal .modal-body {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0;
}

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


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



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

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

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

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

@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);
  }
}

@keyframes zoomInReward {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.reward-zoomin {
  animation: zoomInReward 0.5s ease;
  width: 70%;
  max-width: 400px;
  margin: 95% auto;
  display: flex; 
  justify-content: center;
  align-items: center;
}

.reward-zoomin2 {
  width: 65%; 
  top: 54%;
  left: 17%;
  max-width: 350px;     /* limit for large screens */
  display: flex;
  justify-content: center;
  align-items: center;
  animation: zoomInReward 0.5s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}
/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* // 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;
  }
}

/* .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;
 */
