/* Estilo general */
body {
  margin: 0;
  background-color: #1e1e2f;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#game-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-area {
  position: relative;
  width: 90vw;
  height: calc(90vw * 0.75); /* Relación de aspecto 4:3 */
  max-width: 640px;
  max-height: 480px;
  background-color: #a8d5e2;
  border: 2px solid #000;
  overflow: hidden;
}

/* Estilo del personaje */
#player {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: #ffcc00;
  border: 2px solid #000;
  border-radius: 4px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Estilo de las casas */
.house {
  position: absolute;
  width: 64px;
  height: 64px;
  background-color: #ff9999;
  border: 2px solid #000;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #000;
  text-align: center;
  cursor: pointer;
}

/* Responsividad priorizando móviles */
@media (max-width: 768px) {
  #game-area {
    width: 100vw;
    height: calc(100vw * 0.75);
  }
}
