@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

.slot-machine {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background-color: #343a40;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  flex-wrap: nowrap; 
}

.slot-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
}

.slot-container {
  position: relative;
  width: 100px;
  height: 80px;
  overflow: hidden;
  border: 2px solid #333;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slot {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.symbol {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  background-color: #fff;
  border-bottom: 2px solid #333;
}

.symbol img {
  width: 80px;
  height: 80px;
}

.lever-container {
  position: absolute;
  left: 0px; 
  bottom: 50%; 
  transform: translateY(50%);
  width: 15px;
  height: 80px;
  background-color: #333;
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: left;
  align-items: flex-end;
}

.lever {
  width: 10px;
  height: 60px;
  background-color: #555;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lever:hover {
  background-color: #666;
}

.lever:active {
  transform: translateY(10px);
  background-color: #444;
}

.coin-display {
  font-size: 24px; 
  color: #ffffff;
  background-color: #000000;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  border: 2px solid #ffffff;
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.slot-banner {
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 10px;
}

.slot-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-footer {
  width: 100%;
  height: 260px; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 10px;
}

.slot-footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes reelSpin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-400px);
  }
}

.spinning {
  animation: reelSpin 1s linear infinite;
}


@media (max-width: 768px) {
  .lever-container {
    left: 10px; 
    bottom: 10px; 
    transform: translateY(0); 
  }

  .slot-container {
    width: 80px; 
    height: 60px; 
  }

  .symbol {
    width: 80px; 
    height: 80px; 
    font-size: 36px; 
  }

  .symbol img {
    width: 60px; 
    height: 60px; 
  }
}
