body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.game-container {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

#gameCanvas {
  width: 100%;
  height: auto;
  border: 6px solid #333;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #f4d03f, #f9e79f);
  display: block;
  transition: transform 0.05s ease-out;
}

#gameOverButtons {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, 0);
  display: none;
  width: 100%;
  text-align: center;
}

#shareBtn {
  display: block;
  width: 80%;
  max-width: 300px;
  padding: 14px 0;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  background: white;
  color: #e91e63;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  margin: 0 auto 15px auto;
}

#restartBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  max-width: 200px;
  padding: 10px 0;
  font-size: 1em;
  border: none;
  border-radius: 25px;
  background: rgba(0,0,0,0.2);
  color: white;
  cursor: pointer;
  margin: 0 auto;
}

#restartBtn svg {
  margin-right: 8px;
}

p {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}