* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #050d24;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hud-top {
  position: absolute;
  top: 56px;
  right: 64px;
  text-align: right;
  pointer-events: auto;
}

.title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 30px;
  margin: 0 -0.22em 0 0;            /* compensate trailing letter-spacing */
  color: rgba(228, 238, 255, 0.96);
  text-shadow:
    0 0 12px rgba(122, 200, 255, 0.32),
    0 0 26px rgba(122, 170, 255, 0.12);
}

.clock {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: 20px;
  margin: 10px -0.18em 0 0;         /* compensate trailing letter-spacing */
  color: rgba(228, 238, 255, 0.92);
  letter-spacing: 0.18em;
  text-shadow: 0 0 10px rgba(122, 200, 255, 0.35);
}

.menu {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 400;
  letter-spacing: 0.14em;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 140ms ease;
  user-select: none;
}

.menu li:hover,
.menu li.active {
  color: #fff;
}

.menu .arrow {
  display: inline-block;
  width: 14px;
  font-size: 12px;
  color: #7cc6ff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 140ms ease, transform 140ms ease;
  text-shadow: 0 0 8px rgba(124, 198, 255, 0.7);
}

.menu li.active .arrow {
  opacity: 1;
  transform: translateX(0);
}

.menu .label {
  display: inline-block;
}
