body{
  margin:0;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  background:linear-gradient(to bottom,black,aquamarine);
  font-family: cursive;
  color:black;
  overflow:hidden;
}

h1{
  color:#0bece8;
  text-shadow: 0 0 10px #0bece8;
  margin-bottom:10px;
}

.score-container{
  display:flex;
  gap:12px;
  margin-bottom:10px;
}

.score-box{
  background: rgba(255,255,255,0.03);
  padding:8px 12px;
  border-radius:8px;
  border: 1px solid rgba(77,238,234,0.2);
  color:#e6ffff;
  font-weight:700;
}

.game-container{
  position:relative;
  width:800px;
  height:500px;
  border: 3px solid aquamarine;
  border: radius 600px;
  overflow:hidden;
  background:#000;
  box-shadow: 0 0 20px aquamarine;
}

/* stars container (absolutely positioned behind canvas) */
.starts{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:1;
}

.star{
  position:absolute;
  background: #fff;
  border-radius:50%;
  filter: blur(0.6px);
  z-index:1;
}

/* canvas sits above stars */
#gamecanvas{
  position:relative;
  z-index:2;
  display:block;
  background: #000;
}

/* game over overlay */
.game-over{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.6);
  z-index:3;
  display:none; /* hidden by default */
}

.game-over-inner{
  background: linear-gradient(180deg, rgba(10,10,40,0.95), rgba(20,20,60,0.95));
  border-radius:600px;
  padding:22px 28px;
  text-align:center;
  border: 2px solid #4deeea;
  box-shadow: 0 0 20px rgba(77,238,234,0.12);
}

.controls{
  margin-top:10px;
  color:#dfefff;
}

button{
  margin-top:12px;
  padding:8px 14px;
  border-radius:8px;
  border:none;
  cursor:pointer;
  background:#0bece8;
  color:#012;
  font-weight:700;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
