/* ----- Foundation ----- */
:root {
  --bg: #0a1a12;
  --bg2: #0d2418;
  --panel: #0e1f16ee;
  --panel-solid: #0f2118;
  --text: #ecfff5;
  --muted: #9bd3b0;
  --accent: #5ceb8a;
  --accent2: #56e0ad;
  --danger: #ff5f82;
  --warn: #ffd166;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: linear-gradient(145deg, #071510 0%, #0a1a12 40%, #081810 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ----- Screen visibility ----- */
.screen { display: none; }
.screen.active { display: flex; }

/* ----- Main menu ----- */
#menuScreen {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.menu-wrap {
  max-width: 420px;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.menu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  filter: drop-shadow(0 0 16px rgba(92,235,138,.35));
}

.menu-logo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5ceb8a 0%, #b8ffd6 50%, #56e0ad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(92,235,138,.2));
}

.menu-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.menu-card {
  background: var(--panel);
  border: 1px solid rgba(92, 235, 138, .12);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.menu-card input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color .2s;
}

.menu-card input[type="text"]:focus {
  border-color: var(--accent);
}

/* -- Color picker -- */
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
}

.color-swatch:hover { transform: scale(1.15); }

.color-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.25);
}

/* -- Wallet -- */
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(92, 235, 138, .35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s;
}

.btn-outline:hover { background: rgba(92, 235, 138, .08); }

.wallet-icon { font-size: 1.2rem; }

.wallet-status {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 6px;
  min-height: 20px;
}

/* -- Privy login -- */
.btn-privy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 10px;
  border: 1px solid rgba(86,224,173,.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(22,11,69,.7) 0%, rgba(86,224,173,.08) 100%);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}

.btn-privy:hover {
  background: linear-gradient(135deg, rgba(22,11,69,.9) 0%, rgba(86,224,173,.15) 100%);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-privy svg { flex-shrink: 0; }

/* -- Login email/code inputs -- */
#loginEmailInput, #loginCodeInput {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 6px;
  border: 1px solid rgba(86,224,173,.2);
  border-radius: var(--radius);
  background: var(--bg2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
#loginEmailInput:focus, #loginCodeInput:focus {
  outline: none;
  border-color: var(--accent);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
}
.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(155,176,211,.2);
}

.privy-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.45;
}

.login-status {
  font-size: 0.8rem;
  margin-top: 8px;
  min-height: 18px;
}

/* -- Profile card -- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.profile-info strong { font-size: 1rem; }

.profile-auth {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btn-xs {
  padding: 4px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background .15s;
}

.btn-xs:hover { background: rgba(255,255,255,.1); }

/* -- Balance section -- */
.balance-section {
  margin-top: 16px;
  padding: 14px;
  background: rgba(86,224,173,.05);
  border: 1px solid rgba(86,224,173,.12);
  border-radius: var(--radius);
}

.balance-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.balance-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.balance-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.balance-actions {
  display: flex;
  gap: 8px;
}

.btn-accent-sm {
  flex: 1;
  padding: 8px 14px;
  background: var(--accent);
  color: #071510;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: opacity .15s;
}

.btn-accent-sm:hover { opacity: .85; }

.btn-outline-sm {
  flex: 1;
  padding: 8px 14px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: background .15s;
}

.btn-outline-sm:hover { background: rgba(255,255,255,.06); }

.balance-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.balance-stats strong { color: var(--text); }

/* -- Modal -- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn .2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  background: var(--panel-solid);
  border: 1px solid rgba(86,224,173,.12);
  border-radius: 14px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-header h3 { font-size: 1.2rem; font-weight: 700; }

.modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: none;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s;
}

.modal-close:hover { background: rgba(255,255,255,.12); }

.modal-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-card input[type="number"],
.modal-card input[type="email"],
.modal-card input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}

.modal-card input:focus { border-color: var(--accent); }

.modal-note {
  font-size: 0.75rem;
  color: rgba(155,176,211,.4);
  margin-top: 12px;
  text-align: center;
}

/* -- Deposit presets -- */
.deposit-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.preset-btn {
  flex: 1;
  padding: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.preset-btn:hover { border-color: var(--accent); background: rgba(86,224,173,.06); }
.preset-btn.active { border-color: var(--accent); background: rgba(86,224,173,.1); color: var(--accent); }

/* -- Pay options (currency selector) -- */
.pay-options {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.pay-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.pay-btn:hover { border-color: rgba(255,255,255,.15); }
.pay-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(86,224,173,.06); }

.pay-icon { font-size: 1rem; }

/* -- Withdraw -- */
.withdraw-balance {
  padding: 10px 14px;
  background: rgba(86,224,173,.05);
  border: 1px solid rgba(86,224,173,.1);
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.withdraw-balance strong { color: var(--accent); }

/* -- Results earnings banner -- */
.results-earnings {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 600;
}

.results-balance {
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.results-balance strong { color: var(--accent); }

/* -- Buttons -- */
.btn-primary {
  display: inline-block;
  padding: 14px 48px;
  background: linear-gradient(135deg, #5ceb8a 0%, #56e0ad 50%, #3ec999 100%);
  color: #071510;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(92, 235, 138, .2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 235, 138, .35);
}

.btn-primary:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  padding: 8px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background .2s;
}

.btn-sm:hover { background: rgba(255,255,255,.12); }

.menu-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 14px;
}

/* ----- Lobby browser ----- */
#lobbyScreen {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.lobby-wrap {
  max-width: 600px;
  width: 100%;
  padding: 24px;
}

.lobby-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.lobby-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.lobby-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lobby-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  transition: border-color .2s;
}

.lobby-row:hover { border-color: rgba(92, 235, 138, .3); }

.lobby-name { font-weight: 600; }

.lobby-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.lobby-ingame { color: var(--warn); }

.lobby-join {
  padding: 6px 18px;
  background: var(--accent);
  color: #071510;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: opacity .15s;
}

.lobby-join:disabled { opacity: .35; cursor: default; }

.lobby-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 14px;
  text-align: center;
}

/* ----- Waiting room ----- */
#waitScreen {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.wait-wrap {
  max-width: 420px;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.wait-wrap h2 { margin-bottom: 16px; }

.wait-players {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.wait-player {
  padding: 4px 12px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  font-size: 0.85rem;
}

.wait-status { color: var(--muted); margin-bottom: 16px; }

/* ----- Game layout ----- */
#gameScreen {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.game-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
}

.game-col { position: relative; }

.canvas-wrap {
  position: relative;
  border: 2px solid rgba(92, 235, 138, .14);
  border-radius: 12px;
  overflow: hidden;
  background: #071510;
  box-shadow: 0 0 40px rgba(0,0,0,.5), 0 0 60px rgba(92,235,138,.04);
}

#game { display: block; }

.game-banner {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 0;
  color: var(--accent);
  letter-spacing: .5px;
  min-height: 38px;
}

/* -- Sidebar -- */
.sidebar-col {
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.lb-card, .info-card {
  background: var(--panel);
  border: 1px solid rgba(92, 235, 138, .1);
  border-radius: var(--radius);
  padding: 14px;
}

.lb-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.85rem;
  transition: background .15s;
}

.lb-row.dead { opacity: .35; text-decoration: line-through; }
.lb-row.lb-me {
  background: rgba(255, 215, 0, 0.1);
  border-left: 2px solid #FFD700;
  padding-left: 6px;
  border-radius: 4px;
}
.lb-row.lb-me .lb-name { color: #FFD700; font-weight: 700; }

.lb-rank {
  width: 18px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.lb-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lb-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-pct {
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* -- Info card -- */
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.88rem;
}

.info-label { color: var(--muted); }

.controls-hint {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(155,176,211,.4);
  padding-top: 4px;
}

.payout-hint {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,215,0,.45);
  padding: 4px 0;
}

/* -- Kill feed -- */
.kill-feed {
  position: absolute;
  bottom: 12px;
  left: 12px;
  pointer-events: none;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  max-height: 180px;
  overflow: hidden;
}

.kf-entry {
  padding: 4px 10px;
  background: rgba(0,0,0,.7);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  animation: kfSlide .35s ease-out;
}

@keyframes kfSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ----- Results ----- */
#resultsScreen {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.results-wrap {
  max-width: 540px;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.results-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #56e0ad 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-table {
  width: 100%;
  margin-bottom: 24px;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.result-row:first-child {
  background: rgba(86,224,173,.08);
  border-radius: var(--radius) var(--radius) 0 0;
}

.res-rank {
  width: 28px;
  font-weight: 700;
  color: var(--muted);
  font-size: 1rem;
}

.res-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.res-name { flex: 1; text-align: left; font-weight: 600; }
.res-bot { font-size: .7rem; color: var(--muted); margin-left: 4px; }
.res-pct { width: 60px; text-align: right; font-variant-numeric: tabular-nums; }

.res-earned {
  width: 80px;
  text-align: right;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.res-dead { color: var(--danger); font-size: .75rem; width: 40px; text-align: center; }

/* ----- Utility ----- */
::selection { background: rgba(92, 235, 138, .3); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

/* -- Toast Notifications -- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-success {
  background: rgba(92, 235, 138, .95);
  color: #071510;
}
.toast-error {
  background: rgba(255, 95, 130, .95);
  color: #fff;
}
.toast-info {
  background: rgba(15, 23, 40, .95);
  border: 1px solid rgba(92, 235, 138, .3);
  color: var(--text);
}

/* -- Connection status indicator -- */
.conn-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 500; margin: 6px 0 2px;
  opacity: .8; transition: opacity .3s;
}
.conn-dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; transition: background .3s;
}
.conn-connected .conn-dot { background: var(--accent); box-shadow: 0 0 4px var(--accent); }
.conn-connected { color: var(--accent); }
.conn-connecting .conn-dot { background: var(--warn); animation: pulse-dot .8s ease-in-out infinite; }
.conn-connecting { color: var(--warn); }
.conn-disconnected .conn-dot { background: var(--danger); }
.conn-disconnected { color: var(--danger); }
@keyframes pulse-dot { 0%,100% { opacity:.3; } 50% { opacity:1; } }

/* -- Deposit steps UI -- */
.deposit-steps {
  display: flex; flex-direction: column; gap: 16px;
  margin: 12px 0 4px;
}
.deposit-step {
  display: flex; align-items: flex-start; gap: 12px;
}
.step-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: var(--bg); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; margin-top: 2px;
}
.step-content { flex: 1; min-width: 0; }
.step-label { font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
.treasury-addr-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(86,224,173,.15);
  border-radius: 8px; padding: 8px 10px; overflow: hidden;
}
.treasury-addr-box code {
  flex: 1; font-family: 'Space Grotesk', monospace; font-size: .72rem;
  color: var(--accent); word-break: break-all; user-select: all;
}
.deposit-check-status {
  display: block; margin-top: 6px;
  font-size: .75rem; color: var(--muted); font-style: italic;
}

/* -- Social link -- */
.menu-social {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition: all .2s;
}
.social-link:hover {
  color: #fff;
  border-color: rgba(92,235,138,.3);
  background: rgba(92,235,138,.08);
}
.social-link svg { flex-shrink: 0; }

/* -- Footer credit -- */
.menu-footer {
  margin-top: 16px;
  font-size: .75rem;
  color: rgba(255,255,255,.28);
  text-align: center;
  letter-spacing: .3px;
}
.menu-footer a {
  color: rgba(92,235,138,.55);
  text-decoration: none;
  font-weight: 500;
}
.menu-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* -- Online counter -- */
#onlineCount {
  position: fixed;
  bottom: 12px;
  right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 4px 12px;
  z-index: 900;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

