* {
  font-family: sans-serif;
}

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

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

}

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

.btn2 {
  position: absolute;
  left: 50%;
  top: 41vh; /* 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: 80%;
  height: auto;
  padding: 0;
  animation: zoomout 2s ease;
  animation-timing-function: linear;
  animation-delay: 2s;
}

.title1 {
  top: 13%;
  z-index: 6;
}

.title1 img {
  width: 80%;
  max-width: 599px;
  animation: pulse 1s infinite linear;
}

.title2 {
  top: 19%;
  z-index: 6;
}

.title2 img {
  width: 45%;
  max-width: 599px;
  animation: pulse 1s infinite linear;
}

.element1 {
  bottom: 8%;
  left: 1%;
  z-index: 2;
}

.element1 img {
  width: 99%;
}

.footer {
  bottom: 0;
  z-index: 2;
}

.footer img {
  width: 100%;
}

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

/* ---------------------------- 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 frame ----------------------- */
.wheelframe {
  width: 67%;
  top: 44%;
  left: 6%;
  z-index: 5;
}

.wheelframe img {
  width: 130%;
}

/* ----------------------- wheel ----------------------- */
.wheelbase {
  width: 65%;
  top: 45%;
  left: 7%;
  z-index: 4;
}

.wheelbase img {
  width: 130%;
}

/* -------------------- spin wheel btn ----------------------- */
.spinwheelbtn{
  width: 62%;
  top: 88%;
  left: 19%;
  z-index: 10;
}

.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;
}

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

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

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

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

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

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

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

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


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

  80% {
    transform: rotate(2647deg);
  }

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

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

  80% {
    transform: rotate(2727deg);
  }

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

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

  80% {
    transform: rotate(3167deg);
  }

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

@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;
  bottom: 10%;
  width: 70%;
  max-width: 400px;
  margin: 63% auto;
  display: flex; 
  justify-content: center;
  align-items: center;
}

.reward-zoomin2 {
  width: 50%; 
  left: 30%;
  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;
}

/* Mobile */
/* // Large devices (desktops, 992px and up) */

@media (min-width: 1024px) {
  .reward-zoomin { margin-top: 50vh; width: 60%; max-width: 350px; }
  .reward-zoomin2 { margin-top: 21.5vh; width: 40%; max-width: 300px; }

  #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;
  }
}

@media (max-width: 768px) {
  .reward-zoomin { margin-top: 40vh; width: 70%; max-width: 300px; }
  .reward-zoomin2 { margin-top: 11.5vh; margin-right: 1%; width: 40%; max-width: 250px; }
}

@media (max-width: 383px) {
  .reward-zoomin { margin-top: 50vh; width: 70%; max-width: 300px; }
  .reward-zoomin2 { margin-top: 24.5vh; margin-right: 1%; width: 40%; max-width: 250px; }
}

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