body {
  background: #222;
  color: #eee;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

h1 {
  margin-top: 20px;
}

#menuOrixas {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
}

.btnOrixa {
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #222;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffdd57;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.btnOrixa:hover {
  background: #f0c93d;
}

#gameContainer {
  margin-top: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
}

#info {
  margin-top: 10px;
  font-size: 16px;
  min-height: 20px;
}

#scoreboard {
  margin-top: 5px;
  font-weight: bold;
  font-size: 18px;
}

canvas {
  background: #000;
  border: 3px solid #444;
  border-radius: 10px;
  image-rendering: pixelated;
  display: block;
}

#mobileControls {
  display: none;
  position: fixed;
  bottom: 10px;
  width: 100%;
  justify-content: center;
  gap: 5px;
}

#mobileControls button {
  padding: 15px 20px;
  font-size: 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #ffdd57;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  user-select: none;
}

#mobileControls button:active {
  background: #f0c93d;
}

.btnVoltar {
  margin-top: 15px;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 6px;
  background: #ffdd57;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.btnVoltar:hover {
  background: #f0c93d;
}
#headerTopo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #222;
  display: flex;
  align-items: center;
  padding: 0 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
  z-index: 9999;
}

#btnVoltarMenu {
  background-color: #ffdd57;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #222;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#btnVoltarMenu:hover {
  background-color: #f0c93d;
}

/* Para evitar que o conteúdo fique escondido atrás do header fixo */
body {
  padding-top: 50px; /* mesma altura do header */
}
