@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/NeoDunggeunmo.css');

/* 
  Retro Cannons Style Sheet
  Designed for premium retro feel, glassmorphism, responsive grids, and responsive touch controls.
*/

:root {
  --primary-color: #fbbf24; /* warm golden amber */
  --secondary-color: #10b981; /* retro emerald green */
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --bg-color: #1c1917; /* warm stone charcoal */
  --card-bg: rgba(28, 25, 23, 0.9); /* warm stone card */
  --glass-border: rgba(251, 191, 36, 0.25);
  --hud-text-glow: 0 0 8px rgba(251, 191, 36, 0.4);
  --font-title: 'Press Start 2P', cursive, monospace;
  --font-retro: 'VT323', monospace;
  --font-body: 'NeoDunggeunmo', 'Noto Sans KR', sans-serif; /* retro pixel Korean font */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body {
  background-color: var(--bg-color);
  color: #ffffff;
  font-family: var(--font-body);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CRT Screen Effect Overlay */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 999;
}

.crt-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.04),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.04)
  );
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 998;
  opacity: 0.85;
}

/* Ambient Background Starfield & Moving Grid */
.ambient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1917 0%, #0c0a09 100%);
}

.grid-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(0, 255, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(60deg);
  animation: grid-scroll 25s linear infinite;
}

.stars-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #fff 0.8px, transparent),
    radial-gradient(1.5px 1.5px at 150px 80px, #fff 1px, transparent),
    radial-gradient(1px 1px at 300px 240px, #fbbf24 0.8px, transparent),
    radial-gradient(2px 2px at 80px 400px, #10b981 1px, transparent),
    radial-gradient(1px 1px at 450px 180px, #fff 0.8px, transparent);
  background-repeat: repeat;
  background-size: 500px 500px;
  opacity: 0.4;
  animation: stars-twinkle 8s ease-in-out infinite;
}

@keyframes grid-scroll {
  from { transform: perspective(500px) rotateX(60deg) translateY(0); }
  to { transform: perspective(500px) rotateX(60deg) translateY(40px); }
}

@keyframes stars-twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Game Main Shell Container */
.game-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
  max-height: 760px;
  background: var(--card-bg);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.15), inset 0 0 15px rgba(255, 0, 127, 0.05);
  backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 920px), (max-height: 780px) {
  .game-container {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
}

/* Screens management */
.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: hidden;
}

.screen.active {
  display: flex;
}

/* 1. LOBBY / MENU SCREEN */
#menu-screen {
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.logo-area {
  margin-top: 30px;
}

.game-title {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 
    3px 3px 0px var(--secondary-color),
    -1px -1px 0px var(--primary-color),
    0 0 20px rgba(255, 0, 127, 0.4);
  animation: logo-glow 3s ease-in-out infinite alternate;
}

.highlight {
  color: var(--primary-color);
  text-shadow: 
    3px 3px 0px var(--secondary-color),
    0 0 15px rgba(0, 255, 204, 0.6);
}

.tagline {
  font-size: 0.95rem;
  margin-top: 15px;
  color: #b0c4de;
  letter-spacing: 1px;
}

@keyframes logo-glow {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.02); filter: brightness(1.1); }
}

/* Stats Panel (Highscores) */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 600px;
  margin: 30px 0;
}

.record-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 204, 0.15);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.record-label {
  font-family: var(--font-title);
  font-size: 0.55rem;
  color: #7f8c8d;
  margin-bottom: 6px;
}

.record-value {
  font-family: var(--font-retro);
  font-size: 1.8rem;
  color: var(--primary-color);
  text-shadow: var(--hud-text-glow);
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
}

/* Pixel Buttons Layout */
.pixel-btn {
  font-family: var(--font-title);
  font-size: 0.85rem;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 0px rgba(0,0,0,0.3);
}

.pixel-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0px rgba(0,0,0,0.3);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000000;
  font-weight: 900;
  box-shadow: 0 4px 0px #00b38f, 0 4px 15px rgba(0, 255, 204, 0.4);
}

.btn-primary:hover {
  background-color: #33ffdd;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 0px #b30059;
}

.btn-secondary:hover {
  background-color: #ff3399;
}

.btn-muted {
  background-color: #2c3e50;
  color: #bdc3c7;
  font-size: 0.75rem;
  padding: 10px 15px;
}

.btn-danger {
  background-color: var(--danger-color);
  color: #fff;
  box-shadow: 0 4px 0px #cc0000;
}

.btn-danger-small {
  background-color: var(--danger-color);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.7rem;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
}

.pixel-btn-small {
  font-family: var(--font-title);
  font-size: 0.65rem;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.pixel-btn-small:active {
  transform: translateY(1px);
}

/* 2. UPGRADE SHOP SCREEN */
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--glass-border);
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.screen-header h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--primary-color);
  text-shadow: var(--hud-text-glow);
}

.gold-display {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.gold-display span {
  font-family: var(--font-retro);
  font-size: 1.5rem;
  color: var(--warning-color);
}

.shop-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
}

/* Hide scrollbar scroll style */
.shop-content-scroll::-webkit-scrollbar {
  width: 6px;
}
.shop-content-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}
.shop-content-scroll::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}

.shop-desc {
  font-size: 0.85rem;
  color: #a0a0b0;
  margin-bottom: 20px;
}

.shop-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.shop-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 204, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.upgrade-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 204, 0.1);
}

.upgrade-text {
  display: flex;
  flex-direction: column;
}

.upgrade-name {
  font-weight: bold;
  font-size: 0.9rem;
  color: #ffffff;
}

.upgrade-desc {
  font-size: 0.72rem;
  color: #8a8a9a;
  margin-top: 3px;
}

.upgrade-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.upgrade-level {
  font-family: var(--font-title);
  font-size: 0.6rem;
  color: var(--primary-color);
}

.btn-upgrade {
  background: var(--warning-color);
  color: #000;
  font-weight: bold;
  border-radius: 4px;
}

.btn-upgrade:hover {
  background: #ffe066;
}

.btn-upgrade.maxed {
  background: #475569 !important;
  color: #cbd5e1 !important;
  cursor: not-allowed;
}

/* 3. GAMEPLAY SCREEN */
#game-screen {
  padding: 10px;
  justify-content: space-between;
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 204, 0.15);
  padding: 8px 12px;
  height: 50px;
}

.hud-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stage-badge {
  font-family: var(--font-title);
  font-size: 0.6rem;
  color: var(--secondary-color);
}

.score-display {
  font-family: var(--font-retro);
  font-size: 1.2rem;
  color: #ffffff;
}

/* Wind display */
.wind-panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wind-arrow-container {
  background: #111;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px rgba(0, 255, 204, 0.2);
}

.wind-arrow {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

.wind-text {
  font-family: var(--font-retro);
  font-size: 1.3rem;
  color: var(--primary-color);
  text-shadow: var(--hud-text-glow);
}

.turn-indicator {
  font-family: var(--font-retro);
  font-size: 1.8rem;
  color: var(--warning-color);
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.4);
}

.hud-pause-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #ffffff;
  padding: 4px;
}

/* Health bars below HUD */
.health-bars-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 6px 0;
}

.hp-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-label {
  font-family: var(--font-title);
  font-size: 0.45rem;
  color: #a0a0b0;
}

.hp-bar-container {
  flex: 1;
  height: 12px;
  background: #222;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.hp-bar-fill {
  height: 100%;
  width: 100%;
  transition: width 0.3s ease-out;
}

.hp-bar-fill.player {
  background: linear-gradient(90deg, #059669, #10b981);
}

.hp-bar-fill.cpu {
  background: linear-gradient(90deg, #cc2900, #ff5533);
}

.hp-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  font-weight: bold;
  font-family: var(--font-retro);
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  width: 100%;
  text-align: center;
}

/* Canvas Wrapper with Overlays */
.canvas-wrapper {
  position: relative;
  flex: 1;
  background: #020205;
  border: 2px solid rgba(0, 255, 204, 0.15);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* responsive scale */
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Focus Indicator Overlay */
.focus-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 0, 127, 0.7);
  border: 1px solid var(--secondary-color);
  padding: 4px 8px;
  font-family: var(--font-title);
  font-size: 0.45rem;
  color: #ffffff;
  border-radius: 4px;
  animation: pulse-border 1.5s infinite alternate;
  pointer-events: none;
  display: none;
}

/* Turn Banner Overlay */
.turn-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 255, 204, 0.9);
  color: #000000;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 4px;
  border: 3px solid #ffffff;
  box-shadow: 0 0 15px rgba(0,255,204,0.5);
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease-out;
  display: none;
}

.turn-banner.cpu-banner {
  background: rgba(255, 0, 127, 0.9);
  box-shadow: 0 0 15px rgba(255,0,127,0.5);
  color: #ffffff;
}

@keyframes pulse-border {
  from { box-shadow: 0 0 2px var(--secondary-color); }
  to { box-shadow: 0 0 10px var(--secondary-color); }
}

/* Controls Panel */
.controls-panel {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 10px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.control-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* 1. Movement group */
.move-controls {
  flex-direction: row;
  align-items: center;
}

.control-btn {
  background: #1f2937;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: active 0.1s;
}

.control-btn:active {
  background: var(--primary-color);
  color: #000;
}

.square-btn {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-btn {
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
}

.fuel-indicator-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fuel-label {
  font-family: var(--font-title);
  font-size: 0.45rem;
  color: #7f8c8d;
  text-align: center;
}

.fuel-bar-container {
  height: 10px;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.fuel-bar-fill {
  height: 100%;
  background: #10b981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
  transition: width 0.1s linear;
}

/* 2. Angle and Weapon Select */
.aim-weapons-controls {
  align-items: center;
}

.angle-adjuster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.angle-display {
  font-family: var(--font-title);
  font-size: 0.58rem;
  color: #ffffff;
  min-width: 90px;
  text-align: center;
}

.angle-display span {
  font-family: var(--font-retro);
  font-size: 1.3rem;
  color: var(--primary-color);
}

.weapon-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.weapon-btn {
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.1s ease;
  position: relative;
  height: 44px;
  justify-content: center;
}

.weapon-btn.active {
  border-color: var(--primary-color);
  background: rgba(0, 255, 204, 0.12);
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

.w-icon {
  font-size: 1rem;
}

.w-qty {
  font-family: var(--font-retro);
  font-size: 0.8rem;
  color: #bdc3c7;
  margin-top: 1px;
}

.weapon-btn.active .w-qty {
  color: var(--primary-color);
}

/* 3. Firing Group */
.fire-controls {
  flex-direction: row;
  align-items: center;
}

.power-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.power-bar-container {
  height: 18px;
  background: #111;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.power-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #d97706);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
  width: 0%;
}

.power-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.power-markers span {
  font-size: 0.48rem;
  color: rgba(255,255,255,0.25);
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 2px;
  border-right: 1px dashed rgba(255,255,255,0.1);
}

.power-text {
  font-family: var(--font-title);
  font-size: 0.45rem;
  color: #7f8c8d;
}

.power-text span {
  font-family: var(--font-retro);
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.fire-btn {
  background: linear-gradient(135deg, #ff5e36, #ff0055);
  color: #ffffff;
  border: none;
  font-family: var(--font-title);
  font-size: 0.85rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(255, 0, 85, 0.3), inset 0 2px 2px rgba(255,255,255,0.2);
  transition: all 0.1s;
}

.fire-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(255, 0, 85, 0.3);
}

.pc-controls-hint {
  text-align: center;
  font-size: 0.65rem;
  color: #7f8c8d;
  margin-top: 6px;
}

/* Modals Overlay */
.modal-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.85);
  z-index: 100;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: rgba(20, 20, 30, 0.95);
  border: 2px solid var(--glass-border);
  border-radius: 8px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.modal-content h2 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-shadow: var(--hud-text-glow);
}

.pause-stats {
  background: rgba(0,0,0,0.4);
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  text-align: left;
}

.pause-stats p {
  font-size: 0.85rem;
  color: #b0c4de;
  margin-bottom: 8px;
}

.pause-stats p span {
  font-weight: bold;
  color: var(--primary-color);
  font-family: var(--font-retro);
  font-size: 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* Result Modal details */
.result-message {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.result-summary {
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.result-row strong {
  font-family: var(--font-retro);
  font-size: 1.3rem;
  color: #ffffff;
}

.highlight-row {
  border-top: 1px dashed rgba(255,255,255,0.1);
  padding-top: 10px;
  margin-bottom: 0;
}

.highlight-row span {
  color: var(--primary-color);
  font-weight: bold;
}

.highlight-row strong {
  font-size: 1.6rem;
  color: var(--primary-color);
  text-shadow: var(--hud-text-glow);
}

.highscore-flash {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--warning-color);
  margin-bottom: 15px;
  animation: flash 1s infinite alternate;
}

@keyframes flash {
  from { opacity: 0.3; text-shadow: 0 0 2px var(--warning-color); }
  to { opacity: 1; text-shadow: 0 0 10px var(--warning-color); }
}

/* Mobile responsive layout fixes */
@media (max-width: 768px) {
  .logo-area {
    margin-top: 10px;
  }
  .game-title {
    font-size: 2.2rem;
  }
  .stats-panel {
    gap: 8px;
    margin: 15px 0;
  }
  .record-value {
    font-size: 1.4rem;
  }
  .controls-panel {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 6px;
  }
  .control-group {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .move-controls {
    width: 100%;
  }
  .aim-weapons-controls {
    width: 100%;
    margin-top: 0;
  }
  .fire-controls {
    width: 100%;
  }
  .square-btn {
    width: 44px;
    height: 44px;
  }
  .weapon-btn {
    height: 38px;
  }
  .w-icon {
    font-size: 0.9rem;
  }
  .w-qty {
    font-size: 0.7rem;
  }
  .fire-btn {
    width: 50px;
    height: 50px;
  }
  .pc-controls-hint {
    display: none;
  }
  .game-hud {
    padding: 6px;
    height: 44px;
  }
  .wind-text {
    font-size: 1.1rem;
  }
  .score-display {
    font-size: 1rem;
  }
}
