body {
  margin: 0;
  overflow: hidden;
  background: #0a0a1a; /* Dark space blue */
}

canvas {
  display: block;
}

#landing-page {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 50, 0.8); /* Darker, bluer overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #00ccff; /* Neon cyan */
  z-index: 10;
  font-family: 'Orbitron', sans-serif; /* Sci-fi font */
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff; /* Glow effect */
}

#landing-page h1 {
  font-size: 60px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

#player-name {
  padding: 10px;
  font-size: 18px;
  margin-bottom: 20px;
  width: 200px;
  border: 2px solid #00ccff;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: #00ccff;
  font-family: 'Orbitron', sans-serif;
}

#landing-page p {
  font-size: 20px;
  margin-bottom: 30px;
}

#play-button {
  padding: 15px 30px;
  font-size: 20px;
  background: linear-gradient(45deg, #00ccff, #00ff99); /* Gradient glow */
  border: none;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px #00ccff;
}

#play-button:hover {
  background: linear-gradient(45deg, #00ff99, #00ccff);
  box-shadow: 0 0 20px #00ccff;
}

.hidden {
  display: none !important;
}

#minimap {
  position: absolute;
  top: 10px;
  left: 10px;
  border: 2px solid #00ccff;
  background: rgba(0, 0, 20, 0.7);
  z-index: 5;
  border-radius: 5px;
  box-shadow: 0 0 10px #00ccff;
}

#minimap::after {
  content: 'NAV - 1000m';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #00ccff;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px #00ccff;
}

#crosshair {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

#killfeed {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #00ccff;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  z-index: 5;
  text-shadow: 0 0 5px #00ccff;
}

#ui-panel {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 20, 0.8);
  padding: 15px;
  color: #00ccff;
  font-family: 'Orbitron', sans-serif;
  z-index: 5;
  border: 1px solid #00ccff;
  border-radius: 5px;
  box-shadow: 0 0 10px #00ccff;
}

#health-bar {
  width: 150px;
  height: 20px;
  background: #1a1a3a;
  border: 1px solid #00ccff;
  border-radius: 3px;
  overflow: hidden;
}

#health-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #00ff99, #00ccff);
  transition: width 0.3s;
  box-shadow: 0 0 10px #00ccff inset;
}

#ammo, #kills, #pilot-name {
  margin: 5px 0;
  font-size: 16px;
  text-shadow: 0 0 5px #00ccff;
}

#game-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #00ccff;
  z-index: 15;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #00ccff;
  pointer-events: auto;
}

#game-over h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

#play-again {
  padding: 15px 30px;
  font-size: 20px;
  background: linear-gradient(45deg, #00ccff, #00ff99);
  border: none;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px #00ccff;
}

#play-again:hover {
  background: linear-gradient(45deg, #00ff99, #00ccff);
  box-shadow: 0 0 20px #00ccff;
}

audio {
  display: none;
}

#share-x-btn{
  padding: 15px 30px;
  font-size: 20px;
  background: linear-gradient(45deg, #00ccff, #00ff99); /* Gradient glow */
  border: none;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px #00ccff
}

#share-x-btn:hover{
  background: linear-gradient(45deg, #00ff99, #00ccff);
  box-shadow: 0 0 20px #00ccff;
}

#main-website-btn{
  padding: 15px 30px;
  font-size: 20px;
  background: linear-gradient(45deg, #00ccff, #00ff99); /* Gradient glow */
  border: none;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px #00ccff
}

#main-website-btn:hover{
  background: linear-gradient(45deg, #00ff99, #00ccff);
  box-shadow: 0 0 20px #00ccff;
}