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

.slots-game {
  text-align: center;
  background-color: #222;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

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

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

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

.slot-machine {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.slot {
  width: 80px;
  height: 80px;
  margin: 0 10px;
  background-color: #444;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #fff;
  background-image: url('images/slot-symbols.png');
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

.slot.spin {
  animation: spin 1s ease-in-out;
}

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

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

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

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

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

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

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