body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
  font-family: sans-serif;
}

#game-board {
  width: 400px;
  height: 400px;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
}

.board-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 50px; /* Assuming 8x8 board */
}

.board-cell {
  width: 50px; /* Assuming 8x8 board */
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  position: relative;
}

.piece {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 2px solid #555;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
  position: relative;
}

.piece.black {
  background-color: #222;
  border-color: #000;
}

.piece.white {
  background-color: #eee;
  border-color: #ccc;
}

.piece.haji::after {
  content: 'H';
  color: #ff0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  font-weight: bold;
}

.light {
  background-color: #e0c9a6; /* Light wood color */
  background-image: linear-gradient(to bottom right, #e0c9a6, #d2b48c);
}

.dark {
  background-color: #8b4513; /* Dark wood color */
  background-image: linear-gradient(to bottom right, #8b4513, #a0522d);
}

.selected {
  background-color: yellow;
}

#current-player {
  margin: 15px 0;
  padding: 10px 20px;
  font-size: 22px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.black-turn {
  background-color: #f0f0f0;
  border-left: 5px solid #000;
  color: #000;
}

.white-turn {
  background-color: #f0f0f0;
  border-left: 5px solid #777;
  color: #777;
}

.available-move {
  background-color: rgba(0, 255, 0, 0.3); /* Green with transparency */
  z-index: 1;
}

.capture-move {
  background-color: rgba(255, 0, 0, 0.5); /* Red with transparency */
  z-index: 1;
}