* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; user-select: none; }
body { background: #000; color: #fff; overflow: hidden; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; }
#game-container { position: relative; width: 100%; height: 100%; max-width: 600px; max-height: 800px; background: #050505; box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); overflow: hidden; }
@media (min-width: 601px) { #game-container { height: 90vh; border-radius: 20px; border: 1px solid #222; } }
canvas { display: block; width: 100%; height: 100%; z-index: 1;}
#ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: flex; flex-direction: column; z-index: 10;}
#hud { display: flex; justify-content: space-between; padding: 20px; font-size: 1.2rem; font-weight: bold; text-shadow: 0 2px 4px #000; z-index: 10; opacity: 0; transition: opacity 0.3s; }
#hud.visible { opacity: 1; }
.hud-item { background: rgba(0, 0, 0, 0.8); padding: 5px 15px; border-radius: 20px; border: 1px solid #444; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); color: #fff; }
.screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: 0.6s; pointer-events: auto; z-index: 20; }
.screen.active { opacity: 1; visibility: visible; }
.logo { text-align: center; margin-bottom: 40px; }
.shadow-text { font-size: 4rem; font-weight: 900; background: linear-gradient(to bottom, #444, #000); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); line-height: 1; letter-spacing: 5px; }
.sub-text { font-size: 2rem; font-weight: bold; color: #fff; letter-spacing: 10px; text-shadow: 0 0 20px #fff; }
.premium-btn { background: #fff; color: #000; border: none; padding: 15px 40px; font-size: 1.5rem; font-weight: bold; border-radius: 30px; cursor: pointer; box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); text-transform: uppercase; transition: transform 0.1s, box-shadow 0.3s; pointer-events: auto; }
.premium-btn:hover { box-shadow: 0 0 50px rgba(255, 255, 255, 0.8); }
.premium-btn:active { transform: scale(0.95); }
.instructions { margin-top: 30px; text-align: center; color: #666; font-size: 1rem; line-height: 1.5; pointer-events: none;}
h2 { font-size: 3rem; color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); margin-bottom: 20px; }
.stats { font-size: 1.5rem; margin-bottom: 30px; color: #aaa; }
