* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1a1c2c, #4a1942);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container {
  max-width: 800px;
  text-align: center;
  padding: 20px;
}

h1 {
  color: #ffd700;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.game-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.slot-machine {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px auto;
}

.cell {
  width: 120px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5em;
  transition: transform 0.3s ease;
}

.cell i {
  color: #fff;
}

#spin-button {
  padding: 15px 40px;
  font-size: 1.2em;
  background: #ffd700;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#spin-button:hover {
  background: #ffed4a;
  transform: scale(1.05);
}

#spin-button:disabled {
  background: #666;
  cursor: not-allowed;
}

.message {
  margin-top: 20px;
  min-height: 30px;
  font-size: 1.2em;
  color: #ffd700;
}

#bet {
  width: 80px;
  padding: 5px;
  border-radius: 5px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.winning-cell {
  animation: pulse 0.5s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.score {
  font-size: 1.2rem;
  color: #ffd700;
}

.bet-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.bet-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

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

#bet-amount {
  font-size: 18px;
  font-weight: bold;
}

.winning {
  animation: pulse 0.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
