TFIGwar: Project OMEGA

TFIGwar

PROJECT OMEGA
INITIALIZING SYSTEMS...
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap'); body { margin: 0; overflow: hidden; background: #000; font-family: 'Rajdhani', sans-serif; user-select: none; } canvas { display: block; } /* --- LOADER --- */ #loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #1a2530, #000); display: flex; justify-content: center; align-items: center; z-index: 100; transition: opacity 1s; } .loader-content { text-align: center; color: white; width: 400px; } h1 { font-size: 80px; margin: 0; letter-spacing: 10px; color: #f39c12; text-shadow: 0 0 20px #f39c12; } .subtitle { font-size: 24px; letter-spacing: 5px; color: #7f8c8d; margin-bottom: 40px; } .progress-bar { width: 100%; height: 4px; background: #333; margin-bottom: 10px; position: relative; } .fill { width: 0%; height: 100%; background: #f39c12; transition: width 0.2s; box-shadow: 0 0 10px #f39c12; } .status { font-family: monospace; color: #f39c12; font-size: 14px; } #start-btn { margin-top: 20px; padding: 15px 40px; background: transparent; border: 2px solid #f39c12; color: #f39c12; font-size: 20px; font-weight: bold; cursor: pointer; letter-spacing: 2px; transition: 0.3s; text-transform: uppercase; } #start-btn:hover { background: #f39c12; color: black; box-shadow: 0 0 30px #f39c12; } /* --- HUD --- */ .hidden { opacity: 0; pointer-events: none; } #hud { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .top-panel { display: flex; justify-content: center; padding-top: 20px; gap: 20px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); height: 100px; } .score-box { padding: 10px 20px; display: flex; flex-direction: column; align-items: center; border-bottom: 3px solid; width: 120px; } .score-box.blue { border-color: #3498db; color: #3498db; } .score-box.red { border-color: #e74c3c; color: #e74c3c; } .score-box .label { font-size: 12px; opacity: 0.8; } .score-box .value { font-size: 32px; font-weight: bold; } .timer { font-size: 24px; color: white; padding-top: 10px; font-family: monospace; } #reticle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; } #reticle .circle { width: 100%; height: 100%; border: 2px solid rgba(0, 255, 0, 0.6); border-radius: 50%; box-shadow: 0 0 10px rgba(0,255,0,0.3); } #reticle .dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #e74c3c; border-radius: 50%; } .side-panel { position: absolute; bottom: 20px; width: 250px; padding: 20px; background: rgba(0, 10, 20, 0.7); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); } .left { left: 20px; border-left: 4px solid #f39c12; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 20px); } .right { right: 20px; border-right: 4px solid #3498db; text-align: right; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 100% 80%); } .hud-row { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; } .hud-label { color: #95a5a6; font-size: 14px; font-weight: bold; letter-spacing: 1px; } .hud-val { color: white; font-size: 18px; font-family: monospace; font-weight: bold; } .hud-val.large { font-size: 24px; color: #f39c12; } .unit { color: #7f8c8d; font-size: 14px; margin-left: 5px; } .bar-container { width: 100px; height: 6px; background: #333; margin: 0 10px; } .bar-fill { height: 100%; width: 100%; background: #f39c12; transition: width 0.1s; box-shadow: 0 0 5px #f39c12; } .bar-container.hp { width: 100%; margin: 0; margin-top: 5px; } .bar-fill.hp { background: #2ecc71; box-shadow: 0 0 5px #2ecc71; } #radar-canvas { background: rgba(0, 20, 0, 0.9); border: 1px solid #2ecc71; border-radius: 4px; margin-top: 10px; width: 100% !important; height: auto !important; } #message-area { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; text-shadow: 0 2px 4px black; } .kill-msg { color: #e74c3c; font-size: 24px; font-weight: bold; animation: fadeUp 2s forwards; margin-bottom: 5px; } @keyframes fadeUp { 0% { opacity: 0; transform: translateY(20px); } 20% { opacity: 1; transform: translateY(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } } #damage-vignette { position: absolute; top:0; left:0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 50%, rgba(255,0,0,0.6) 100%); opacity: 0; transition: opacity 0.2s; pointer-events: none; } #gameover { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.9); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 50; color: white; } #gameover button { padding: 15px 50px; background: #fff; border: none; font-size: 20px; font-weight: bold; cursor: pointer; margin-top: 20px; } @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap'); body { margin: 0; overflow: hidden; background: #000; font-family: 'Rajdhani', sans-serif; user-select: none; } canvas { display: block; } /* --- LOADER --- */ #loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #1a2530, #000); display: flex; justify-content: center; align-items: center; z-index: 100; transition: opacity 1s; } .loader-content { text-align: center; color: white; width: 400px; } h1 { font-size: 80px; margin: 0; letter-spacing: 10px; color: #f39c12; text-shadow: 0 0 20px #f39c12; } .subtitle { font-size: 24px; letter-spacing: 5px; color: #7f8c8d; margin-bottom: 40px; } .progress-bar { width: 100%; height: 4px; background: #333; margin-bottom: 10px; position: relative; } .fill { width: 0%; height: 100%; background: #f39c12; transition: width 0.2s; box-shadow: 0 0 10px #f39c12; } .status { font-family: monospace; color: #f39c12; font-size: 14px; } #start-btn { margin-top: 20px; padding: 15px 40px; background: transparent; border: 2px solid #f39c12; color: #f39c12; font-size: 20px; font-weight: bold; cursor: pointer; letter-spacing: 2px; transition: 0.3s; text-transform: uppercase; } #start-btn:hover { background: #f39c12; color: black; box-shadow: 0 0 30px #f39c12; } /* --- HUD --- */ .hidden { opacity: 0; pointer-events: none; } #hud { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .top-panel { display: flex; justify-content: center; padding-top: 20px; gap: 20px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); height: 100px; } .score-box { padding: 10px 20px; display: flex; flex-direction: column; align-items: center; border-bottom: 3px solid; width: 120px; } .score-box.blue { border-color: #3498db; color: #3498db; } .score-box.red { border-color: #e74c3c; color: #e74c3c; } .score-box .label { font-size: 12px; opacity: 0.8; } .score-box .value { font-size: 32px; font-weight: bold; } .timer { font-size: 24px; color: white; padding-top: 10px; font-family: monospace; } #reticle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; } #reticle .circle { width: 100%; height: 100%; border: 2px solid rgba(0, 255, 0, 0.6); border-radius: 50%; box-shadow: 0 0 10px rgba(0,255,0,0.3); } #reticle .dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #e74c3c; border-radius: 50%; } .side-panel { position: absolute; bottom: 20px; width: 250px; padding: 20px; background: rgba(0, 10, 20, 0.7); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); } .left { left: 20px; border-left: 4px solid #f39c12; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 20px); } .right { right: 20px; border-right: 4px solid #3498db; text-align: right; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 100% 80%); } .hud-row { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; } .hud-label { color: #95a5a6; font-size: 14px; font-weight: bold; letter-spacing: 1px; } .hud-val { color: white; font-size: 18px; font-family: monospace; font-weight: bold; } .hud-val.large { font-size: 24px; color: #f39c12; } .unit { color: #7f8c8d; font-size: 14px; margin-left: 5px; } .bar-container { width: 100px; height: 6px; background: #333; margin: 0 10px; } .bar-fill { height: 100%; width: 100%; background: #f39c12; transition: width 0.1s; box-shadow: 0 0 5px #f39c12; } .bar-container.hp { width: 100%; margin: 0; margin-top: 5px; } .bar-fill.hp { background: #2ecc71; box-shadow: 0 0 5px #2ecc71; } #radar-canvas { background: rgba(0, 20, 0, 0.9); border: 1px solid #2ecc71; border-radius: 4px; margin-top: 10px; width: 100% !important; height: auto !important; } #message-area { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; text-shadow: 0 2px 4px black; } .kill-msg { color: #e74c3c; font-size: 24px; font-weight: bold; animation: fadeUp 2s forwards; margin-bottom: 5px; } @keyframes fadeUp { 0% { opacity: 0; transform: translateY(20px); } 20% { opacity: 1; transform: translateY(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } } #damage-vignette { position: absolute; top:0; left:0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 50%, rgba(255,0,0,0.6) 100%); opacity: 0; transition: opacity 0.2s; pointer-events: none; } #gameover { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.9); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 50; color: white; } #gameover button { padding: 15px 50px; background: #fff; border: none; font-size: 20px; font-weight: bold; cursor: pointer; margin-top: 20px; }