body {
  margin: 0;
  font-family: Arial;
  background: radial-gradient(circle at center, #111, #000);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* MENU */
#menu {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: white;
}

#menu h1 {
  font-size: 45px;
  text-shadow: 0 0 20px #ffcc00;
}

/* BOX */
.menu-box {
  display: flex;
  gap: 100px;
}

/* PLAYER */
.playerBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* INPUT */
#menu input {
  padding: 10px;
  border-radius: 6px;
  border: none;
  width: 200px;
  text-align: center;
}

/* PREVIEW GRANDE */
.preview {
  width: 150px;
  height: 150px;
  border: 2px solid #ffcc00;
  border-radius: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 0 20px #ffcc00;
}

/* GRID */
.charSelect {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 20px;
}

/* PERSONAGEM */
.char {
  background: #111;
  border: 2px solid #444;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: 0.25s;
  text-align: center;
}

.char img {
  width: 100px;
}

.char:hover {
  transform: scale(1.1);
  border-color: #ffcc00;
}

/* SELECIONADO */
.char.selected {
  border-color: #ffcc00;
  box-shadow: 0 0 25px #ffcc00;
  transform: scale(1.15);
}

/* BOTÕES */
.buttons {
  display: flex;
  gap: 20px;
}

#menu button {
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  background: gray;
  color: black;
  font-weight: bold;
  cursor: not-allowed;
  transition: 0.2s;
}

#menu button.enabled {
  background: linear-gradient(45deg, #ffcc00, #ff8800);
  cursor: pointer;
}

#menu button.enabled:hover {
  transform: scale(1.1);
}

/* CANVAS */
canvas {
  border: 2px solid white;
}