body {
  font-family: 'Arial', sans-serif;
  background: #e8f4f0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.game-container {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  position: relative;
}

.jungle-tree {
  position: absolute;
  right: -50px;
  top: 20px;
  width: 150px;
  height: 200px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 10,90 90,90" fill="#8B4513"/><circle cx="50" cy="50" r="30" fill="#228B22"/></svg>');
  background-size: cover;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.game-container.active-tree .jungle-tree {
  opacity: 1;
}

#game-screen {
  min-height: 300px;
  margin: 20px 0;
  position: relative;
}

button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 12px 24px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.05);
}

#controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

#hint-button {
  background: #ff9800;
}

#score {
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 600px) {
  h1 { font-size: 20px; }
  #controls { flex-direction: column; }
}
/* ... (previous CSS remains the same) ... */

/* Add styles for the end screen */
#initials {
  padding: 8px;
  margin: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

#saved-scores {
  margin: 20px 0;
  font-size: 14px;
}

a.button-link {
  text-decoration: none;
  color: white;
}

a.button-link button {
  background: #007bff;
  margin-top: 10px;
}