* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; -webkit-user-select: none; touch-action: none; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body, html { width: 100%; height: 100%; overflow: hidden; background: #111; } #game-container { position: relative; width: 100vw; height: 100vh; background: radial-gradient(circle at center, #3a2212 0%, #170d06 100%); overflow: hidden; } #gameCanvas { width: 100%; height: 100%; display: block; cursor: crosshair; } #ui-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } #ui-overlay * { pointer-events: auto; } .top-bar { position: absolute; top: 15px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 10; } .score-container { color: #f5b041; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); font-weight: bold; } .score-label { font-size: 14px; letter-spacing: 2px; color: #d5d8dc; } #score { font-size: 42px; line-height: 1; margin: 4px 0; font-weight: 900; background: linear-gradient(#ffe066, #f39c12); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .best-score { font-size: 14px; color: #a6acaf; } .lives-container { display: flex; gap: 8px; font-size: 24px; } .life-x { opacity: 0.2; transition: all 0.3s ease; } .life-x.active { opacity: 1; transform: scale(1.1); text-shadow: 0 0 8px #e74c3c; } .screen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px); color: #fff; z-index: 20; transition: opacity 0.3s ease; } .screen.hidden { opacity: 0; pointer-events: none; } .game-title { font-size: 56px; font-weight: 900; letter-spacing: 4px; background: linear-gradient(#ff7675, #d63031); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 4px 15px rgba(214, 48, 49, 0.4); margin-bottom: 5px; } .subtitle { font-size: 16px; color: #b2bec3; margin-bottom: 30px; letter-spacing: 1px; } .blade-select { margin-bottom: 25px; text-align: center; font-size: 14px; color: #dfe6e9; } .blade-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 8px 14px; margin: 5px 3px; border-radius: 20px; cursor: pointer; transition: all 0.2s; font-size: 13px; } .blade-btn:hover { background: rgba(255, 255, 255, 0.25); } .blade-btn.active { background: #fdcb6e; color: #2d3436; font-weight: bold; border-color: #ffeaa7; box-shadow: 0 0 10px rgba(253, 203, 110, 0.5); } .btn { background: linear-gradient(135deg, #00b894, #00bece); border: none; color: white; padding: 14px 40px; font-size: 20px; font-weight: bold; border-radius: 30px; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4); transition: transform 0.2s, box-shadow 0.2s; } .btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 25px rgba(0, 184, 148, 0.6); } .instructions { margin-top: 30px; font-size: 13px; color: #a4b0be; line-height: 1.8; text-align: left; background: rgba(0, 0, 0, 0.3); padding: 15px 25px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); } .over-title { font-size: 48px; color: #ff7675; margin-bottom: 20px; font-weight: 900; } .final-score-box { font-size: 20px; margin-bottom: 30px; text-align: center; line-height: 2; } .final-score-box span { color: #fdcb6e; font-weight: bold; font-size: 24px; }