body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #172554, #020617);
  color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#game {
  width: 360px;
  height: 560px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: radial-gradient(900px 500px at 20% -10%, rgba(59,130,246,0.25), transparent),
              radial-gradient(700px 400px at 80% 0%, rgba(16,185,129,0.2), transparent),
              radial-gradient(600px 600px at 50% 120%, rgba(147,51,234,0.2), transparent),
              #020617;
  position: relative;
  overflow: hidden;
}

.hud {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 2;
}

#playArea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.1s ease;
}

.star:hover {
  transform: scale(1.2);
}

#overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(1.5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.hidden {
  display: none;
  pointer-event: none;
}

.message {
  background: rgba(10,10,25,0.8);
  padding: 20px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

button {
  background: #2563eb;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #1d4ed8;
}
