* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Cinzel', serif; overflow: hidden; background: #1a1a1d; touch-action: none; color: #e2e8f0; }
#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, 10, 15, 0.85); backdrop-filter: blur(8px); z-index: 10; transition: opacity 0.3s; }
.hidden { opacity: 0; pointer-events: none; }

h1 { font-size: 3.5rem; margin-bottom: 1rem; text-align: center; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); letter-spacing: 4px; }
p { font-size: 1.2rem; margin-bottom: 2.5rem; text-align: center; max-width: 450px; color: #cbd5e1; line-height: 1.6; }

.ui-btn { font-family: 'Cinzel', serif; padding: 15px 45px; font-size: 1.4rem; font-weight: bold; color: #1a1a1d; background: linear-gradient(180deg, #ffd700, #b8860b); border: 2px solid #fff; border-radius: 4px; cursor: pointer; box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3); transition: transform 0.1s, filter 0.2s; text-transform: uppercase; letter-spacing: 2px; }
.ui-btn:active { transform: translateY(4px); box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3); }
.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.6); backdrop-filter: blur(4px); padding: 12px 24px; border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 4px; font-weight: bold; font-size: 1.2rem; color: #ffd700; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
