:root{--crt-glow-intensity:.6}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{background-color:#000;width:100%;height:100%;overflow:hidden}body{justify-content:center;align-items:center;font-family:"Press Start 2P",cursive;display:flex}.game-container{flex-direction:column;justify-content:flex-start;align-items:center;width:100vw;height:100vh;padding-top:20px;display:flex}.canvas-wrapper{display:inline-block;position:relative}canvas{image-rendering:pixelated;image-rendering:crisp-edges;filter:brightness(1.08)contrast(1.08);will-change:transform;display:block;transform:translateZ(0)}canvas.modern-screen{filter:none}.scanlines{pointer-events:none;z-index:3;background:repeating-linear-gradient(0deg,#00000026 0 1px,#0000 1px 2px);width:100%;height:100%;position:absolute;top:0;left:0}.canvas-link{color:#0f0;text-shadow:0 0 4px #0f09;z-index:2;font-family:"Press Start 2P",cursive;font-size:12px;text-decoration:none;position:absolute;bottom:3px;right:10px}.canvas-link:hover{text-shadow:0 0 10px #00ff00e6}.control-bar{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.control-bar button{color:#0f0;cursor:pointer;text-transform:uppercase;text-shadow:0 0 4px #0f09;background:0 0;border:none;padding:12px 20px;font-family:"Press Start 2P",cursive;font-size:14px}.control-bar button:hover{text-shadow:0 0 10px #00ff00e6}.overlay{background:#000000d9;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.overlay-content{color:#fff;text-align:center;z-index:1;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:20px;font-family:"Press Start 2P",cursive;font-size:12px;display:flex}.overlay h1{text-transform:uppercase;letter-spacing:2px;text-shadow:0 0 6px rgba(255, 255, 255, var(--crt-glow-intensity));font-family:"Press Start 2P",cursive;font-size:28px;line-height:1.6}.overlay p{text-shadow:0 0 5px rgba(255, 255, 255, var(--crt-glow-intensity));font-family:"Press Start 2P",cursive;font-size:12px;line-height:2}.blink{animation:1s infinite blink}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.mobile-controls{z-index:100;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;justify-content:space-between;align-items:center;width:100%;max-width:500px;padding:0 20px;display:flex;position:fixed;bottom:30px;left:50%;transform:translate(-50%)}.mobile-controls-left-group{-webkit-user-select:none;user-select:none;gap:8px;margin-right:auto;display:flex}.mobile-controls>.scanlines{pointer-events:none;z-index:101;width:100%;height:100%;position:absolute;top:0;left:0}.mobile-btn{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;z-index:100;backface-visibility:hidden;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:none;padding:10px;position:relative;transform:translateZ(0)}.mobile-btn-icon{filter:drop-shadow(0 0 8px #0f09)drop-shadow(0 0 16px #0f06)drop-shadow(0 0 24px #0f03);-webkit-user-select:none;user-select:none;pointer-events:none;width:60px;height:60px}.mobile-btn:active .mobile-btn-icon{filter:drop-shadow(0 0 12px #0f0c)drop-shadow(0 0 24px #00ff0080)drop-shadow(0 0 36px #00ff004d)}.mobile-btn-fire .mobile-btn-icon{width:70px;height:70px}.resume-link{cursor:pointer;-webkit-tap-highlight-color:transparent;text-decoration:underline}@media (width<=640px){.overlay h1{font-size:20px}.overlay p{font-size:12px}.control-bar button{padding:8px 12px;font-size:10px}.mobile-controls{max-width:95%;padding:0 10px;bottom:20px}.mobile-controls-left-group{gap:6px}.mobile-btn-icon{width:50px;height:50px}.mobile-btn-fire .mobile-btn-icon{width:60px;height:60px}}
