diff --git a/index.html b/index.html index 0c59583..c79da7c 100644 --- a/index.html +++ b/index.html @@ -31,41 +31,107 @@ .ui { position: fixed; - top: 20px; - left: 20px; + bottom: 20px; + right: 20px; color: white; - font-size: 18px; + font-size: 16px; z-index: 10; - text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); + font-family: 'Courier New', monospace; } .weapon-info { - background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%); - padding: 15px 20px; - border-radius: 10px; - border: 2px solid rgba(255, 255, 255, 0.1); - box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); + background: rgba(64, 64, 64, 0.95); + padding: 12px 16px; + border-radius: 8px; + border: 3px solid #FFB000; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); + min-width: 280px; } .weapon-info div { - margin: 5px 0; + margin: 4px 0; font-weight: bold; } - .weapon-info span { - color: #00ff88; - text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); + .weapon-name { + color: #FFB000; + text-align: center; + font-size: 18px; + margin-bottom: 12px !important; + text-shadow: 0 0 10px rgba(255, 176, 0, 0.5); + } + + .stat-container { + position: relative; + margin: 0; + } + + .stat-label { + color: black; + font-size: 14px; + font-weight: bold; + position: absolute; + left: 6px; + top: 50%; + transform: translateY(-50%); + z-index: 5; + text-shadow: none; + } + + .health-bar { + width: 100%; + height: 24px; + background: #330000; + border: 2px solid #000; + border-radius: 4px; + position: relative; + overflow: hidden; + } + + .health-fill { + height: 100%; + background: linear-gradient(to bottom, #ff4444, #cc0000); + transition: width 0.3s ease; + border-radius: 2px; + } + + .ammo-bar { + width: 100%; + height: 24px; + background: #000033; + border: 2px solid #000; + border-radius: 4px; + position: relative; + overflow: hidden; + } + + .ammo-fill { + height: 100%; + background: linear-gradient(to bottom, #4488ff, #2266cc); + transition: width 0.3s ease; + border-radius: 2px; + } + + .ammo-infinite { + color: #4488ff; + font-size: 20px; + font-weight: bold; + text-align: center; + line-height: 24px; + text-shadow: 0 0 10px rgba(68, 136, 255, 0.8); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; } #score { - color: #ffaa00 !important; - text-shadow: 0 0 10px rgba(255, 170, 0, 0.5) !important; - } - - #health { - color: #ff4444 !important; - text-shadow: 0 0 10px rgba(255, 68, 68, 0.5) !important; + color: #FFB000; + text-align: center; + font-size: 16px; + text-shadow: 0 0 10px rgba(255, 176, 0, 0.5); } .game-over-screen { @@ -158,10 +224,24 @@