/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111;
  font-family: 'Courier New', Courier, monospace;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 1rem;
}

/* Slot Machine Container */
.slot-machine {
  background-color: #2c2c2c;
  border: 4px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

/* Reels Area */
.reels {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #1a1a1a;
  border: 4px inset #777;
  border-radius: 10px;
}

/* Individual Reel Slot */
.reel {
  font-size: 48px;
  width: 70px;
  height: 70px;
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  border: 3px solid #444;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

/* Spin Button */
#spin {
  margin-top: 10px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #ffb400;
  border: none;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

#spin:hover {
  background-color: #ff9900;
  transform: scale(1.05);
}

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

/* Result Text */
.result {
  margin-top: 16px;
  font-size: 18px;
  min-height: 24px;
}

/* Responsive Tweaks */
@media (max-width: 400px) {
  .reel {
    width: 60px;
    height: 60px;
    font-size: 36px;
  }

  #spin {
    font-size: 14px;
    padding: 10px 18px;
  }

  .result {
    font-size: 16px;
  }
}