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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #05050c;
  font-family: 'Share Tech Mono', monospace;
  color: #00ffcc;
  user-select: none;
}

#spaceCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

#ui-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Let canvas capture mouse clicks */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 255, 204, 0.3);
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(5, 5, 12, 0.8) 0%, rgba(5, 5, 12, 0) 100%);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
  color: #00ffcc;
}

.stats {
  font-size: 18px;
  display: flex;
  gap: 24px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

.stats span {
  display: inline-block;
}

#instructions {
  text-align: center;
  font-size: 14px;
  letter-spacing: 3px;
  opacity: 0.7;
  color: #ff0077;
  text-shadow: 0 0 8px rgba(255, 0, 119, 0.4);
  padding: 16px;
  background: linear-gradient(0deg, rgba(5, 5, 12, 0.8) 0%, rgba(5, 5, 12, 0) 100%);
}
