* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; user-select: none; }
body { background: #1a1a1a; 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: 900px; background: radial-gradient(circle at center, #2c3e50, #000); box-shadow: 0 0 50px rgba(0, 0, 0, 0.8); overflow: hidden; }
@media (min-width: 601px) { #game-container { height: 90vh; border-radius: 20px; border: 2px solid #555; } }
canvas { display: block; width: 100%; height: 100%; }
#ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: flex; flex-direction: column; }
#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.5); padding: 5px 15px; border-radius: 20px; border: 1px solid #e74c3c; box-shadow: 0 0 10px rgba(231, 76, 60, 0.3); color: #ecf0f1; }
.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.85); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: 0.4s; pointer-events: auto; z-index: 20; }
.screen.active { opacity: 1; visibility: visible; }
.logo { text-align: center; margin-bottom: 40px; }
.ninja-text { font-size: 4rem; font-weight: 900; background: linear-gradient(to bottom, #ecf0f1, #bdc3c7, #7f8c8d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)); line-height: 1; letter-spacing: 2px; }
.sub-text { font-size: 2rem; font-weight: bold; color: #e74c3c; letter-spacing: 5px; text-shadow: 0 0 10px #c0392b; }
.premium-btn { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; border: none; padding: 15px 40px; font-size: 1.5rem; font-weight: bold; border-radius: 30px; cursor: pointer; box-shadow: 0 10px 20px rgba(192, 57, 43, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.4); text-transform: uppercase; transition: transform 0.1s; pointer-events: auto; }
.premium-btn:active { transform: scale(0.95); }
.instructions { margin-top: 30px; text-align: center; color: #aaa; font-size: 1rem; line-height: 1.5; pointer-events: none;}
h2 { font-size: 3rem; color: #e74c3c; text-shadow: 0 0 20px rgba(231, 76, 60, 0.6); margin-bottom: 20px; }
.stats { font-size: 1.5rem; margin-bottom: 30px; color: #ecf0f1; }
