body {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  
}

h1 {
  margin-top: 20px;
}

canvas {
  border: 3px solid #0a2e13;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  background-color: #145a32; 
}
.level-container {
  margin: 20px;
}

button {
  background: linear-gradient(145deg, #1e8449, #145a32);
  color: white;
  border: none;
  padding: 10px 18px;
  margin: 5px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px #0b3d1f;
  transition: all 0.2s ease;
}

/* hover effekt */
button:hover {
  background: linear-gradient(145deg, #27ae60, #1e8449);
  transform: translateY(-2px);
}

/* klick effekt */
button:active {
  transform: translateY(2px);
  box-shadow: 0 2px #0b3d1f;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.skin-selector {
  position: absolute;
  top: 10px;
  right: 10px;
  background: black;
  padding: 10px;
  border-radius: 5px;
  z-index: 100;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.skin-selector p {
  color: white;
  margin: 0 0 5px 0;
  font-size: 12px;
}

.skin-btn {
  width: 30px;
  height: 30px;
  margin: 2px;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 0.2s;
}

.skin-btn:hover {
  transform: scale(1.1);
}

.highscore-panel {
  position: absolute;
  top: 10px;
  left: 10px;
  background: black;
  padding: 10px;
  border-radius: 5px;
  color: white;
  min-width: 170px;
  z-index: 100;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.highscore-panel h3 {
  margin: 0 0 5px 0;
  font-size: 14px;
  text-align: center;
}

.highscore-table {
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
}

.highscore-table th,
.highscore-table td {
  padding: 2px 5px;
  text-align: left;
}

.highscore-table tr:first-child {
  color: gold;
  font-weight: bold;
}

.reset-btn {
  margin-top: 5px;
  font-size: 10px;
  background: #333;
  color: white;
  border: none;
  padding: 3px 8px;
  cursor: pointer;
  width: 100%;
  border-radius: 3px;
}

.reset-btn:hover {
  background: #555;
}

.info-panel {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: black;
  padding: 5px 10px;
  border-radius: 5px;
  color: #ffd700;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  z-index: 100;
}

.level-buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: black;
  padding: 10px;
  border-radius: 5px;
  z-index: 100;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 200px;
}

.level-btn {
  background: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  margin: 2px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  border-radius: 3px;
}

.level-btn:hover {
  background: #555;
}