<div class="cyber-container">
<header class="cyber-hud-header">
<div class="hud-left-panel">
<div class="cyber-symbol">SYS//99</div>
<div class="hud-status">
<span class="blinking-node"></span>
<span class="status-lbl">ONLINE : 99.8%</span>
</div>
</div>
<nav class="hud-nav-links">
<a href="#" class="hud-link active">OVERVIEW</a>
<a href="#" class="hud-link">MAINFRAME</a>
<a href="#" class="hud-link">DATA_VAULT</a>
<a href="#" class="hud-link">NETWORK</a>
</nav>
<div class="hud-right-panel">
<span class="hud-coords">SEC.04 // 127.0.0.1</span>
<button class="cyber-btn-cut">EXECUTE_RUN</button>
</div>
</header>
<div class="cyber-sub-bar">
<span>DEFENSE PROTOCOL: LEVEL 5 ACTIVE</span>
<span class="code-stream">[SYS_TICK: 0x88F9A]</span>
</div>
</div>
body {
margin: 0;
font-family: "Courier New", Courier, monospace;
background: #090a0f;
color: #00ffaa;
}
.cyber-container {
width: 100%;
padding: 16px 20px;
box-sizing: border-box;
}
.cyber-hud-header {
background: rgba(14, 21, 26, 0.95);
border: 1px solid #10a37a;
border-left: 5px solid #00ffaa;
padding: 12px 24px;
display: flex;
align-items: center;
justify-content: space-between;
clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
box-shadow: 0 0 25px rgba(0, 255, 170, 0.15), inset 0 0 15px rgba(16, 163, 122, 0.1);
}
.hud-left-panel {
display: flex;
align-items: center;
gap: 18px;
}
.cyber-symbol {
font-size: 1.1rem;
font-weight: 900;
letter-spacing: 0.15em;
background: #00ffaa;
color: #090a0f;
padding: 4px 10px;
}
.hud-status {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.78rem;
color: #88ffcc;
}
.blinking-node {
width: 8px;
height: 8px;
background: #00ffaa;
border-radius: 50%;
box-shadow: 0 0 10px #00ffaa;
animation: pulseNode 1s infinite alternate;
}
@keyframes pulseNode {
from { opacity: 0.3; transform: scale(0.8); }
to { opacity: 1; transform: scale(1.2); }
}
.hud-nav-links {
display: flex;
gap: 20px;
}
.hud-link {
color: #4d9980;
text-decoration: none;
font-size: 0.85rem;
font-weight: bold;
letter-spacing: 0.1em;
padding: 6px 12px;
transition: all 0.2s;
position: relative;
}
.hud-link:hover, .hud-link.active {
color: #00ffaa;
text-shadow: 0 0 8px rgba(0, 255, 170, 0.8);
}
.hud-link.active::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: #00ffaa;
box-shadow: 0 0 8px #00ffaa;
}
.hud-right-panel {
display: flex;
align-items: center;
gap: 16px;
}
.hud-coords {
font-size: 0.75rem;
color: #4d9980;
}
.cyber-btn-cut {
background: transparent;
border: 1px solid #00ffaa;
color: #00ffaa;
padding: 8px 16px;
font-family: inherit;
font-size: 0.8rem;
font-weight: bold;
letter-spacing: 0.1em;
cursor: pointer;
clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
transition: all 0.2s;
}
.cyber-btn-cut:hover {
background: #00ffaa;
color: #090a0f;
box-shadow: 0 0 15px rgba(0, 255, 170, 0.6);
}
.cyber-sub-bar {
display: flex;
justify-content: space-between;
padding: 8px 12px;
font-size: 0.7rem;
color: #4d9980;
border-bottom: 1px dashed rgba(0, 255, 170, 0.3);
}
@media (max-width: 768px) {
.hud-nav-links, .hud-coords { display: none; }
}
// HUD Ticker Update
setInterval(() => {
const tickEl = document.querySelector(".code-stream");
if (tickEl) {
const hex = Math.floor(Math.random() * 0xFFFFFF).toString(16).toUpperCase();
tickEl.textContent = `[SYS_TICK: 0x${hex}]`;
}
}, 1500);