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

.game-title {
  color: #333;
  margin: 20px 0;
  text-align: center;
}

.game-container {
  position: relative;
  margin: 20px;
}

canvas {
  background-color: #87CEEB;
  border: 4px solid #333;
  border-radius: 8px;
}

.game-ui {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 24px;
  text-shadow: 2px 2px 0 #000;
}

.score-display,
.level-display {
  margin: 5px 0;
}

.progress-bar {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 200px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.character-select {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.character-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #333;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.character-btn:hover {
  transform: scale(1.1);
}

.character-btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.parent-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.parent-panel {
  position: absolute;
  bottom: 50px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  display: none;
}

.parent-panel h3 {
  margin-top: 0;
}

.parent-panel div {
  margin: 10px 0;
}

.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.tutorial-text {
  font-size: 24px;
  margin-bottom: 20px;
  max-width: 80%;
}

.tutorial-image {
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tutorial-button:hover {
  background-color: #45a049;
} 