
body {
  font-family: 'Arial', sans-serif;
  background: #111;
  color: #fff;
  text-align: center;
  padding-top: 50px;
}

.container {
  max-width: 500px;
  margin: auto;
  position: relative;
}

.slot {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.row {
  display: flex;
  justify-content: space-around;
  margin: 5px 0;
}

.reel {
  width: 80px;
  height: 80px;
  background: #222;
  border: 2px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.reel img {
  width: 60px;
  height: 60px;
}

button {
  padding: 10px 30px;
  font-size: 20px;
  background: #00b894;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: #019875;
}

#result {
  margin-top: 20px;
  font-size: 24px;
}

#freespin {
  margin-top: 10px;
  font-size: 18px;
  color: #ffeaa7;
}

.reel.winning {
  border-color: gold;
  animation: glow 0.8s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px 2px #f1c40f; }
  to { box-shadow: 0 0 20px 6px #f39c12; }
}

#explosion {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,255,0,0.9) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.explode {
  animation: explode 1s ease-out;
}

@keyframes explode {
  0% { transform: translateX(-50%) scale(0.2); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.5); opacity: 0.9; }
  100% { transform: translateX(-50%) scale(2.5); opacity: 0; }
}

.shake {
  animation: shake 0.6s;
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-10px, 0); }
  40% { transform: translate(10px, 0); }
  60% { transform: translate(-10px, 0); }
  80% { transform: translate(10px, 0); }
}

#validora-boom {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  opacity: 0;
  z-index: 3;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

#validora-boom.show {
  opacity: 1;
  transform: translateX(-50%) scale(6);
}

#bonus-text {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  font-weight: bold;
  color: gold;
  text-shadow: 2px 2px 10px #f39c12;
  opacity: 0;
  z-index: 4;
  transition: opacity 0.3s ease-in;
}

#bonus-text.show {
  opacity: 1;
}
