body {
  font-family: Arial, sans-serif;
  background: #1e1e1e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 20px;
}

h1 { margin-bottom: 10px; }

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #00aa88;
  color: #fff;
}

button:hover { background: #009077; }

#menu, #difficultyMenu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

#board {
  display: none;
  position: relative;
  grid-template-columns: repeat(7, 80px);
  grid-template-rows: repeat(6, 80px);
  gap: 6px;
  background: #004a99;
  padding: 15px;
  border-radius: 20px;
  box-shadow: inset 0 0 20px #0008, 0 0 20px #0008;
  margin-top: 20px;
}

.cell {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #d0d0d0 40%, #999 100%);
  box-shadow: inset 0 0 10px #0008;
}

.highlight {
  outline: 4px solid #fff;
  outline-offset: -4px;
}

.player1 {
  background: radial-gradient(circle at 30% 30%, #ffbbbb 0%, #ff4444 40%, #aa0000 100%);
  box-shadow: inset 0 0 10px #0008, 0 0 10px #ff4444;
}

.player2 {
  background: radial-gradient(circle at 30% 30%, #fff7aa 0%, #ffdd44 40%, #aa8800 100%);
  box-shadow: inset 0 0 10px #0008, 0 0 10px #ffdd44;
}

.win {
  animation: blink 0.6s infinite alternate;
}

@keyframes blink {
  from { filter: brightness(1); }
  to   { filter: brightness(2); }
}

.falling-coin {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: 999;
  pointer-events: none;
  transition: transform 0.35s ease-out;
}

#scoreboard {
  margin-top: 20px;
  font-size: 20px;
  display: flex;
  gap: 20px;
}

#nextRoundBtn, #backBtn {
  margin-top: 20px;
  display: none;
}
