body {
  background: #90cce5;
  color: #c8bd00;
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

#game {
  background: black;
  border: 3px solid #c8bd00;
}

.game-container {
  display: flex;
  justify-content: center; 
  align-items: stretch;
  gap: 30px;
  margin-top: 20px;

  position: relative;
}

.side-panel h3 {
  margin-bottom: 5px;
}

.side-panel {
  width: 170px;
  background: #222;
  color: white;
  padding: 10px;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.board-wrapper {
  position: relative;
}


.game-over {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.85);
  color: #03fb4d;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 3px solid #c8bd00;
  z-index: 10;
}

#restartBtn {
  margin-top: 20px;
  padding: 10px 20px;

  background: #c8bd00;
  color: white;

  border: none;
  border-radius: 6px;

  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;

  cursor: pointer;
  transition: all 0.3s ease;
}

#restartBtn:hover {
  background: #ff6a30;
  transform: scale(1.08);
  box-shadow: 0 0 15px #ff6a30;
}

#restartBtn:active {
  transform: scale(0.95);
}

.hidden {
  display: none;
}

#preview {
  background: #111;
  margin-top: 10px;
  border: 2px solid #c8bd00;
}

#pauseBtn {
  margin-top: 10px;
  padding: 8px;
  width: 90%;
  background: #004d3a;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#pauseBtn:hover {
  background: #c8bd00;
  transform: scale(1.05);
}

#pauseBtn:active {
  transform: scale(0.95);
}