* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
body { font-family: 'Bungee', cursive; overflow: hidden; background: #87CEEB; 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(0, 50, 100, 0.7); backdrop-filter: blur(5px); z-index: 10; transition: opacity 0.3s; }
.hidden { opacity: 0; pointer-events: none; }

h1 { font-size: 4rem; margin-bottom: 1rem; text-align: center; color: #fff; text-shadow: 4px 4px 0px #000; letter-spacing: 2px; }
p { font-size: 1.2rem; margin-bottom: 2.5rem; text-align: center; max-width: 400px; color: #fff; line-height: 1.6; text-shadow: 2px 2px 0px #000; font-family: sans-serif; font-weight: bold; }

.ui-btn { font-family: 'Bungee', cursive; padding: 15px 50px; font-size: 2rem; color: #fff; background: #ff4757; border: 4px solid #fff; border-radius: 8px; cursor: pointer; box-shadow: 0 8px 0px #c0392b; transition: transform 0.1s; letter-spacing: 2px; }
.ui-btn:active { transform: translateY(8px); box-shadow: 0 0px 0px #c0392b; }

#hud { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: center; z-index: 5; pointer-events: none; }
.hud-card { background: rgba(255, 255, 255, 0.2); padding: 10px 30px; border-radius: 50px; border: 4px solid #fff; text-align: center; font-size: 1.5rem; color: #fff; text-shadow: 2px 2px 0px #000; box-shadow: 0 4px 0px rgba(0,0,0,0.2); backdrop-filter: blur(5px); }
.hud-card strong { color: #ffeb3b; margin-left: 10px; font-size: 2rem; }
