body {
  font-family: Arial, sans-serif;
  background-color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: #fff;
}

.roulette-game {
  text-align: center;
  background-color: #333;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

h1 {
  margin-bottom: 20px;
  color: #FFD700;
}

.balance-bet {
  margin-bottom: 20px;
}

input[type="number"],
select {
  width: 80px;
  text-align: center;
  margin: 5px;
}

select {
  padding: 5px;
  font-size: 1em;
}

.roulette-wheel {
  margin-bottom: 20px;
}

.wheel {
  width: 250px;
  height: 250px;
  border: 10px solid #FFD700;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
  color: #fff;
  line-height: 1.2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: transparent; 
}

.wheel-spin {
  animation: spin 2s ease-out;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.wheel-number {
  position: absolute;
  font-size: 3em;
  z-index: 2;
}

.controls {
  margin-bottom: 20px;
}

button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  margin: 5px;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

#result-message {
  margin-top: 20px;
  font-size: 1.2em;
}

.game-history {
  margin-top: 20px;
  color: #fff;
  border-top: 1px solid #444;
  padding-top: 10px;
}

.game-history h2 {
  margin-bottom: 10px;
  color: #FFD700;
}

#history-list {
  list-style: none;
  padding: 0;
}
