* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }
body { background: #000; font-family: 'Orbitron', sans-serif; overflow: hidden; touch-action: none; }
#game-container { position: relative; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; background: radial-gradient(ellipse at center, #041a0a 0%, #000 100%); }
canvas { display: block; max-width: 100%; max-height: 100%; }
#ui-layer { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; z-index: 10; pointer-events: none; }
#hud { position: absolute; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 14px 20px; gap: 10px; pointer-events: none; }
#hud span { font-size: 1rem; font-weight: 700; letter-spacing: 2px; color: #00ff88; text-shadow: 0 0 8px #00ff88; }
.screen { background: rgba(3, 16, 8, 0.92); backdrop-filter: blur(14px); border: 2px solid #00ff88; border-radius: 16px; padding: 3rem 2.5rem; text-align: center; display: none; flex-direction: column; gap: 18px; align-items: center; pointer-events: auto; box-shadow: 0 0 40px rgba(0,255,136,0.25), inset 0 0 20px rgba(0,255,136,0.05); }
.screen.active { display: flex; animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
@keyframes popIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
h1 { color: #00ff88; font-size: 2.8rem; text-shadow: 0 0 20px #00ff88; letter-spacing: 3px; }
.screen p { color: #ccc; font-size: 1.1rem; letter-spacing: 1px; }
button { background: transparent; border: 2px solid #00ff88; color: #00ff88; padding: 14px 40px; font-size: 1.3rem; font-family: 'Orbitron', sans-serif; font-weight: 700; cursor: pointer; border-radius: 6px; transition: all 0.25s ease; box-shadow: 0 0 12px rgba(0,255,136,0.3); }
button:hover { background: #00ff88; color: #000; box-shadow: 0 0 30px #00ff88; }
@media (max-width: 600px) { h1 { font-size: 2rem; } .screen { padding: 2rem 1.5rem; width: 92%; } #hud span { font-size: 0.75rem; }}