body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #1a1a1a;
}

.game-container {
  position: relative;
}

canvas {
  border: 2px solid #333;
  background: #000;
}

.game-ui {
  position: absolute;
  top: 20px;
  left: 20px; /* Changed from left to right */
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.7); /* Added semi-transparent background */
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #4169e1; /* Added border to match theme */
}

.start-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #4169e1;
  z-index: 10;
}

.start-screen h1 {
  color: #4169e1;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.instructions {
  color: #fff;
  margin: 1.5rem 0;
}

.instructions p {
  margin: 0.5rem 0;
}

.start-button {
  background: #4169e1;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.start-button:hover {
  background: #2149c1;
}

.hidden {
  display: none;
}

.game-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #4169e1;
  z-index: 10;
  color: #fff;
}

.game-screen h2 {
  color: #4169e1;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.game-button {
  background: #4169e1;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0.5rem;
}

.game-button:hover {
  background: #2149c1;
}
