body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #1d2b64, #f8cdda);
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 20px;
}

.game-container {
  max-width: 700px;
  margin: auto;
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

h1 {
  margin-bottom: 10px;
}

.rules {
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}

#attempts-left {
  font-size: 1.1rem;
  background: rgba(0,0,0,0.3);
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.input-area {
  margin-top: 20px;
}

.slots {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.slots input {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  text-align: center;
  margin: 0 5px;
  border-radius: 8px;
  border: none;
  outline: none;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #ff9800;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #e68900;
}

.attempt {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  padding: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

.attempt .guess {
  display: flex;
  gap: 5px;
}

.attempt .guess span {
  width: 30px;
  height: 30px;
  background: #222;
  border-radius: 6px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
}

.hints {
  display: flex;
  gap: 5px;
}

.hints span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.hints .green { background: limegreen; }
.hints .orange { background: orange; }
.hints .grey { background: grey; }

#message {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}
