* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #1a0a2e;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#game-container {
  position: relative;
  width: 800px;
  height: 600px;
}

canvas {
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 105, 180, 0.3);
}

#hud {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: none;
  justify-content: space-between;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

#title-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(255, 182, 193, 0.15), rgba(26, 10, 46, 0.95));
  border-radius: 12px;
}

#title-screen h1 {
  font-size: 72px;
  color: #ff69b4;
  text-shadow: 3px 3px 0 #ff1493, 6px 6px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 6px;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 18px;
  color: #dda0dd;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.donut-hero {
  font-size: 100px;
  margin: 10px 0 20px;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.instructions {
  color: #eee;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 16px;
}

#start-btn {
  padding: 14px 48px;
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

#start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 20, 147, 0.6);
}

#mute-hint {
  position: absolute;
  right: 0;
  top: 24px;
  font-size: 13px;
  opacity: 0.5;
}
