* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ece7de, #d8cfc3);
  padding: 20px;
}

.game-wrapper {
  width: 900px;
  max-width: 100%;
  background: #f8f4ee;
  border: 3px solid #7a5b3a;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(60, 40, 20, 0.18);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

h1 {
  color: #5b3f24;
  font-size: 2rem;
  letter-spacing: 0.5px;
}

#startBtn {
  background: #7a5b3a;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#startBtn:hover {
  background: #65492d;
  transform: translateY(-1px);
}

.scoreboard {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.box {
  background: #ede3d6;
  color: #5b3f24;
  border: 2px solid #c3ab90;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: bold;
}

#gameCanvas {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fffdfa, #f2e9de);
  border: 3px solid #7a5b3a;
  border-radius: 16px;
}
