* { box-sizing: border-box; margin: 0; padding: 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(5, 5, 15, 0.85); backdrop-filter: blur(12px); z-index: 10; transition: opacity 0.3s; }
.hidden { opacity: 0; pointer-events: none; }

h1 { font-size: 4rem; margin-bottom: 1rem; text-align: center; text-transform: uppercase; font-style: italic; font-weight: 900; color: #fff; text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 40px #00ffff; }
p { font-size: 1.2rem; margin-bottom: 2rem; text-align: center; max-width: 400px; color: #cbd5e1; line-height: 1.5; }

.ui-btn { padding: 15px 40px; font-size: 1.5rem; font-weight: bold; font-style: italic; color: #fff; background: linear-gradient(45deg, #ff00ff, #00ffff); border: none; border-radius: 4px; cursor: pointer; box-shadow: 0 0 20px rgba(255, 0, 255, 0.6); 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-card { background: rgba(10, 5, 20, 0.6); border: 1px solid rgba(0, 255, 255, 0.4); backdrop-filter: blur(8px); padding: 10px 20px; border-radius: 8px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.hud-card h2 { font-size: 0.8rem; color: #00ffff; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 1px; }
.hud-card .big { font-size: 1.5rem; font-weight: bold; color: #fff; text-shadow: 0 0 8px #ff00ff; }

#controls { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; z-index: 5; gap: 10px; }
.ctrl { flex: 1; padding: 20px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; color: #fff; background: rgba(255, 0, 255, 0.15); border: 2px solid #ff00ff; border-radius: 8px; backdrop-filter: blur(5px); transition: background 0.2s, transform 0.1s; cursor: pointer; }
.ctrl:active { background: rgba(255, 0, 255, 0.4); transform: scale(0.95); }

.badge { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #00ffff; border: 1px solid rgba(0, 255, 255, 0.5); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; background: rgba(0,255,255,0.1); }
.link-btn { margin-top: 18px; background: transparent; border: none; color: #94a3b8; font-size: 14px; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: #fff; }
