* { box-sizing: border-box; margin: 0; }
body { font-family: 'Inter', system-ui, sans-serif; overflow: hidden; background: #000; touch-action: none; color: #fff; }
#game-root { position: relative; width: 100vw; height: 100vh; }
canvas { display: block; width: 100%; height: 100%; }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(10, 15, 30, 0.85); backdrop-filter: blur(10px); z-index: 10; transition: opacity 0.3s; }
.hidden { opacity: 0; pointer-events: none; }

h1 { font-size: 3rem; margin-bottom: 1rem; text-transform: uppercase; background: linear-gradient(90deg, #ffaa00, #ff0055); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center;}
p { font-size: 1.1rem; margin-bottom: 2rem; text-align: center; max-width: 400px; color: #cbd5e1; line-height: 1.5; }

.ui-btn { padding: 14px 32px; font-size: 1.2rem; font-weight: bold; color: white; background: linear-gradient(45deg, #00d2ff, #3a7bd5); border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4); transition: transform 0.2s, filter 0.2s; text-transform: uppercase; }
.ui-btn:active { transform: scale(0.95); }
.ui-btn:hover { filter: brightness(1.2); }

#hud { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; z-index: 5; pointer-events: none; }
.hud-pill { background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); padding: 10px 20px; border-radius: 30px; font-weight: bold; border: 1px solid rgba(255,255,255,0.2); font-size: 1.2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
#funds { color: #4ade80; font-size: 1.4rem; }
