:root {
  --bg: #0a0808;  /* DARKER background */
  --ui-bg: rgba(12, 10, 8, 0.85);  /* More transparent UI */
  --ui-border: rgba(120, 100, 70, 0.5);  /* Muted border */
  --text: #c8b8a0;  /* Muted text */
  --muted: #807060;
  --danger: #a03030;
  --ok: #508040;
  --active: #c09040;
  --neon-pink: #c04060;
  --neon-cyan: #408090;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 18px;
  overflow: hidden;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 520px at 30% 12%, rgba(176, 135, 85, 0.2), transparent),
    radial-gradient(860px 520px at 78% 76%, rgba(97, 86, 74, 0.32), transparent),
    linear-gradient(150deg, #2b241f, #352c25 45%, #2f2924);
}

.card {
  width: min(640px, calc(100vw - 28px));
  border-radius: 14px;
  border: 2px solid rgba(188, 152, 112, 0.58);
  background: rgba(30, 26, 23, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.46);
  padding: 18px;
}

.title {
  font-family: 'Press Start 2P', monospace;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 96, 144, 0.5);
}

.subtitle {
  margin-top: 8px;
  font-size: 18px;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(96, 208, 240, 0.4);
}

.label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

input {
  height: 42px;
  border-radius: 9px;
  border: 2px solid rgba(178, 148, 111, 0.44);
  padding: 0 12px;
  background: rgba(17, 15, 13, 0.88);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.row {
  display: grid;
  grid-template-columns: 1fr 126px 1fr;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

button {
  height: 42px;
  border-radius: 9px;
  border: 2px solid rgba(178, 148, 111, 0.56);
  background: linear-gradient(160deg, rgba(121, 96, 72, 0.66), rgba(92, 77, 62, 0.66));
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  border-color: rgba(220, 186, 140, 0.8);
}

.hint,
.status {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.status {
  color: #d8c49f;
}

.hidden {
  display: none !important;
}

/* HUD HIDDEN - Clean game view only */
.hud {
  display: none !important;
}

.hud-main {
  display: grid;
  grid-template-columns: 280px 280px 1fr;
  gap: 6px;
  align-items: start;
}

.panel {
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: var(--ui-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 6px 8px;
  font-size: 13px;
}

.panel-title {
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  color: var(--neon-pink);
  font-weight: 400;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(255, 96, 144, 0.4);
}

.panel-subtitle {
  text-transform: uppercase;
  font-size: 12px;
  color: #bda98d;
  margin-bottom: 4px;
  margin-top: 2px;
}

.headline {
  font-size: 18px;
  font-weight: 700;
  color: #ebdbc5;
  line-height: 1.3;
}

.subline {
  font-size: 14px;
  color: #ccb79a;
  margin-top: 4px;
  line-height: 1.35;
}

.line {
  font-size: 14px;
  line-height: 1.35;
  color: #ddc8aa;
  margin-top: 4px;
}

.divider {
  margin: 8px 0;
  border-top: 1px solid rgba(188, 152, 112, 0.33);
}

.hp {
  height: 16px;
  margin-top: 7px;
  border: 2px solid rgba(183, 150, 111, 0.58);
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.8);
  overflow: hidden;
}

.hp-fill {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--danger), #e08947, var(--ok));
}

.item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.item-card {
  border: 1px solid rgba(100, 80, 60, 0.4);
  border-radius: 6px;
  background: rgba(15, 12, 10, 0.85);
  min-height: 36px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-name {
  font-size: 13px;
  color: #cbb495;
}

.item-count {
  font-size: 16px;
  color: #eddcc1;
  font-weight: 700;
}

.action-panel {
  align-self: end;
}

.actionbar {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 5px;
}

.slot {
  min-height: 54px;
  border-radius: 6px;
  border: 1px solid rgba(100, 80, 60, 0.5);
  background: rgba(12, 10, 8, 0.85);
  padding: 4px 6px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  font-size: 12px;
}

.slot.active {
  border-color: var(--active);
  box-shadow: 0 0 0 1px rgba(214, 176, 109, 0.42);
}

.slot.empty {
  opacity: 0.62;
}

.slot-key {
  justify-self: end;
  font-size: 12px;
  color: #bea27f;
}

.slot-name {
  font-size: 15px;
  font-weight: 700;
  color: #e6d5bf;
}

.slot-meta {
  font-size: 13px;
  color: #ccb79a;
  align-self: end;
}

.toast {
  position: fixed;
  left: 50%;
  top: 14px;
  transform: translate(-50%, -6px);
  min-width: 330px;
  max-width: 70vw;
  border-radius: 10px;
  border: 2px solid rgba(188, 152, 112, 0.66);
  background: rgba(27, 23, 20, 0.94);
  color: #e6d5bf;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hitmarker {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}

.hitmarker::before,
.hitmarker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: rgba(230, 213, 191, 0.94);
  transform-origin: center;
}

.hitmarker::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hitmarker::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hitmarker.show {
  animation: hitpop 170ms ease-out;
}

.hitmarker.kill::before,
.hitmarker.kill::after {
  background: rgba(221, 87, 68, 0.95);
}

/* ========== SERVER CODE DISPLAY (Top Left) ========== */
.server-code {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(10, 8, 6, 0.85);
  border: 2px solid rgba(120, 100, 70, 0.5);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.server-code .label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

.server-code .code {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(96, 208, 240, 0.5);
}

/* ========== MINECRAFT-STYLE ACTION BAR (Bottom Center) ========== */
.actionbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 4px;
}

.actionbar .slot {
  width: 72px;
  height: 72px;
  background: rgba(20, 18, 15, 0.9);
  border: 3px solid rgba(60, 50, 40, 0.8);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.4);
}

.actionbar .slot.active {
  border-color: var(--active);
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(192, 144, 64, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.4);
}

.actionbar .slot .slot-key {
  position: absolute;
  top: 2px;
  left: 4px;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: rgba(200, 184, 160, 0.6);
}

.actionbar .slot .slot-label {
  font-size: 24px;
  line-height: 1;
}

.actionbar .slot .ammo {
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: #e6d5bf;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.actionbar .slot .weapon-name-small {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.actionbar .slot.locked {
  opacity: 0.35;
  border-color: rgba(40, 35, 30, 0.6);
}

.actionbar .slot.locked .slot-label {
  filter: grayscale(1);
}

/* Low ammo warning */
.actionbar .slot.low-ammo .ammo {
  color: var(--danger);
  animation: pulse-ammo 0.5s ease-in-out infinite;
}

@keyframes pulse-ammo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Reloading state */
.actionbar .slot.reloading::after {
  content: "RELOADING";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: var(--neon-cyan);
  animation: blink 0.3s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes hitpop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@media (max-width: 1250px) {
  .hud-main {
    grid-template-columns: 1fr 1fr;
  }

  .backpack-panel {
    grid-column: span 2;
  }

  .actionbar {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 900px) {
  .hud {
    padding: 6px;
    gap: 8px;
  }

  .hud-main {
    grid-template-columns: 1fr;
  }

  .backpack-panel {
    grid-column: span 1;
  }

  .actionbar {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}


/* Death Screen */
.death-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: deathFadeIn 0.4s ease-out;
  backdrop-filter: blur(4px);
}
.death-screen.hidden { display: none; }

.death-content {
  text-align: center;
  max-width: 400px;
  width: 90%;
}

/* Glitch title effect */
.death-glitch {
  font-family: 'Courier New', monospace;
  font-size: 64px;
  font-weight: 900;
  color: #ff1744;
  letter-spacing: 12px;
  position: relative;
  animation: glitchFlicker 0.15s infinite alternate;
  text-shadow: 3px 0 #00ffff, -3px 0 #ff00ff;
}
.death-glitch::before,
.death-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; right: 0;
  overflow: hidden;
}
.death-glitch::before {
  animation: glitchTop 0.8s infinite;
  clip-path: inset(0 0 60% 0);
  color: #00ffff;
  text-shadow: -2px 0 #ff1744;
}
.death-glitch::after {
  animation: glitchBottom 0.6s infinite;
  clip-path: inset(60% 0 0 0);
  color: #ff00ff;
  text-shadow: 2px 0 #ff1744;
}

.death-killer {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #ff6666;
  margin-top: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.death-summary-title {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #666;
  letter-spacing: 4px;
  margin-top: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
}

.death-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dmg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #ccc;
  position: relative;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.dmg-killer {
  color: #ff4444;
  background: rgba(255, 0, 0, 0.08);
  border-left: 3px solid #ff1744;
}

.dmg-bar-bg {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
}
.dmg-bar-fill {
  height: 100%;
  background: rgba(255, 23, 68, 0.15);
  transition: width 0.3s ease;
}

.dmg-source {
  flex: 1;
  text-align: left;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dmg-value {
  z-index: 1;
  color: #ff6666;
  font-weight: bold;
  white-space: nowrap;
}

.death-respawn {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #555;
  margin-top: 20px;
  animation: respawnPulse 1.5s ease-in-out infinite;
}

@keyframes glitchFlicker {
  0% { opacity: 1; }
  100% { opacity: 0.95; transform: translateX(1px); }
}
@keyframes glitchTop {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
@keyframes glitchBottom {
  0% { transform: translateX(0); }
  25% { transform: translateX(2px); }
  50% { transform: translateX(-2px); }
  75% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}
@keyframes respawnPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes deathFadeIn {
  from {
    opacity: 0;
    background: rgba(139, 0, 0, 0);
  }
  to {
    opacity: 1;
    background: rgba(139, 0, 0, 0.7);
  }
}

@keyframes deathPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Minimap */
.minimap-container {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 100;
}

.minimap-container.hidden {
  display: none;
}

#minimap {
  width: 100%;
  height: 100%;
}

/* Dialog Box - Fallout style */
.dialog-box {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.95), rgba(10, 8, 5, 0.98));
  border: 3px solid #5a4a30;
  border-top: 4px solid #7a6a40;
  border-radius: 4px;
  padding: 16px 24px;
  z-index: 200;
  font-family: 'VT323', monospace;
  box-shadow: 
    0 -4px 20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 220, 150, 0.1);
}

.dialog-box {
  transition: opacity 0.6s ease-out;
}

.dialog-box.hidden {
  opacity: 0;
  pointer-events: none;
}

.dialog-speaker {
  color: #e8c040;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 8px rgba(232, 192, 64, 0.4);
  border-bottom: 1px solid rgba(232, 192, 64, 0.3);
  padding-bottom: 6px;
}

.dialog-text {
  color: #d8d0c0;
  font-size: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Player Status (Bottom Left) */
.player-status {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}

.player-status.hidden { display: none; }

.status-hp {
  height: 8px;
  background: rgba(20, 0, 0, 0.7);
  border: 1px solid rgba(255, 100, 100, 0.4);
  border-radius: 4px;
  overflow: hidden;
}

.hp-fill-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #cc2222, #ee4444);
  transition: width 0.2s ease;
}

.status-info {
  display: flex;
  justify-content: space-between;
  font-family: 'VT323', monospace;
  font-size: 16px;
}

.hp-text {
  color: #ff6666;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.cash-text {
  color: #66ff66;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.mission-text {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: #ffcc44;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  max-width: 250px;
  line-height: 1.3;
}

/* Atmospheric vignette overlay */
.game-vignette {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.4) 100%);
}

/* Kill screen flash */
.kill-flash {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 600;
  background: rgba(255, 50, 50, 0.15);
  opacity: 0;
  animation: killFlashAnim 0.4s ease-out forwards;
}

@keyframes killFlashAnim {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Damage flash animation */
@keyframes flashFade {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Invulnerability glow */
.invuln-indicator {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 55;
  border: 3px solid rgba(100, 200, 255, 0.3);
  animation: invulnPulse 1s ease-in-out infinite;
}

@keyframes invulnPulse {
  0%, 100% { border-color: rgba(100, 200, 255, 0.1); }
  50% { border-color: rgba(100, 200, 255, 0.4); }
}

/* ========== MOBILE CONTROLS ========== */
body.mobile {
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

body.mobile #game {
  cursor: none;
}

/* Hide desktop-only elements on mobile */
body.mobile .actionbar {
  display: none !important;
}

body.mobile .player-status {
  bottom: auto;
  top: 10px;
  left: 10px;
  transform: scale(0.9);
  transform-origin: top left;
}

body.mobile .minimap-container {
  width: 120px;
  height: 120px;
  top: 10px;
  right: 10px;
}

body.mobile #police-scanner {
  display: none !important;
}

/* Joystick zone - left side */
.mobile-joystick-zone {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 60%;
  z-index: 300;
  touch-action: none;
}

.mobile-joystick-base {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  left: 15%;
  top: 75%;
  opacity: 0.3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.mobile-joystick-knob {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  will-change: transform;
}

/* Action buttons - right side */
.mobile-buttons {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 300;
  display: grid;
  grid-template-columns: 54px 54px;
  grid-template-rows: repeat(3, 54px);
  gap: 8px;
  touch-action: none;
}

.mobile-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'VT323', monospace;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.1s, transform 0.1s;
}

.mobile-btn.active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.92);
}

.mobile-btn-shoot {
  width: 70px;
  height: 70px;
  background: rgba(220, 40, 40, 0.35);
  border-color: rgba(255, 80, 80, 0.5);
  font-size: 24px;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.mobile-btn-shoot.active {
  background: rgba(255, 60, 60, 0.6);
}

.mobile-btn-ads {
  background: rgba(60, 120, 200, 0.3);
  border-color: rgba(100, 160, 255, 0.4);
  grid-column: 1;
  grid-row: 2;
}

.mobile-btn-ads.active {
  background: rgba(80, 150, 255, 0.5);
  border-color: rgba(130, 190, 255, 0.7);
}

.mobile-btn-jump {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
}

.mobile-btn-reload {
  grid-column: 1;
  grid-row: 1;
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.mobile-btn-interact {
  grid-column: 2;
  grid-row: 1;
  width: 46px;
  height: 46px;
  font-size: 14px;
  justify-self: end;
}

.mobile-btn-medkit {
  grid-column: 1;
  grid-row: 3;
  width: 46px;
  height: 46px;
  background: rgba(40, 180, 40, 0.25);
  border-color: rgba(80, 220, 80, 0.4);
  font-size: 18px;
}

/* Weapon bar */
.mobile-weapon-bar {
  position: fixed;
  bottom: 200px;
  right: 10px;
  z-index: 300;
  display: flex;
  gap: 4px;
  touch-action: none;
}

.mobile-weapon-slot {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(20, 18, 15, 0.8);
  border: 2px solid rgba(100, 80, 60, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: rgba(200, 184, 160, 0.7);
  -webkit-tap-highlight-color: transparent;
}

.mobile-weapon-slot:active {
  border-color: var(--active);
  background: rgba(60, 50, 30, 0.6);
}
