jaeswift-website/css/style.css
jae 139849d632 feat: dropdown nav with submenus + black ops colour theme redesign
- Navigation: 6 top-level items (BASE, TRANSMISSIONS, ARMOURY, INTEL, SAFEHOUSE, COMMS) with dropdown children
- nav.js: renders nested dropdown submenus, mobile tap-to-toggle support
- Theme: tactical green (#00ff41) accent, deep black (#0a0a0a) bg, amber (#c9a227) secondary
- 176 colour replacements across 4 CSS + 3 JS files
- Mobile: responsive dropdowns with slide animation
- Updated navigation.json with full nested structure
2026-04-01 03:16:34 +00:00

1769 lines
36 KiB
CSS

/* ===================================================
JAESWIFT.XYZ — Sci-Fi Dashboard Theme
Palette: #0a0a0a (bg), #00ff41 (accent-green), #c9a227 (accent-amber), #161616 (panels) — BLACK OPS THEME
=================================================== */
/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--bg-primary: #0a0a0a;
--bg-secondary: #111111;
--bg-panel: #161616;
--bg-panel-hover: #1e1e1e;
--accent: #00ff41;
--accent-dim: #00ff4140;
--accent-glow: #00ff4180;
--accent-subtle: #00ff4115;
--text-primary: #c0c0c0;
--text-secondary: #707070;
--text-muted: #3a3a3a;
--border: #2a2a2a;
--border-accent: #00ff4130;
--danger: #ff2d2d;
--warning: #c9a227;
--font-mono: 'JetBrains Mono', 'Share Tech Mono', 'Courier New', monospace;
--font-display: 'Orbitron', sans-serif;
--nav-height: 60px;
}
html {
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: var(--accent-dim) var(--bg-primary);
}
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
html::-webkit-scrollbar-thumb:hover { background: var(--accent); }
body {
font-family: var(--font-mono);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #fff; text-shadow: 0 0 10px var(--accent-glow); }
.accent { color: var(--accent); }
/* --- Scanline Overlay --- */
.scanline-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: 9999;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 255, 65, 0.008) 2px,
rgba(0, 255, 65, 0.008) 4px
);
}
/* --- Grid Background --- */
.grid-bg {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: -2;
background-image:
linear-gradient(var(--accent-subtle) 1px, transparent 1px),
linear-gradient(90deg, var(--accent-subtle) 1px, transparent 1px);
background-size: 60px 60px;
opacity: 0.3;
}
/* --- Particle Canvas --- */
#particles {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: -1;
}
/* === NAVIGATION === */
.nav-main {
position: fixed;
top: 0; left: 0;
width: 100%;
height: var(--nav-height);
background: rgba(10, 10, 10, 0.92);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
z-index: 1000;
transition: all 0.3s ease;
}
.nav-main.scrolled {
background: rgba(10, 10, 10, 0.98);
border-bottom-color: var(--accent-dim);
box-shadow: 0 4px 30px rgba(0, 255, 65, 0.05);
}
.nav-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
display: flex;
align-items: center;
gap: 0.15rem;
font-family: var(--font-display);
font-size: 0.9rem;
font-weight: 700;
color: var(--text-primary);
letter-spacing: 2px;
text-decoration: none;
}
.nav-logo:hover { color: var(--text-primary); text-shadow: none; }
.logo-bracket { color: var(--accent); font-weight: 300; }
.logo-accent { color: var(--accent); }
.logo-status {
font-size: 0.55rem;
color: var(--accent);
margin-left: 0.75rem;
animation: pulse-status 2s ease-in-out infinite;
}
@keyframes pulse-status {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* Nav Menu */
.nav-menu {
display: flex;
list-style: none;
gap: 0;
align-items: center;
}
.nav-item {
position: relative;
}
.nav-link {
display: block;
padding: 0 1.25rem;
height: var(--nav-height);
line-height: var(--nav-height);
font-family: var(--font-display);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 2px;
color: var(--text-secondary);
transition: all 0.3s ease;
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0; left: 50%;
transform: translateX(-50%);
width: 0;
height: 2px;
background: var(--accent);
transition: width 0.3s ease;
box-shadow: 0 0 10px var(--accent-glow);
}
.nav-link:hover, .nav-link.active {
color: var(--accent);
text-shadow: 0 0 15px var(--accent-glow);
}
.nav-link:hover::after, .nav-link.active::after {
width: 100%;
}
/* Dropdown */
.dropdown {
position: absolute;
top: 100%;
left: 0;
min-width: 200px;
background: rgba(14, 14, 14, 0.98);
border: 1px solid var(--border);
border-top: 2px solid var(--accent);
list-style: none;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
backdrop-filter: blur(20px);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-item:hover > .dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown li a {
display: block;
padding: 0.75rem 1.25rem;
font-size: 0.7rem;
font-family: var(--font-mono);
color: var(--text-secondary);
letter-spacing: 1px;
border-bottom: 1px solid var(--border);
transition: all 0.2s ease;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
background: var(--accent-subtle);
color: var(--accent);
padding-left: 1.5rem;
text-shadow: 0 0 10px var(--accent-glow);
}
.dropdown li a::before {
content: '> ';
opacity: 0;
transition: opacity 0.2s ease;
}
.dropdown li a.active {
color: var(--accent);
background: var(--accent-subtle);
}
/* Dropdown Arrow */
.dropdown-arrow {
font-size: 0.55rem;
margin-left: 0.35rem;
opacity: 0.5;
transition: transform 0.3s ease, opacity 0.3s ease;
display: inline-block;
}
.nav-item:hover > .nav-link .dropdown-arrow,
.nav-item.dropdown-open > .nav-link .dropdown-arrow {
opacity: 1;
transform: rotate(180deg);
}
.dropdown li a:hover::before { opacity: 1; }
/* Nav Status */
.nav-status {
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.65rem;
color: var(--text-secondary);
}
.nav-time {
font-family: var(--font-mono);
color: var(--accent);
letter-spacing: 2px;
}
.nav-signal {
color: var(--accent);
letter-spacing: 1px;
font-size: 0.55rem;
}
/* Mobile Toggle */
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 5px;
}
.nav-toggle span {
display: block;
width: 24px;
height: 2px;
background: var(--accent);
transition: all 0.3s ease;
}
/* === HERO SECTION === */
/* ============================
HERO HUD GRID LAYOUT
============================ */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: calc(var(--nav-height) + 40px + 2rem) 2rem 2rem;
position: relative;
}
.hero-hud-grid {
width: 100%;
max-width: 1200px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
gap: 1.5rem;
animation: fadeIn 1s ease both;
}
.hud-col-left,
.hud-col-right {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
/* ============================
PANELS (shared)
============================ */
.panel {
border: 1px solid var(--border);
background: rgba(16, 16, 16, 0.6);
position: relative;
overflow: hidden;
}
.panel::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 20px; height: 20px;
border-top: 2px solid var(--accent);
border-left: 2px solid var(--accent);
pointer-events: none;
}
.panel::after {
content: '';
position: absolute;
bottom: 0; right: 0;
width: 20px; height: 20px;
border-bottom: 2px solid var(--accent);
border-right: 2px solid var(--accent);
pointer-events: none;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--border);
background: rgba(0, 255, 65, 0.02);
}
.panel-title {
font-family: var(--font-mono);
font-size: 0.6rem;
letter-spacing: 3px;
color: var(--text-secondary);
text-transform: uppercase;
}
.panel-icon {
color: var(--accent);
font-size: 0.8rem;
}
.panel-pct {
font-family: var(--font-mono);
font-size: 0.7rem;
color: var(--accent);
text-shadow: 0 0 10px var(--accent-glow);
}
.panel-status-dot {
font-family: var(--font-mono);
font-size: 0.55rem;
letter-spacing: 1px;
}
.status-green { color: var(--accent); }
.panel-content {
padding: 1rem;
}
/* ============================
MAP PANEL
============================ */
.map-panel {
flex: 1;
min-height: 320px;
}
.map-content {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.uk-map-svg {
width: 100%;
max-width: 220px;
height: auto;
}
/* Pulse rings */
.pulse-ring {
animation: pulseRing 3s ease-out infinite;
transform-origin: center;
}
.pulse-ring-1 { animation-delay: 0s; }
.pulse-ring-2 { animation-delay: 1s; }
.pulse-ring-3 { animation-delay: 2s; }
@keyframes pulseRing {
0% { opacity: 0.8; r: 8; }
100% { opacity: 0; r: 35; }
}
/* Map scan line */
.map-scan-line {
animation: mapScan 4s linear infinite;
}
@keyframes mapScan {
0% { transform: translateY(0); opacity: 0.4; }
50% { opacity: 0.8; }
100% { transform: translateY(400px); opacity: 0.2; }
}
.map-data-overlay {
position: absolute;
bottom: 0.5rem;
left: 1rem;
right: 1rem;
display: flex;
justify-content: space-around;
gap: 0.5rem;
}
.map-coord-block {
text-align: center;
}
.coord-label {
display: block;
font-family: var(--font-mono);
font-size: 0.5rem;
letter-spacing: 2px;
color: var(--text-secondary);
}
.coord-value {
display: block;
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--accent);
text-shadow: 0 0 8px var(--accent-glow);
}
/* ============================
IDENTITY BLOCK
============================ */
.hud-identity {
text-align: center;
padding: 1.5rem;
}
.hero-label {
font-family: var(--font-mono);
font-size: 0.65rem;
letter-spacing: 4px;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 900;
letter-spacing: 8px;
margin-bottom: 1rem;
}
.glitch {
position: relative;
color: var(--text-primary);
display: inline-block;
}
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
opacity: 0;
}
.glitch::before {
color: var(--accent);
animation: glitch-1 4s infinite linear;
}
.glitch::after {
color: var(--danger);
animation: glitch-2 4s infinite linear;
}
@keyframes glitch-1 {
0%, 90%, 100% { opacity: 0; transform: none; }
91% { opacity: 0.8; transform: translate(-2px, -1px); clip-path: inset(20% 0 60% 0); }
93% { opacity: 0.8; transform: translate(2px, 1px); clip-path: inset(50% 0 10% 0); }
95% { opacity: 0; }
}
@keyframes glitch-2 {
0%, 92%, 100% { opacity: 0; transform: none; }
95% { opacity: 0.6; transform: translate(-1px, -2px); clip-path: inset(40% 0 20% 0); }
97% { opacity: 0; }
}
.hero-subtitle {
font-family: var(--font-mono);
font-size: 0.9rem;
color: var(--accent);
}
.typing-prefix { color: var(--text-secondary); }
.typing-cursor {
animation: blink-cursor 0.8s step-end infinite;
color: var(--accent);
}
@keyframes blink-cursor {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* ============================
SERVER METRICS PANEL
============================ */
.metric-label {
font-family: var(--font-mono);
font-size: 0.55rem;
letter-spacing: 2px;
color: var(--text-secondary);
}
.metric-bar {
height: 6px;
background: rgba(0, 255, 65, 0.08);
border: 1px solid rgba(0, 255, 65, 0.15);
position: relative;
overflow: hidden;
}
.metric-fill {
height: 100%;
background: linear-gradient(90deg, var(--accent), rgba(0, 255, 65, 0.4));
box-shadow: 0 0 8px var(--accent-glow);
transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.metric-fill::after {
content: '';
position: absolute;
right: 0; top: 0;
width: 2px; height: 100%;
background: #fff;
box-shadow: 0 0 6px var(--accent);
}
.metric-val {
font-family: var(--font-mono);
font-size: 0.65rem;
color: var(--accent);
text-align: right;
text-shadow: 0 0 6px var(--accent-glow);
}
/* ============================
POWER + CONTAINERS ROW
============================ */
.hud-row-panels {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
padding: 0;
border: none;
background: none;
}
.hud-row-panels::before,
.hud-row-panels::after { display: none; }
.hud-mini-panel {
border: 1px solid var(--border);
background: rgba(16, 16, 16, 0.6);
position: relative;
}
.hud-mini-panel:first-child { margin-right: -0.5px; }
.hud-mini-panel:last-child { margin-left: -0.5px; }
.hud-mini-panel::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 12px; height: 12px;
border-top: 2px solid var(--accent);
border-left: 2px solid var(--accent);
pointer-events: none;
}
.hud-mini-panel::after {
content: '';
position: absolute;
bottom: 0; right: 0;
width: 12px; height: 12px;
border-bottom: 2px solid var(--accent);
border-right: 2px solid var(--accent);
pointer-events: none;
}
.power-display {
text-align: center;
padding: 0.75rem;
}
.power-big {
font-family: var(--font-display);
font-size: 2.5rem;
font-weight: 900;
color: var(--accent);
text-shadow: 0 0 20px var(--accent-glow);
line-height: 1;
}
.power-unit {
font-size: 1rem;
opacity: 0.6;
}
.containers-display {
text-align: center;
padding: 0.5rem;
}
.container-count {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.container-count span {
color: var(--accent);
}
.container-total {
color: var(--text-secondary) !important;
}
.container-bar {
height: 4px;
background: rgba(0, 255, 65, 0.08);
border: 1px solid rgba(0, 255, 65, 0.1);
margin-bottom: 0.4rem;
}
.container-fill {
height: 100%;
width: 100%;
background: var(--accent);
box-shadow: 0 0 6px var(--accent-glow);
}
.container-label {
font-family: var(--font-mono);
font-size: 0.5rem;
letter-spacing: 2px;
color: var(--accent);
opacity: 0.7;
}
/* ============================
NETWORK GRAPH PANEL
============================ */
.graph-container {
padding: 0.75rem;
}
#networkGraph {
width: 100%;
height: 100px;
display: block;
border-bottom: 1px solid var(--border);
margin-bottom: 0.75rem;
}
.graph-stats {
display: flex;
justify-content: space-between;
gap: 0.5rem;
}
.graph-stat {
text-align: center;
flex: 1;
}
.graph-stat-label {
display: block;
font-family: var(--font-mono);
font-size: 0.5rem;
letter-spacing: 2px;
color: var(--text-secondary);
margin-bottom: 0.25rem;
}
.graph-stat-value {
display: block;
font-family: var(--font-mono);
font-size: 0.7rem;
color: var(--accent);
text-shadow: 0 0 6px var(--accent-glow);
}
/* ============================
BOTTOM STATUS BAR
============================ */
.hud-bottom-bar {
position: fixed;
top: var(--nav-height);
left: 0;
right: 0;
z-index: 999;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.6rem 1.5rem;
border-bottom: 1px solid var(--border);
background: rgba(16, 16, 16, 0.95);
backdrop-filter: blur(10px);
gap: 1rem;
}
.hud-bottom-left {
display: flex;
align-items: center;
gap: 0.75rem;
}
.hud-id {
font-family: var(--font-display);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 2px;
color: var(--text-primary);
}
.hud-dot-online {
font-family: var(--font-mono);
font-size: 0.55rem;
color: var(--accent);
letter-spacing: 1px;
}
.hud-bottom-stats {
display: flex;
gap: 2rem;
}
.hud-bstat {
text-align: center;
}
.hud-bstat-label {
display: block;
font-family: var(--font-mono);
font-size: 0.45rem;
letter-spacing: 2px;
color: var(--text-secondary);
margin-bottom: 0.15rem;
}
.hud-bstat-value {
font-family: var(--font-mono);
font-size: 0.6rem;
color: var(--text-primary);
letter-spacing: 1px;
}
.hud-online { color: var(--accent); }
.hud-bottom-right {
display: flex;
align-items: center;
gap: 0.5rem;
}
.hud-scan-label {
font-family: var(--font-mono);
font-size: 0.5rem;
letter-spacing: 2px;
color: var(--text-secondary);
animation: scanPulse 2s ease infinite;
}
@keyframes scanPulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.hud-scan-bar {
width: 60px;
height: 4px;
background: rgba(0, 255, 65, 0.08);
border: 1px solid rgba(0, 255, 65, 0.15);
overflow: hidden;
}
.hud-scan-fill {
height: 100%;
width: 0%;
background: var(--accent);
box-shadow: 0 0 6px var(--accent-glow);
transition: width 0.3s linear;
}
.hud-scan-pct {
font-family: var(--font-mono);
font-size: 0.55rem;
color: var(--accent);
min-width: 28px;
}
/* Scan Line Animation */
.scan-line {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
opacity: 0.6;
animation: scan 4s linear infinite;
}
/* Scan Line Animation */
.scan-line {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
opacity: 0.6;
animation: scan 4s linear infinite;
}
@keyframes scan {
0% { top: 0; opacity: 0; }
10% { opacity: 0.6; }
90% { opacity: 0.6; }
100% { top: 100%; opacity: 0; }
}
/* === SECTIONS === */
.section {
padding: 6rem 2rem;
position: relative;
}
.section-container {
max-width: 1200px;
margin: 0 auto;
}
.section-header {
display: flex;
align-items: center;
gap: 1.5rem;
margin-bottom: 3rem;
}
.section-tag {
font-family: var(--font-display);
font-size: 0.7rem;
color: var(--accent);
letter-spacing: 2px;
padding: 0.3rem 0.6rem;
border: 1px solid var(--accent-dim);
}
.section-title {
font-family: var(--font-display);
font-size: clamp(1.2rem, 3vw, 1.6rem);
font-weight: 700;
letter-spacing: 4px;
color: var(--text-primary);
white-space: nowrap;
}
.section-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, var(--border-accent), transparent);
}
/* === PANELS === */
.panel {
background: var(--bg-panel);
border: 1px solid var(--border);
position: relative;
overflow: hidden;
transition: all 0.4s ease;
}
.panel::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: linear-gradient(135deg, var(--accent-subtle), transparent);
opacity: 0;
transition: opacity 0.4s ease;
}
.panel:hover { border-color: var(--accent-dim); }
.panel:hover::before { opacity: 1; }
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--border);
background: rgba(0, 255, 65, 0.02);
}
.panel-title {
font-family: var(--font-display);
font-size: 0.65rem;
letter-spacing: 2px;
color: var(--text-secondary);
}
.panel-icon {
color: var(--accent);
font-size: 0.8rem;
}
.panel-content {
padding: 1.5rem 1.25rem;
}
.panel-content p {
font-size: 0.8rem;
color: var(--text-secondary);
margin-bottom: 1rem;
line-height: 1.8;
}
/* Panel Data Rows */
.panel-data { margin-top: 1.5rem; }
.data-row {
display: flex;
justify-content: space-between;
padding: 0.6rem 0;
border-bottom: 1px solid var(--border);
font-size: 0.7rem;
}
.data-key { color: var(--text-secondary); letter-spacing: 2px; }
.data-val { color: var(--accent); font-weight: 500; }
/* === ABOUT: Panels Grid === */
.panels-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
/* === SKILL BARS === */
.skill-bar {
display: grid;
grid-template-columns: 140px 1fr 40px;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.skill-name {
font-size: 0.6rem;
letter-spacing: 1px;
color: var(--text-secondary);
}
.bar-track {
height: 4px;
background: var(--bg-primary);
border-radius: 2px;
overflow: hidden;
position: relative;
}
.bar-fill {
height: 100%;
width: 0;
background: linear-gradient(90deg, var(--accent), var(--accent-dim));
border-radius: 2px;
transition: width 1.5s ease;
position: relative;
box-shadow: 0 0 10px var(--accent-glow);
}
.bar-fill.animated { width: var(--target-width); }
.skill-pct {
font-size: 0.65rem;
color: var(--accent);
text-align: right;
}
/* === BLOG GRID === */
.blog-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.blog-card {
background: var(--bg-panel);
border: 1px solid var(--border);
padding: 1.5rem;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.blog-card::after {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 2px;
background: var(--accent);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.4s ease;
}
.blog-card:hover {
border-color: var(--accent-dim);
transform: translateY(-4px);
box-shadow: 0 8px 30px rgba(0, 255, 65, 0.08);
}
.blog-card:hover::after { transform: scaleX(1); }
.blog-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.blog-date {
font-size: 0.6rem;
color: var(--text-secondary);
letter-spacing: 2px;
}
.blog-tag {
font-size: 0.55rem;
letter-spacing: 1px;
color: var(--accent);
padding: 0.2rem 0.5rem;
border: 1px solid var(--accent-dim);
}
.blog-title {
font-family: var(--font-mono);
font-size: 0.9rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.75rem;
line-height: 1.4;
}
.blog-excerpt {
font-size: 0.75rem;
color: var(--text-secondary);
line-height: 1.7;
margin-bottom: 1.5rem;
}
.blog-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.blog-read-time {
font-size: 0.6rem;
color: var(--text-muted);
}
.blog-link {
font-size: 0.65rem;
font-family: var(--font-display);
letter-spacing: 2px;
color: var(--accent);
}
.blog-link:hover {
text-shadow: 0 0 15px var(--accent-glow);
}
/* === DEVELOPMENT GRID === */
.dev-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.dev-card {
background: var(--bg-panel);
border: 1px solid var(--border);
padding: 1.75rem;
transition: all 0.4s ease;
position: relative;
}
.dev-card::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 3px; height: 0;
background: var(--accent);
transition: height 0.4s ease;
}
.dev-card:hover {
border-color: var(--accent-dim);
transform: translateY(-4px);
box-shadow: 0 8px 30px rgba(0, 255, 65, 0.06);
}
.dev-card:hover::before { height: 100%; }
.dev-card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.25rem;
}
.dev-icon {
font-size: 1.5rem;
color: var(--accent);
}
.dev-status {
font-size: 0.55rem;
letter-spacing: 1px;
color: var(--accent);
}
.status-dev { color: var(--warning); }
.dev-title {
font-family: var(--font-display);
font-size: 0.85rem;
font-weight: 600;
letter-spacing: 1px;
color: var(--text-primary);
margin-bottom: 0.75rem;
}
.dev-desc {
font-size: 0.75rem;
color: var(--text-secondary);
line-height: 1.7;
margin-bottom: 1.25rem;
}
.dev-tech {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1.25rem;
}
.tech-tag {
font-size: 0.55rem;
letter-spacing: 1px;
padding: 0.25rem 0.6rem;
border: 1px solid var(--border);
color: var(--text-secondary);
transition: all 0.3s ease;
}
.dev-card:hover .tech-tag {
border-color: var(--accent-dim);
color: var(--accent);
}
.dev-link {
font-size: 0.65rem;
font-family: var(--font-display);
letter-spacing: 2px;
}
/* === LINKS GRID === */
.links-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.link-card {
display: flex;
align-items: center;
gap: 1.25rem;
padding: 1.5rem;
background: var(--bg-panel);
border: 1px solid var(--border);
transition: all 0.4s ease;
text-decoration: none;
}
.link-card:hover {
border-color: var(--accent-dim);
background: var(--bg-panel-hover);
transform: translateX(8px);
text-shadow: none;
}
.link-icon {
font-size: 1.5rem;
color: var(--accent);
width: 40px;
text-align: center;
}
.link-info { flex: 1; }
.link-name {
display: block;
font-family: var(--font-display);
font-size: 0.7rem;
letter-spacing: 2px;
color: var(--text-primary);
margin-bottom: 0.2rem;
}
.link-url {
font-size: 0.65rem;
color: var(--text-secondary);
}
.link-arrow {
font-size: 1.2rem;
color: var(--text-muted);
transition: all 0.3s ease;
}
.link-card:hover .link-arrow {
color: var(--accent);
transform: translateX(4px);
}
/* === CONTACT === */
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.contact-info {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
/* Form */
.contact-form {
padding: 1.5rem 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
display: block;
font-size: 0.55rem;
letter-spacing: 2px;
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.form-input {
width: 100%;
padding: 0.75rem 1rem;
background: var(--bg-primary);
border: 1px solid var(--border);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 0.75rem;
transition: all 0.3s ease;
outline: none;
}
.form-input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent-dim), 0 0 20px rgba(0, 255, 65, 0.05);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.85rem 2rem;
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
font-family: var(--font-display);
font-size: 0.7rem;
letter-spacing: 3px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.form-submit::before {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: var(--accent);
transition: left 0.3s ease;
z-index: -1;
}
.form-submit:hover {
color: var(--bg-primary);
box-shadow: 0 0 30px var(--accent-glow);
}
.form-submit:hover::before { left: 0; }
.submit-icon {
font-size: 0.6rem;
transition: transform 0.3s ease;
}
.form-submit:hover .submit-icon { transform: translateX(4px); }
/* Info Blocks */
.info-block {
padding: 1rem 0;
border-bottom: 1px solid var(--border);
}
.info-block:last-child { border-bottom: none; }
.info-label {
display: block;
font-size: 0.55rem;
letter-spacing: 2px;
color: var(--text-muted);
margin-bottom: 0.3rem;
}
.info-value {
font-size: 0.8rem;
color: var(--accent);
}
/* Terminal */
.terminal-panel {
flex: 1;
}
.terminal-content {
padding: 1rem 1.25rem;
font-size: 0.7rem;
line-height: 1.8;
}
.term-line { white-space: nowrap; }
.term-prompt { color: var(--accent); }
.term-cmd { color: var(--text-primary); }
.term-output { color: var(--text-secondary); padding-left: 0; }
.term-cursor { animation: blink-cursor 0.8s step-end infinite; color: var(--accent); }
/* === FOOTER === */
.footer {
padding: 2rem;
border-top: 1px solid var(--border);
background: rgba(10, 10, 10, 0.8);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-left, .footer-right {
display: flex;
align-items: center;
gap: 2rem;
}
.footer-logo {
font-family: var(--font-display);
font-size: 0.75rem;
letter-spacing: 2px;
color: var(--text-primary);
}
.footer-copy {
font-size: 0.6rem;
color: var(--text-muted);
letter-spacing: 1px;
}
.footer-coords {
font-size: 0.6rem;
color: var(--text-muted);
letter-spacing: 1px;
}
.footer-signal {
font-size: 0.6rem;
color: var(--accent);
letter-spacing: 1px;
}
.footer-bar {
margin-top: 1.5rem;
height: 1px;
background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
/* === ANIMATIONS === */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Scroll reveal */
[data-animate] {
opacity: 0;
transform: translateY(40px);
transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
opacity: 1;
transform: translateY(0);
}
/* === RESPONSIVE === */
@media (max-width: 1024px) {
.hero-hud-grid { grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 900px; }
.blog-grid, .dev-grid { grid-template-columns: repeat(2, 1fr); }
.panels-grid { grid-template-columns: 1fr; }
.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nav-toggle { display: flex; }
.nav-status { display: none; }
.nav-menu {
position: fixed;
top: var(--nav-height);
left: 0;
width: 100%;
flex-direction: column;
background: rgba(10, 10, 10, 0.98);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
padding: 1rem 0;
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
max-height: calc(100vh - var(--nav-height));
overflow-y: auto;
}
.nav-menu.open {
transform: translateY(0);
opacity: 1;
visibility: visible;
}
.nav-link {
height: auto;
line-height: 1;
padding: 1rem 2rem;
}
.nav-link::after { display: none; }
.dropdown {
position: static;
border: none;
border-top: none;
background: rgba(20, 20, 20, 0.95);
max-height: 0;
overflow: hidden;
opacity: 1;
visibility: visible;
transform: none;
transition: max-height 0.4s ease;
box-shadow: none;
backdrop-filter: none;
}
.nav-item.dropdown-open > .dropdown {
max-height: 500px;
}
.dropdown li a {
padding-left: 3rem;
font-size: 0.65rem;
}
.dropdown li a::before {
content: '── ';
opacity: 0.3;
color: var(--accent);
}
.dropdown li a:hover::before {
opacity: 1;
}
/* HUD grid stacks on mobile */
.hero-hud-grid {
grid-template-columns: 1fr;
gap: 1rem;
padding: 0;
}
.hud-row-panels { grid-template-columns: 1fr 1fr; }
.hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.hud-bottom-bar {
flex-direction: column;
gap: 0.75rem;
text-align: center;
}
.hud-bottom-stats {
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
.hud-bottom-right { justify-content: center; }
.blog-grid, .dev-grid { grid-template-columns: 1fr; }
.links-grid { grid-template-columns: 1fr; }
.skill-bar { grid-template-columns: 1fr; gap: 0.3rem; }
.skill-name { margin-bottom: 0; }
.section { padding: 4rem 1rem; }
.footer-container { flex-direction: column; gap: 1rem; text-align: center; }
.footer-left, .footer-right { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 480px) {
.hero-title { letter-spacing: 4px; font-size: 1.5rem; }
.section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.section-line { display: none; }
.hud-row-panels { grid-template-columns: 1fr; }
.hud-bottom-stats { gap: 0.5rem; }
.metric-row { grid-template-columns: 60px 1fr 35px; gap: 0.5rem; }
.graph-stats { flex-direction: column; gap: 0.5rem; }
}
/* ─── Blog Loading Placeholder ─── */
.blog-loading-placeholder {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 3rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
color: rgba(0, 255, 65, 0.4);
letter-spacing: 2px;
}
.loading-spinner {
width: 16px;
height: 16px;
border: 2px solid rgba(0, 255, 65, 0.1);
border-top-color: #00ff41;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.blog-view-all-link:hover {
background: rgba(0, 255, 65, 0.08) !important;
box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}
/* ─── Weather Display ─── */
.weather-display {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.weather-main {
display: flex;
align-items: baseline;
gap: 1rem;
}
.weather-temp {
font-family: 'Orbitron', sans-serif;
font-size: 2rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}
.weather-cond {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: rgba(0, 255, 65, 0.6);
letter-spacing: 1px;
}
.weather-details {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.weather-detail {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
color: rgba(192, 192, 192, 0.4);
letter-spacing: 1px;
padding: 0.2rem 0.5rem;
border: 1px solid rgba(0, 255, 65, 0.06);
}
/* ─── Now Playing Display ─── */
.np-display {
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.np-track {
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
color: #fff;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.np-artist {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: var(--accent, #00ff41);
letter-spacing: 1px;
}
.np-album {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
color: rgba(192, 192, 192, 0.35);
letter-spacing: 0.5px;
margin-bottom: 0.3rem;
}
.np-visualiser {
display: flex;
gap: 3px;
align-items: flex-end;
height: 18px;
margin-top: 0.3rem;
}
.np-bar {
width: 4px;
background: var(--accent, #00ff41);
border-radius: 1px;
animation: npBounce 0.8s ease-in-out infinite alternate;
box-shadow: 0 0 4px rgba(0, 255, 65, 0.3);
}
.np-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.np-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.np-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.np-bar:nth-child(4) { height: 90%; animation-delay: 0.05s; }
.np-bar:nth-child(5) { height: 60%; animation-delay: 0.15s; }
.np-bar:nth-child(6) { height: 80%; animation-delay: 0.25s; }
.np-bar:nth-child(7) { height: 45%; animation-delay: 0.1s; }
.np-bar:nth-child(8) { height: 65%; animation-delay: 0.2s; }
@keyframes npBounce {
0% { transform: scaleY(0.3); }
100% { transform: scaleY(1); }
}
#npStatus {
color: var(--accent, #00ff41);
animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}