* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-container {
  text-align: center;
  width: 100%;
  max-width: 500px;
  padding: 20px;
}

h1 {
  color: #ffeb3b;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.slot-machine {
  position: relative;
  width: 360px;
  height: 200px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background-image: url('images/slot-background.jpg');
  background-size: cover;
}

.reel {
  position: absolute;
  width: 100px;
  height: 200px;
  overflow: hidden;
  left: 60px;
  top: 0;
}

.reel:nth-child(2) { left: 180px; }
.reel:nth-child(3) { left: 300px; }

.symbol {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.symbol img {
  width: 80px;
  height: 80px;
}

.reel-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reel-frame img {
  width: 100%;
  height: 100%;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#spin-btn {
  background-color: #ff9800;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#deposit-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

#deposit-btn:hover {
  background-color: #45a049;
}


#spin-btn:hover {
  background-color: #e68a00;
}

.balance {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.message {
  min-height: 24px;
  font-size: 16px;
  color: #4caf50;
  font-weight: bold;
}
