#slot-machine-container {
  min-height:500px;
  width: 100%;
  height: 100%;

  background: url('/wp-content/plugins/simple-slot-machine/assets/images/newyear_treasure2026_wide.png') no-repeat center top;
  background-size: contain; 
  padding: 50px 0;
}

@media (max-width: 768px) {
  #slot-machine-container {
    background: url('/wp-content/plugins/simple-slot-machine/assets/images/newyear_treasure2026_mobile.png') no-repeat center top;
    background-size: cover;
  }
}

#slot-machine {
  text-align: center;
  margin: 20px auto;
  max-width: 500px;
  font-family: Arial, sans-serif;
  /* background: rgba(0, 0, 0, 0.4); */
  padding: 10px 10px 50px 10px;
}

#slot-machine-container  .text {
  color: white;
}

#reels {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.reel {
  width: calc(100% / 3);
  height: auto;
  margin: 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ccc;
  font-size: 24px;
  background: #f9f9f9;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#controls {
  margin: 20px 0;
}

#controls button {
  margin-top: 20px;
  padding: 15px;
}
/* spin button */
#toggleButton {
  background-color: red;
  color: white;
  font-weight: bold;
  border: solid #cea4a3 5px;
  border-radius: 50%;
  cursor: pointer;
}
#toggleButton:hover {
  transform: scale(1.1);
}

#toggleButton:active {
  transform: scale(0.95);
}

#toggleButton:focus {
  outline: none;
}

.gradient-heading {
  font-size: 80px;
  font-weight: 700;
  line-height: 120px;
  letter-spacing: 5px;
  text-align: center;
  background: -o-linear-gradient(45deg,#ff8a00,#e52e71,#044bea,#7a00ff);
  background: linear-gradient(45deg,#ff8a00,#e52e71,#044bea,#7a00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  -webkit-animation: gradient-text 8s ease infinite;
          animation: gradient-text 8s ease infinite;

}
@-webkit-keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }
    50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }
    50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


#jackpot-animation {
  /* position: fixed; */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interaction */
  overflow: hidden;
  z-index: 9999;
}

.icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background-size: cover;
  background-repeat: no-repeat;
  animation: shoot 3s ease-out forwards;
}

@keyframes shoot {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  80% {
    transform: translateY(-80vh) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(0.8);
    opacity: 0;
  }
}

.jackpot-message {
  font-size: 24px;
  font-weight: bold;
  color: gold!important;
  opacity: 1;
  transition: font-size 0.3s, opacity 0.5s;
  animation: flash-grow 1s infinite;
}

@keyframes flash-grow {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/** modal result */
/* Modal styling */
#slot-machine .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#slot-machine .modal-result {
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

#slot-machine .face {
  font-size: 50px;
  margin-bottom: 20px;
}

#slot-machine .dismiss-button {
  padding: 10px 20px;
  border: none;
  background-color: #007BFF;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

#slot-machine .dismiss-button:hover {
  background-color: #0056b3;
}

.slot-info {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 0 10px;
  width: 300px;
  margin: 0 auto;
}

.slot-info .balance,
.slot-info .award,
.slot-info .status {
  margin: 10px 0;
  font-size: 1.6rem;
}

.slot-info span {
  font-weight: bold;
  color: #ffcc00; /* Gold color to highlight values #ffcc00*/
}


