/* Fonts bundled locally (no external request — CrazyGames-friendly).
   Orbitron is a variable font: one file covers weights 400-900. */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/orbitron.woff2') format('woff2');
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/sharetechmono.woff2') format('woff2');
}

:root {
  --neon-cyan: #00f5ff;
  --neon-pink: #ff0080;
  --neon-green: #00ff88;
  --neon-orange: #ff8800;
  --neon-purple: #aa00ff;
  --neon-yellow: #ffee00;
  --bg-dark: #04060f;
  --bg-panel: #080c1a;
  --bg-card: #0d1428;
  --border-glow: rgba(0,245,255,0.3);
}

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

body {
  background: var(--bg-dark);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* SCREENS */
.screen { display: none; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.screen.active { display: flex; }

/* ===== MENU SCREEN ===== */
#menu-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, #001a33 0%, var(--bg-dark) 70%);
  position: relative;
  overflow: hidden;
}

#menu-screen::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  top: 40%;
  animation: scanline 4s linear infinite;
  opacity: 0.3;
}

@keyframes scanline { from { transform: translateY(-200px); } to { transform: translateY(200px); } }

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridmove 20s linear infinite;
}

@keyframes gridmove { from { background-position: 0 0; } to { background-position: 0 40px; } }

.logo {
  font-family: 'Orbitron', monospace;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: 12px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-cyan));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoanim 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(0,245,255,0.5));
}

@keyframes logoanim { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.tagline {
  font-size: clamp(10px, 1.5vw, 14px);
  letter-spacing: 6px;
  color: var(--neon-cyan);
  opacity: 0.7;
  margin: 8px 0 40px;
  position: relative;
  z-index: 1;
}

.menu-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; z-index: 1; }

.btn {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  padding: 14px 48px;
  border: 1px solid var(--neon-cyan);
  background: rgba(0,245,255,0.05);
  color: var(--neon-cyan);
  cursor: pointer;
  position: relative;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn:hover {
  background: rgba(0,245,255,0.15);
  box-shadow: 0 0 20px rgba(0,245,255,0.4), inset 0 0 20px rgba(0,245,255,0.1);
  transform: scale(1.03);
}

.btn-pink {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  background: rgba(255,0,128,0.05);
}
.btn-pink:hover {
  background: rgba(255,0,128,0.15);
  box-shadow: 0 0 20px rgba(255,0,128,0.4);
}

.btn-green {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0,255,136,0.05);
}
.btn-green:hover {
  background: rgba(0,255,136,0.15);
  box-shadow: 0 0 20px rgba(0,255,136,0.4);
}
.btn-orange {
  border-color: var(--neon-orange);
  color: var(--neon-orange);
  background: rgba(255,136,0,0.05);
}
.btn-orange:hover {
  background: rgba(255,136,0,0.15);
  box-shadow: 0 0 20px rgba(255,136,0,0.4);
}
.btn-purple {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  background: rgba(170,0,255,0.05);
}
.btn-purple:hover {
  background: rgba(170,0,255,0.15);
  box-shadow: 0 0 20px rgba(170,0,255,0.4);
}

/* ===== GAME SCREEN ===== */
#game-screen {
  flex-direction: row;
  background: var(--bg-dark);
}

/* HUD TOP */
#hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50px;
  background: rgba(8,12,26,0.95);
  border-bottom: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  z-index: 100;
  font-size: 12px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.hud-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hud-label { color: rgba(255,255,255,0.4); font-size: 10px; letter-spacing: 1px; }
.hud-val { font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700; }
.hud-val.cyan { color: var(--neon-cyan); }
.hud-val.pink { color: var(--neon-pink); }
.hud-val.green { color: var(--neon-green); }
.hud-val.yellow { color: var(--neon-yellow); }
.hud-val.orange { color: var(--neon-orange); }

.hud-sep { width: 1px; height: 30px; background: var(--border-glow); flex-shrink: 0; }

.hud-right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.wave-bar-wrap {
  flex: 1;
  min-width: 60px;
  max-width: 200px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.wave-bar { height: 100%; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); border-radius: 3px; transition: width 0.3s; }

/* CANVAS AREA */
#game-canvas {
  position: absolute;
  top: 50px;
  left: 0;
  right: 240px;
  bottom: 110px;
  overflow: hidden;
}

canvas {
  display: block;
  /* image-rendering keeps pixels crisp on all DPR */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* SIDEBAR */
#sidebar {
  position: absolute;
  top: 50px;
  right: 0;
  width: 240px;
  bottom: 0;
  background: var(--bg-panel);
  border-left: 1px solid var(--border-glow);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  z-index: 50;
}

.sidebar-title {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  opacity: 0.6;
  margin-bottom: 10px;
}

.tower-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}

.tower-card:hover, .tower-card.selected {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,245,255,0.2);
  background: rgba(0,245,255,0.08);
}

.tower-card.selected { border-color: var(--neon-yellow); box-shadow: 0 0 12px rgba(255,238,0,0.3); }

.tower-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tower-name { font-size: 11px; font-weight: bold; color: #fff; }
.tower-cost { font-family: 'Orbitron', monospace; font-size: 11px; color: var(--neon-yellow); }

.tower-stats { font-size: 9px; color: rgba(255,255,255,0.5); display: flex; gap: 8px; }

.tower-icon {
  width: 28px; height: 28px;
  border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.locked { opacity: 0.35; pointer-events: none; }
.lock-label { font-size: 9px; color: var(--neon-orange); }

/* BOTTOM BAR */
#bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 240px;
  height: 110px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 50;
  flex-wrap: wrap;
}

.action-btn {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  white-space: nowrap;
}

#btn-start-wave { border-color: var(--neon-green); color: var(--neon-green); }
#btn-start-wave:hover { background: rgba(0,255,136,0.15); box-shadow: 0 0 16px rgba(0,255,136,0.3); }
#btn-sell { border-color: var(--neon-orange); color: var(--neon-orange); }
#btn-sell:hover { background: rgba(255,136,0,0.15); }
#btn-upgrade { border-color: var(--neon-cyan); color: var(--neon-cyan); }
#btn-upgrade:hover { background: rgba(0,245,255,0.12); }
#btn-speed { border-color: var(--neon-purple); color: var(--neon-purple); }
#btn-speed:hover { background: rgba(170,0,255,0.15); }

.selected-info { flex: 1; font-size: 11px; color: rgba(255,255,255,0.6); min-width: 120px; }
.selected-info h4 { color: var(--neon-cyan); font-family: 'Orbitron', monospace; font-size: 12px; margin-bottom: 4px; }

/* HP BAR */
.hp-bar-wrap { width: 100%; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 2px; }
.hp-bar { height: 100%; background: var(--neon-green); border-radius: 2px; transition: width 0.1s; }

/* OVERLAY */
#overlay {
  position: fixed; inset: 0;
  background: rgba(4,6,15,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  font-family: 'Orbitron', monospace;
}

#overlay.active { display: flex; }

.overlay-box {
  background: var(--bg-panel);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 60px rgba(0,245,255,0.15), inset 0 0 60px rgba(0,0,0,0.5);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
}

.overlay-box h2 { font-size: clamp(24px, 5vw, 36px); letter-spacing: 8px; margin-bottom: 8px; }
.overlay-box .sub { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* UPGRADE SCREEN */
#upgrade-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(4,6,15,0.97);
  z-index: 300;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 200px));
  gap: 16px;
  margin: 24px 0;
  justify-content: center;
}

.upgrade-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.upgrade-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(255,0,128,0.3);
  transform: translateY(-2px);
}

.upgrade-icon { font-size: 36px; margin-bottom: 8px; }
.upgrade-name { font-size: 13px; font-weight: bold; color: var(--neon-pink); margin-bottom: 4px; font-family: 'Orbitron', monospace; }
.upgrade-desc { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* NOTIFICATIONS */
#notifs {
  position: fixed;
  top: 60px; right: 250px;
  z-index: 500;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.notif {
  background: rgba(0,0,0,0.8);
  border-left: 3px solid var(--neon-cyan);
  padding: 6px 12px;
  font-size: 11px;
  animation: notifIn 0.3s ease, notifOut 0.5s ease 1.5s forwards;
  letter-spacing: 1px;
}

@keyframes notifIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes notifOut { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }

/* LIVES */
.lives-display { display: flex; gap: 4px; flex-wrap: wrap; max-width: 160px; }
.life-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); transition: all 0.3s; flex-shrink: 0; }
.life-dot.dead { background: rgba(255,255,255,0.1); box-shadow: none; }

/* MULTIPLAYER PANEL */
#mp-panel { position: absolute; top: 60px; left: 10px; z-index: 50; }
.player-indicator {
  background: var(--bg-panel);
  border: 1px solid;
  padding: 8px 12px;
  margin-bottom: 6px;
  font-size: 11px;
  min-width: 140px;
}

.p1-indicator { border-color: var(--neon-cyan); }
.p2-indicator { border-color: var(--neon-pink); }

/* SCROLLBAR */
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-thumb { background: rgba(0,245,255,0.2); border-radius: 2px; }

/* WAVE ANNOUNCE */
#wave-announce {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', monospace;
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--neon-cyan);
  text-shadow: 0 0 30px var(--neon-cyan);
  opacity: 0;
  pointer-events: none;
  z-index: 150;
  text-align: center;
  transition: opacity 0.3s;
}

.mini-btn {
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.mini-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* ACHIEVEMENTS */
#achievement-popup {
  position: fixed;
  bottom: 130px;
  right: 250px;
  background: var(--bg-panel);
  border: 1px solid var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255,238,0,0.3);
  padding: 12px 20px;
  z-index: 400;
  display: none;
  font-size: 11px;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#achievement-popup .ach-title { color: var(--neon-yellow); font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 2px; }

/* XP BAR */
.xp-wrap { position: absolute; bottom: 110px; left: 0; right: 240px; height: 4px; background: rgba(255,255,255,0.05); z-index: 60; }
.xp-fill { height: 100%; background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)); transition: width 0.5s; }

/* COMBO */
#combo-display {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon-yellow);
  z-index: 60;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

/* ===== TOUCH HYGIENE (invisible on desktop / mouse) ===== */
* { -webkit-tap-highlight-color: transparent; }
html, body { overscroll-behavior: none; }
#game-screen, #menu-screen { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#canvas, #cold-canvas { touch-action: none; }       /* taps still fire click; no scroll/zoom */
.btn, .action-btn, .mini-btn, .tower-card, .sprite-upload-btn { touch-action: manipulation; }

/* ===== MOBILE / TOUCH LAYOUT =====
   Triggers on touch devices OR narrow viewports. A normal desktop window
   (fine pointer AND >=820px wide) is completely unaffected — PC stays as-is.
   Arsenal becomes a horizontal strip and the canvas spans the full width. */
@media (pointer: coarse), (max-width: 820px) {
  #game-canvas { right: 0; bottom: 184px; }
  .xp-wrap     { right: 0; bottom: 184px; }

  /* Sidebar -> horizontal arsenal strip above the action bar. */
  #sidebar {
    top: auto; bottom: 92px; left: 0; right: 0;
    width: auto; height: 90px;
    border-left: none; border-top: 1px solid var(--border-glow);
    padding: 8px; overflow: hidden;
  }
  /* Keep only the arsenal on mobile; secondary panels are hidden (!important
     beats the sprite panel's inline display toggle). */
  #sidebar .sidebar-title,
  #upgrade-list, #stats-panel, #sprite-panel, #creative-panel { display: none !important; }
  #tower-list {
    display: flex; flex-direction: row; gap: 8px; height: 100%;
    overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  }
  .tower-card { flex: 0 0 auto; width: 134px; margin-bottom: 0; padding: 8px; }

  /* Action bar pinned to the very bottom, full width, big tap targets. */
  #bottom-bar { right: 0; height: 92px; padding: 6px 8px; gap: 6px; align-content: center; }
  .action-btn { flex: 1 1 0; min-width: 0; padding: 12px 4px; font-size: 8px; letter-spacing: 1px; }
  .selected-info { order: -1; flex-basis: 100%; min-width: 0; font-size: 10px; max-height: 30px; overflow: hidden; }
  .selected-info h4 { font-size: 11px; margin-bottom: 1px; }

  /* Compact HUD: drop labels/separators and the secondary stats so the
     essentials (gold, lives, wave) and the MENU button always fit.
     nth-child counts every child incl. separators: 6=wave-bar, 8=score,
     10=level, 12=player. */
  #hud { gap: 10px; padding: 0 8px; }
  #hud .hud-sep { display: none; }
  #hud .hud-label { display: none; }
  #hud > .hud-stat:nth-child(6),
  #hud > .hud-stat:nth-child(8),
  #hud > .hud-stat:nth-child(10),
  #hud > .hud-stat:nth-child(12) { display: none; }
  .hud-val { font-size: 12px; }
  .lives-display { max-width: 84px; }
  .life-dot { width: 6px; height: 6px; }
  #notifs, #achievement-popup { left: 10px; right: 10px; }

  /* Menu: comfortable, full-width tap targets. */
  .menu-btns { width: 88%; max-width: 360px; }
  .menu-btns .btn { width: 100%; padding: 15px 16px; }
  .menu-help-btn { font-size: 11px; }
}

/* ===== SPRITE PANEL ===== */
.sprite-upload-btn {
  display: inline-block;
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  padding: 7px 14px;
  border: 1px dashed rgba(0,245,255,0.4);
  color: var(--neon-cyan);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
  margin-top: 6px;
  text-align: center;
  width: 100%;
}
.sprite-upload-btn:hover { background: rgba(0,245,255,0.08); border-style: solid; }

.sprite-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 5px;
  font-size: 9px;
}
.sprite-item img { width: 28px; height: 28px; object-fit: contain; border-radius: 2px; image-rendering: pixelated; }
.sprite-item select {
  flex: 1;
  background: #0a1020;
  border: 1px solid rgba(0,245,255,0.2);
  color: var(--neon-cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  padding: 3px;
}
.sprite-item button {
  background: transparent;
  border: 1px solid rgba(255,0,128,0.4);
  color: var(--neon-pink);
  font-size: 9px;
  cursor: pointer;
  padding: 2px 6px;
}
.sprite-item button:hover { background: rgba(255,0,128,0.15); }

/* ── TUTORIAL / WELCOME OVERLAY ─────────────── */
#tutorial-overlay {
  position: fixed; inset: 0;
  background: rgba(4,6,15,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  font-family: 'Orbitron', monospace;
  padding: 20px;
}
#tutorial-overlay.active { display: flex; }

.tut-box {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 60px rgba(0,245,255,0.18), inset 0 0 60px rgba(0,0,0,0.5);
  padding: 36px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  animation: tutPop 0.25s ease;
}
@keyframes tutPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* Welcome view */
.tut-welcome-logo {
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: 8px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tut-welcome-sub { font-size: 10px; letter-spacing: 5px; color: rgba(255,255,255,0.4); margin-top: 6px; }
.tut-welcome-q { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); margin: 28px 0 24px; letter-spacing: 1px; }
.tut-welcome-btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* Slide view */
.tut-skip {
  position: absolute; top: 12px; right: 18px;
  font-size: 9px; letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
}
.tut-skip:hover { color: var(--neon-pink); }
.tut-icon { font-size: 48px; line-height: 1; margin-bottom: 12px; }
.tut-title { font-size: 22px; letter-spacing: 4px; color: var(--neon-cyan); margin-bottom: 16px; }
.tut-body {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.8);
  min-height: 120px;
  letter-spacing: 0.3px;
}
.tut-body b { color: #fff; }
.tut-dots { display: flex; gap: 8px; justify-content: center; margin: 20px 0 18px; }
.tut-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: all 0.2s; }
.tut-dot.on { background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); transform: scale(1.2); }
.tut-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tut-nav .btn { padding: 10px 18px; font-size: 11px; }
.tut-step { font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.4); }

/* Menu help button */
.menu-help-btn {
  position: absolute; bottom: 18px; right: 18px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-family: 'Orbitron', monospace;
  font-size: 10px; letter-spacing: 2px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.menu-help-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 12px rgba(0,245,255,0.2); }