/* --- Body / Background --- */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #1a1a2e; /* dark gaming environment */
  color: #fff;
  overflow: hidden;
}

/* --- Game Area --- */
#game-area {
  position: relative;
  width: 400px;
  height: 400px;
  background: #162447; /* static dark-blueish background */
  border-radius: 15px;
  border: 2px solid #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  overflow: hidden;
  margin-bottom: 15px;
}

/* --- Target --- */
#target {
  position: absolute;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 0 10px #0ff; /* neon cyan glow */
}

/* --- Score & Timer --- */
#score, #timer {
  font-size: 1.5rem;
  margin: 5px 0;
  text-align: center;
  transition: color 0.2s ease;
  text-shadow: 0 0 5px #0ff; /* neon effect */
}

/* --- Floating feedback +1 --- */
.score-feedback {
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  pointer-events: none;
  animation: floatUp 0.8s ease-out forwards;
  color: #0f0; /* green for positive feedback */
}

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-30px); opacity: 0; }
}

/* --- Leaderboard --- */
#leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#leaderboard-list li {
  padding: 5px 10px;
  background: rgba(255,255,255,0.1);
  margin: 5px 0;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  color: #ff0; /* bright neon color */
}

/* --- Buttons --- */
button {
  padding: 8px 15px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #0ff; /* neon cyan */
  color: #111;
  font-weight: bold;
  transition: background 0.2s ease;
}
#guide {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #0ff; /* neon cyan */
  text-shadow: 0 0 5px #0ff;
  text-align: center;
}
button:hover {
  background: #00bcd4;
}
#creator-link {
  position: fixed;
  bottom: 10px;   /* already bottom */
  right: 10px;    /* already right */
  font-size: 0.9rem;
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 5px;
  transition: all 0.2s ease;
  z-index: 1000;
}


/* --- Login / Leaderboard Screens --- */
.hidden { display: none; }