* { 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: #000; }
canvas { display: block; max-width: 100vmin; max-height: 100vmin; }
#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; }
#hud span { font-size: 1.2rem; font-weight: 700; letter-spacing: 2px; color: #ff003c; text-shadow: 0 0 10px #ff003c; }
.screen { background: rgba(20, 0, 5, 0.92); backdrop-filter: blur(14px); border: 2px solid #ff003c; 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 50px rgba(255,0,60,0.3); }
.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: #ff003c; font-size: 2.8rem; text-shadow: 0 0 20px #ff003c; letter-spacing: 3px; }
.screen p { color: #ccc; font-size: 1.05rem; letter-spacing: 1px; line-height: 1.7; }
button { background: transparent; border: 2px solid #ff003c; color: #ff003c; padding: 14px 40px; font-size: 1.4rem; font-family: 'Orbitron', sans-serif; font-weight: 700; cursor: pointer; border-radius: 6px; transition: all 0.25s; box-shadow: 0 0 12px rgba(255,0,60,0.3); margin-top: 8px; }
button:hover { background: #ff003c; color: #fff; box-shadow: 0 0 30px #ff003c; }
@media (max-width: 600px) { h1 { font-size: 2rem; } .screen { padding: 2rem 1.5rem; width: 92%; } }