/* style.css - YSDJ Isola 3000 */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f0f1a;
  color: white;
  text-align: center;
}

h1 {
  margin-top: 20px;
  font-size: 2.5rem;
}

#menu, #scoreboard {
  display: none;
  margin-top: 40px;
}

#game-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#game {
  display: grid;
  grid-template-columns: repeat(7, 60px);
  grid-template-rows: repeat(7, 60px);
  gap: 4px;
  margin: 20px auto;
}

.cell {
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 0 4px #000;
}

.floor { background-image: url("assets/floor.png"); }
.removed { background-image: url("assets/void.png"); }
.player1 { background-image: url("assets/player1.png"); }
.player2 { background-image: url("assets/player2.png"); }
.trap { background-image: url("assets/trap.png"); }
.bonus { background-image: url("assets/bonus.png"); }
.life { background-image: url("assets/life.png"); }

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

button {
  background-color: #2a2a40;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #44446b;
}

.status-bar {
  margin: 15px auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.2rem;
}

img.game-art {
  width: 300px;
  max-width: 100%;
  margin: 20px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.score-detail {
  margin-top: 20px;
  font-size: 1.5rem;
}
