/* NexRivals UI stylesheet */
:root {
  --accent: #00e5ff;
  --accent2: #ff3d6e;
  --gold: #ffc83d;
  --bg-dark: #0b0e17;
  --panel: rgba(13, 18, 32, 0.92);
  --panel-light: rgba(30, 40, 64, 0.85);
  --text: #e8eef9;
  --muted: #8a96ad;
  --green: #3dff8c;
  --font-head: 'Russo One', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg-dark); font-family: var(--font-body); color: var(--text); }
button { font-family: inherit; cursor: pointer; }

#game-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#ui-root { position: fixed; inset: 0; pointer-events: none; }
#ui-root > * { pointer-events: auto; }

/* ============ BOOT ============ */
#boot-screen {
  position: fixed; inset: 0; z-index: 1000; background: radial-gradient(ellipse at 50% 40%, #141d33 0%, #07090f 75%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .6s;
}
#boot-screen.hide { opacity: 0; pointer-events: none; }
.boot-logo { font-family: var(--font-head); font-size: 64px; letter-spacing: 4px; color: #fff; text-shadow: 0 0 30px rgba(0,229,255,.55); }
.boot-logo span { color: var(--accent); }
.boot-bar { width: 320px; height: 8px; background: #1a2236; border-radius: 4px; overflow: hidden; }
#boot-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), #6effff); transition: width .25s; border-radius: 4px; }
#boot-status { font-size: 14px; letter-spacing: 3px; color: var(--muted); }

/* ============ MENU SHELL ============ */
.menu-screen {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  background:
    linear-gradient(160deg, rgba(7,10,18,.78) 0%, rgba(10,14,26,.62) 50%, rgba(7,10,16,.85) 100%);
  animation: fadeIn .35s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px);} to { opacity: 1; transform: none;} }

.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 34px; background: linear-gradient(180deg, rgba(5,8,15,.9), rgba(5,8,15,0));
}
.logo-small { font-family: var(--font-head); font-size: 28px; letter-spacing: 2px; }
.logo-small span { color: var(--accent); }

.player-chip { display: flex; align-items: center; gap: 14px; }
.level-badge {
  width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #1d2a4a, #101727);
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 17px; color: var(--accent);
}
.chip-info { display: flex; flex-direction: column; }
.chip-name { font-weight: 700; font-size: 17px; }
.xp-bar { width: 150px; height: 6px; background: #1a2236; border-radius: 3px; margin-top: 4px; overflow: hidden; }
.xp-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #6effff); border-radius: 3px; }
.chip-sub { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: 1px; }
.currency { display: flex; align-items: center; gap: 7px; background: var(--panel); padding: 8px 16px; border-radius: 10px; border: 1px solid #273350; font-weight: 700; font-size: 17px; }
.currency .coin { color: var(--gold); }

.menu-center { flex: 1; display: flex; align-items: center; justify-content: center; gap: 60px; padding: 0 40px; }
.menu-hero { text-align: left; animation: slideUp .5s ease; max-width: 540px; }
.hero-title { font-family: var(--font-head); font-size: 76px; line-height: .95; letter-spacing: 3px; text-shadow: 0 0 44px rgba(0,229,255,.35); }
.hero-title span { color: var(--accent); }
.hero-tag { margin-top: 14px; font-size: 19px; color: var(--muted); letter-spacing: 2px; font-weight: 600; }
.hero-stats { display: flex; gap: 26px; margin-top: 26px; }
.hstat { background: var(--panel); border: 1px solid #273350; border-radius: 12px; padding: 12px 20px; min-width: 110px; }
.hstat .v { font-family: var(--font-head); font-size: 24px; color: var(--accent); }
.hstat .l { font-size: 11px; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }

.menu-buttons { display: flex; flex-direction: column; gap: 14px; min-width: 330px; animation: slideUp .55s ease; }
.btn-primary {
  position: relative; border: none; border-radius: 12px; padding: 20px 30px;
  background: linear-gradient(135deg, #00c2dd, #0084ff); color: #fff;
  font-family: var(--font-head); font-size: 24px; letter-spacing: 2px;
  box-shadow: 0 8px 30px rgba(0,180,255,.35); transition: transform .12s, box-shadow .12s;
  text-align: left;
}
.btn-primary small { display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: 1px; opacity: .85; font-weight: 600; }
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 12px 38px rgba(0,200,255,.5); }
.btn-menu {
  border: 1px solid #2c3a5e; border-radius: 12px; padding: 15px 24px; background: var(--panel); color: var(--text);
  font-family: var(--font-head); font-size: 17px; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center;
  transition: all .15s;
}
.btn-menu:hover { background: var(--panel-light); border-color: var(--accent); transform: translateX(5px); }
.btn-menu .ic { color: var(--accent); font-size: 19px; }
.menu-bottom { padding: 16px 34px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; letter-spacing: 1px; }

/* ============ PANEL SCREENS (loadout/shop/settings) ============ */
.panel-screen { position: fixed; inset: 0; display: flex; flex-direction: column; background: rgba(5,8,14,.88); backdrop-filter: blur(8px); animation: fadeIn .25s; }
.panel-head { display: flex; align-items: center; gap: 22px; padding: 22px 38px; border-bottom: 1px solid #1d2740; }
.panel-title { font-family: var(--font-head); font-size: 32px; letter-spacing: 3px; }
.btn-back {
  border: 1px solid #2c3a5e; background: var(--panel); color: var(--text); border-radius: 10px;
  padding: 10px 22px; font-family: var(--font-head); font-size: 15px; letter-spacing: 1px; transition: all .15s;
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }
.panel-body { flex: 1; overflow-y: auto; padding: 26px 38px; }
.panel-body::-webkit-scrollbar { width: 9px; }
.panel-body::-webkit-scrollbar-thumb { background: #2c3a5e; border-radius: 5px; }

.section-label { font-size: 13px; letter-spacing: 3px; color: var(--muted); margin: 18px 0 10px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.wcard {
  background: var(--panel); border: 2px solid #233052; border-radius: 14px; padding: 15px; cursor: pointer;
  transition: all .15s; position: relative; overflow: hidden;
}
.wcard:hover { border-color: #3f5a96; transform: translateY(-3px); }
.wcard.selected { border-color: var(--accent); box-shadow: 0 0 22px rgba(0,229,255,.25); }
.wcard.locked { opacity: .55; }
.wcard .wname { font-family: var(--font-head); font-size: 17px; letter-spacing: 1px; }
.wcard .wtype { font-size: 11px; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }
.wcard .wstats { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.stat-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.stat-row .bar { flex: 1; height: 4px; background: #1a2236; border-radius: 2px; overflow: hidden; }
.stat-row .bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.wcard .lock-tag { position: absolute; top: 10px; right: 10px; font-size: 11px; background: #2c1a1a; color: var(--accent2); border: 1px solid #5e2c2c; padding: 3px 9px; border-radius: 6px; letter-spacing: 1px; font-weight: 700; }
.wcard .equip-tag { position: absolute; top: 10px; right: 10px; font-size: 11px; background: rgba(0,229,255,.12); color: var(--accent); border: 1px solid var(--accent); padding: 3px 9px; border-radius: 6px; letter-spacing: 1px; font-weight: 700; }
.wcard .skin-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 5px; border: 1px solid rgba(255,255,255,.35); }

/* ============ MODE SELECT ============ */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.mode-card {
  background: var(--panel); border: 2px solid #233052; border-radius: 16px; padding: 26px; cursor: pointer;
  transition: all .18s; text-align: left;
}
.mode-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,180,255,.18); }
.mode-card .mic { font-size: 38px; }
.mode-card .mname { font-family: var(--font-head); font-size: 22px; letter-spacing: 2px; margin-top: 12px; }
.mode-card .mdesc { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; font-weight: 600; }
.map-strip { display: flex; gap: 14px; max-width: 1100px; margin: 14px auto 0; flex-wrap: wrap; }
.map-card { flex: 1; min-width: 200px; border: 2px solid #233052; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--panel); transition: all .15s; }
.map-card:hover, .map-card.selected { border-color: var(--accent); }
.map-card .map-prev { height: 96px; }
.map-card .map-label { padding: 10px 14px; font-family: var(--font-head); font-size: 15px; letter-spacing: 1px; display: flex; justify-content: space-between; align-items: center; }
.map-card .map-label small { font-family: var(--font-body); color: var(--muted); }

/* ============ HUD ============ */
#hud { position: fixed; inset: 0; pointer-events: none; font-family: var(--font-body); }
.hud-hidden { display: none !important; }

#crosshair { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#crosshair .ch-line { position: absolute; background: #fff; box-shadow: 0 0 4px rgba(0,0,0,.8); transition: all .07s; }
#crosshair.hitmark .ch-line { background: var(--accent2); }
#hitmarker {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 26px; height: 26px;
  opacity: 0; pointer-events: none;
}
#hitmarker.show { animation: hitpop .22s ease; }
#hitmarker.kill .hm { background: var(--accent2); }
#hitmarker .hm { position: absolute; background: #fff; box-shadow: 0 0 5px rgba(0,0,0,.9); }
#hitmarker .hm:nth-child(1) { left: 0; top: 0; width: 9px; height: 3px; }
#hitmarker .hm:nth-child(2) { right: 0; top: 0; width: 3px; height: 9px; }
#hitmarker .hm:nth-child(3) { left: 0; bottom: 0; width: 3px; height: 9px; }
#hitmarker .hm:nth-child(4) { right: 0; bottom: 0; width: 9px; height: 3px; }
@keyframes hitpop { 0% { opacity: 1; transform: translate(-50%,-50%) rotate(45deg) scale(1.45);} 100% { opacity: 0; transform: translate(-50%,-50%) rotate(45deg) scale(.9);} }

.hud-bl { position: fixed; left: 26px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
#hp-wrap { display: flex; align-items: center; gap: 12px; }
#hp-num { font-family: var(--font-head); font-size: 42px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); min-width: 76px; }
#hp-num.low { color: var(--accent2); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
#hp-bar { width: 230px; height: 13px; background: rgba(10,14,24,.75); border-radius: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
#hp-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #3dff8c, #aaffcb); border-radius: 7px; transition: width .18s; }
#hp-fill.mid { background: linear-gradient(90deg, #ffc83d, #ffe39d); }
#hp-fill.low { background: linear-gradient(90deg, #ff3d6e, #ff8aa6); }
#dash-row { display: flex; gap: 7px; }
.pip { width: 42px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); }
.pip.ready { background: var(--accent); box-shadow: 0 0 8px rgba(0,229,255,.6); }

.hud-br { position: fixed; right: 26px; bottom: 24px; text-align: right; }
#ammo-wrap { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; }
#ammo-cur { font-family: var(--font-head); font-size: 48px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
#ammo-cur.empty { color: var(--accent2); }
#ammo-res { font-family: var(--font-head); font-size: 22px; color: var(--muted); }
#weap-name { font-size: 15px; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-top: 2px; }
#reload-hint { font-size: 13px; color: var(--gold); letter-spacing: 2px; font-weight: 700; height: 17px; }
#weapon-slots { display: flex; gap: 7px; justify-content: flex-end; margin-top: 10px; }
.wslot {
  min-width: 86px; padding: 7px 11px; background: rgba(10,14,24,.7); border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-align: left;
}
.wslot.active { border-color: var(--accent); color: #fff; background: rgba(0,160,200,.22); }
.wslot .k { color: var(--accent); margin-right: 6px; }

.hud-top { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; }
.score-box { display: flex; align-items: center; gap: 14px; background: rgba(8,12,22,.78); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 8px 22px; }
.score-team { font-family: var(--font-head); font-size: 30px; }
.score-team.blue { color: #41a7ff; }
.score-team.red { color: #ff5470; }
#round-timer { font-family: var(--font-head); font-size: 20px; color: #fff; min-width: 64px; text-align: center; }
#round-timer.urgent { color: var(--accent2); animation: pulse 1s infinite; }
#objective-line { text-align: center; font-size: 13px; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-top: 5px; }

#killfeed { position: fixed; top: 84px; right: 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.kf-item {
  background: rgba(8,12,22,.82); border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: 6px 13px; font-size: 13.5px; font-weight: 700; animation: kfIn .25s ease; display: flex; gap: 8px; align-items: center;
}
@keyframes kfIn { from { opacity: 0; transform: translateX(30px);} to { opacity: 1; transform: none;} }
.kf-item .blue { color: #41a7ff; } .kf-item .red { color: #ff5470; } .kf-item .wp { color: var(--gold); font-size: 12px; }

#feed-center { position: fixed; top: 21%; left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; }
.announce { font-family: var(--font-head); font-size: 42px; letter-spacing: 3px; text-shadow: 0 4px 22px rgba(0,0,0,.8); animation: annIn .4s ease; }
.announce.sub { font-size: 19px; color: var(--gold); margin-top: 8px; font-family: var(--font-body); font-weight: 700; letter-spacing: 4px; }
@keyframes annIn { 0% { opacity: 0; transform: scale(1.35);} 100% { opacity: 1; transform: scale(1);} }
#kill-banner { position: fixed; top: 33%; left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; }
.kb { font-family: var(--font-head); font-size: 23px; color: var(--accent2); letter-spacing: 2px; text-shadow: 0 0 16px rgba(255,61,110,.6); animation: annIn .25s; }
.kb .pts { color: var(--gold); font-size: 16px; display: block; margin-top: 3px; }

#dmg-vignette { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(255,20,50,.46) 100%); }
#heal-glow { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(60,255,140,.25) 100%); }

/* scoreboard */
#scoreboard { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(740px, 92vw);
  background: var(--panel); border: 1px solid #2c3a5e; border-radius: 16px; padding: 22px 26px; backdrop-filter: blur(6px); }
#scoreboard h3 { font-family: var(--font-head); letter-spacing: 2px; font-size: 19px; margin-bottom: 12px; display: flex; justify-content: space-between; }
.sb-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sb-table th { text-align: left; color: var(--muted); font-size: 11.5px; letter-spacing: 2px; padding: 6px 9px; border-bottom: 1px solid #2c3a5e; }
.sb-table td { padding: 6.5px 9px; border-bottom: 1px solid rgba(44,58,94,.4); font-weight: 600; }
.sb-table tr.me td { background: rgba(0,229,255,.08); }
.sb-name.blue { color: #41a7ff; } .sb-name.red { color: #ff5470; }

/* respawn + round overlays */
#respawn-overlay { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(6,8,14,.62); backdrop-filter: blur(3px); }
#respawn-overlay .rt { font-family: var(--font-head); font-size: 36px; color: var(--accent2); letter-spacing: 3px; }
#respawn-overlay .rc { font-family: var(--font-head); font-size: 80px; margin-top: 10px; }
#respawn-overlay .rk { font-size: 16px; color: var(--muted); margin-top: 8px; font-weight: 700; }

/* match end */
.end-screen { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(5,8,14,.9); backdrop-filter: blur(9px); animation: fadeIn .4s; }
.end-title { font-family: var(--font-head); font-size: 70px; letter-spacing: 5px; }
.end-title.win { color: var(--green); text-shadow: 0 0 40px rgba(61,255,140,.45); }
.end-title.lose { color: var(--accent2); text-shadow: 0 0 40px rgba(255,61,110,.45); }
.end-title.draw { color: var(--gold); }
.end-stats { display: flex; gap: 18px; }
.estat { background: var(--panel); border: 1px solid #2c3a5e; border-radius: 13px; padding: 16px 28px; text-align: center; min-width: 120px; }
.estat .v { font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.estat .l { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-top: 4px; }
.reward-line { font-size: 19px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.reward-line .xp { color: var(--accent); margin-left: 18px; }
.end-buttons { display: flex; gap: 14px; margin-top: 8px; }
.levelup-flash { font-family: var(--font-head); font-size: 26px; color: var(--gold); letter-spacing: 3px; animation: annIn .5s; }

/* ============ CRATES ============ */
.crate-row { display: flex; gap: 18px; flex-wrap: wrap; max-width: 1000px; }
.crate-card { background: var(--panel); border: 2px solid #233052; border-radius: 16px; padding: 24px; width: 230px; text-align: center; transition: all .15s; }
.crate-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.crate-card .cic { font-size: 52px; }
.crate-card .cname { font-family: var(--font-head); font-size: 19px; margin-top: 10px; letter-spacing: 1px; }
.crate-card .cdesc { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; font-weight: 600; min-height: 36px; }
.btn-buy { margin-top: 14px; width: 100%; border: none; border-radius: 10px; padding: 11px; background: linear-gradient(135deg, #ffc83d, #ff9d2e); color: #221; font-family: var(--font-head); font-size: 16px; letter-spacing: 1px; }
.btn-buy:disabled { filter: grayscale(.8); opacity: .55; cursor: not-allowed; }

#crate-anim { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(4,6,11,.94); }
.spinner-window { width: min(860px, 94vw); height: 130px; position: relative; overflow: hidden; border: 2px solid #2c3a5e; border-radius: 14px; background: #0d1322; }
.spinner-track { position: absolute; top: 12px; left: 0; display: flex; gap: 10px; will-change: transform; }
.spin-item { width: 150px; height: 106px; border-radius: 11px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: #141d33; border: 2px solid #233052; }
.spin-item .si-name { font-size: 13px; font-weight: 700; text-align: center; padding: 0 6px; }
.spin-item .si-rar { font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.spin-item.r-common { border-color: #5a6b8c; } .r-common .si-rar { color: #8a9ab8; }
.spin-item.r-rare { border-color: #2e7fff; box-shadow: 0 0 12px rgba(46,127,255,.3);} .r-rare .si-rar { color: #5da2ff; }
.spin-item.r-epic { border-color: #b44dff; box-shadow: 0 0 14px rgba(180,77,255,.35);} .r-epic .si-rar { color: #cd84ff; }
.spin-item.r-legendary { border-color: #ffc83d; box-shadow: 0 0 18px rgba(255,200,61,.45);} .r-legendary .si-rar { color: var(--gold); }
.spinner-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 12px var(--accent); z-index: 2; }
#crate-result { margin-top: 26px; text-align: center; min-height: 90px; }
#crate-result .cr-name { font-family: var(--font-head); font-size: 30px; letter-spacing: 2px; animation: annIn .35s; }
#crate-result .cr-sub { color: var(--muted); margin-top: 6px; font-weight: 700; letter-spacing: 2px; }

/* ============ SETTINGS ============ */
.set-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #1d2740; max-width: 620px; }
.set-row label { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.set-row input[type=range] { width: 230px; accent-color: var(--accent); }
.set-row .val { color: var(--accent); font-weight: 700; min-width: 50px; text-align: right; }
.toggle { width: 56px; height: 28px; border-radius: 14px; background: #1a2236; border: 1px solid #2c3a5e; position: relative; cursor: pointer; transition: background .2s; }
.toggle.on { background: rgba(0,229,255,.3); border-color: var(--accent); }
.toggle i { position: absolute; top: 3px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #8a96ad; transition: all .2s; }
.toggle.on i { left: 30px; background: var(--accent); }

/* pause */
#pause-menu { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; background: rgba(5,8,14,.82); backdrop-filter: blur(7px); }
#pause-menu h2 { font-family: var(--font-head); font-size: 44px; letter-spacing: 4px; margin-bottom: 14px; }
#pause-menu .btn-menu { min-width: 300px; }

/* controls help */
.controls-grid { display: grid; grid-template-columns: auto 1fr; gap: 9px 24px; max-width: 480px; font-size: 15px; font-weight: 600; }
.kbd { background: #1a2438; border: 1px solid #34436b; border-radius: 7px; padding: 3px 11px; font-family: var(--font-head); font-size: 13px; color: var(--accent); text-align: center; }

@media (max-width: 900px) {
  .hero-title { font-size: 48px; }
  .menu-center { flex-direction: column; gap: 26px; }
  .boot-logo { font-size: 42px; }
}
