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

body {
  background: #060d1a;
  font-family: 'Inter', Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Nav ─────────────────────────────────────────────── */
.game-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 46px;
}

.back-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }

.nav-title {
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #64B5F6, #FFB74D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

/* ── Auth area ───────────────────────────────────────── */
#auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  justify-content: flex-end;
}
#auth-area .user-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
#auth-area .user-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}
#auth-area button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 5px 13px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}
#auth-area button:hover { background: rgba(255,255,255,0.18); }

/* ── Game wrapper ────────────────────────────────────── */
#game-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 46px;
}

#game-container canvas {
  display: block;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(100, 181, 246, 0.15),
    0 0 50px rgba(100, 181, 246, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.6);
}
