body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #222, #444);
  color: white;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 400px;
}

h1 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.slot-machine {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.slot {
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: 15px;
  min-width: 70px;
  text-align: center;
  transition: transform 0.3s ease;
}

button {
  background: #ffd43b;
  border: none;
  color: #222;
  padding: 12px 25px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

button:hover {
  background: #ffcc00;
  transform: scale(1.05);
}

#result {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: bold;
}

/* Settings Button */
.settings-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Settings Panel */
.settings-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.settings-content {
  background: #222;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.setting {
  margin: 15px 0;
  font-size: 1.1rem;
}

.setting input[type="number"] {
  width: 60px;
  padding: 5px;
  margin-left: 8px;
  text-align: center;
  border-radius: 5px;
  border: none;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
}

.reset-btn {
  background: #f04e4e;
  color: white;
}

.reset-btn:hover {
  background: #ff6666;
}

.close-btn {
  background: #2ecc71;
  color: white;
}

.close-btn:hover {
  background: #40d47e;
}

@media (max-width: 480px) {
  .slot {
    font-size: 2.5rem;
    padding: 15px 18px;
  }

  .container {
    padding: 25px;
  }

  .settings-content {
    padding: 20px;
  }
}