/* Custom Theme Variables & Globals */
:root {
    --bg-color: #050816;
    --card-bg: rgba(15, 23, 42, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Accents */
    --accent-cyan: #00f2ff;
    --accent-purple: #bd00ff;
    --accent-orange: #ff9d00;
    
    /* Accent Shadows */
    --cyan-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    --purple-shadow: 0 0 15px rgba(189, 0, 255, 0.4);
    --orange-shadow: 0 0 15px rgba(255, 157, 0, 0.4);
    
    /* Font Families */
    --font-header: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: #f1f5f9;
    font-family: var(--font-body);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Mouse follow glow */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.07) 0%, rgba(189, 0, 255, 0.04) 50%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Scanline Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* Common Font styles */
.font-mono {
    font-family: var(--font-mono);
}

.text-cyan { color: var(--accent-cyan); text-shadow: 0 0 5px rgba(0, 242, 255, 0.6); }
.text-purple { color: var(--accent-purple); text-shadow: 0 0 5px rgba(189, 0, 255, 0.6); }
.text-orange { color: var(--accent-orange); text-shadow: 0 0 5px rgba(255, 157, 0, 0.6); }

.bg-cyan { background-color: var(--accent-cyan); }
.bg-purple { background-color: var(--accent-purple); }
.bg-orange { background-color: var(--accent-orange); }

/* Ambient lights in room */
.ambient-light-cyan {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 250px;
    height: 250px;
    background: var(--accent-cyan);
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
}

.ambient-light-purple {
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    filter: blur(150px);
    opacity: 0.12;
    pointer-events: none;
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    pointer-events: none;
    z-index: 2;
}

/* 1. Preloader / Boot Screen */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020208;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.boot-container {
    width: 80%;
    max-width: 650px;
    background: #090d16;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.terminal-header .dot.red { background-color: #ef4444; }
.terminal-header .dot.yellow { background-color: #f59e0b; }
.terminal-header .dot.green { background-color: #10b981; }

.terminal-header .terminal-title {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--accent-cyan);
    height: 250px;
    overflow-y: auto;
    white-space: pre-wrap;
    text-shadow: 0 0 3px rgba(0, 242, 255, 0.5);
}

.terminal-body .cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* 2. Workspace View */
#command-center {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    opacity: 1;
    transition: opacity 1s ease;
}

#command-center.hidden {
    opacity: 0;
    pointer-events: none;
}

/* HUD Header Bar */
.hud-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.hud-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.glowing-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: var(--cyan-shadow);
    animation: pulsing 2s infinite alternate;
}

@keyframes pulsing {
    0% { transform: scale(0.9); box-shadow: 0 0 5px rgba(0, 242, 255, 0.5); }
    100% { transform: scale(1.2); box-shadow: 0 0 15px rgba(0, 242, 255, 0.9); }
}

.hud-title-wrap .hud-label {
    font-size: 10px;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.hud-title-wrap .hud-app-title {
    font-family: var(--font-header);
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 900;
}

.hud-nav {
    display: flex;
    gap: 15px;
}

.hud-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hud-btn i {
    width: 14px;
    height: 14px;
}

.hud-btn:hover, .hud-btn.active {
    background: rgba(0, 242, 255, 0.06);
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.hud-system-status {
    display: flex;
    gap: 20px;
    font-size: 12px;
}

.status-stat {
    display: flex;
    gap: 6px;
}

.status-stat .lbl {
    color: rgba(255, 255, 255, 0.4);
}

.status-time {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
}

/* Workspace Scene Layout */
.workspace-scene {
    position: relative;
    width: 100%;
    height: calc(100% - 70px);
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; /* 3D Scene depth */
}

/* Desk and Monitors Container */
.desk-area {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    width: 90%;
    max-width: 1300px;
    height: 60%;
    position: relative;
    transform-style: preserve-3d;
    z-index: 10;
}

/* Individual Monitor Containers */
.monitor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.monitor-base-stand {
    width: 60px;
    height: 80px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    z-index: 1;
    margin-top: -5px;
}

.monitor {
    width: 100%;
    height: 240px;
    background: #090d16;
    border: 3px solid #1e293b;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.monitor-left {
    transform: rotateY(15deg);
}

.monitor-center {
    height: 260px;
    margin-bottom: 10px;
}

.monitor-right {
    transform: rotateY(-15deg);
}

.monitor:hover {
    border-color: var(--accent-cyan);
}

.monitor-left:hover {
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.2);
    border-color: var(--accent-cyan);
}

.monitor-center:hover {
    box-shadow: 0 10px 25px rgba(189, 0, 255, 0.2);
    border-color: var(--accent-purple);
}

.monitor-right:hover {
    box-shadow: 0 10px 25px rgba(255, 157, 0, 0.2);
    border-color: var(--accent-orange);
}

/* Screen reflection glare effect */
.screen-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    transform: rotate(-10deg) translate(-20%, -20%);
    pointer-events: none;
    z-index: 10;
}

/* Screen Contents */
.monitor-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.monitor-header .label {
    font-size: 9px;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: simple-pulse 1.5s infinite alternate;
}

@keyframes simple-pulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.monitor-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Center Monitor Branding Styles */
.branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    position: relative;
}

.brand-name {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.brand-divider {
    width: 50px;
    height: 2px;
    background-color: var(--accent-purple);
    box-shadow: var(--purple-shadow);
    margin-bottom: 8px;
}

.brand-tagline {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.role-scroller {
    font-size: 13px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.role-scroller .cursor {
    animation: blink 0.8s infinite;
}

.core-radar {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
    z-index: -1;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent-purple);
    border-radius: 50%;
}

.radar-circle.c1 { width: 60px; height: 60px; }
.radar-circle.c2 { width: 110px; height: 110px; }
.radar-circle.c3 { width: 160px; height: 160px; }

.radar-line {
    position: absolute;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), transparent);
    top: 50%;
    left: 50%;
    transform-origin: left center;
    animation: radar-sweep 4s linear infinite;
}

@keyframes radar-sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Side Monitor Panels & Previews */
.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.mini-preview {
    flex: 1;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.uiux-preview {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(189, 0, 255, 0.15)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" viewBox="0 0 200 100"><rect width="200" height="100" fill="%230b0f19"/><rect x="10" y="10" width="80" height="35" rx="3" fill="none" stroke="%2300f2ff" stroke-width="1"/><rect x="100" y="10" width="90" height="80" rx="3" fill="none" stroke="%23bd00ff" stroke-width="1"/><circle cx="50" cy="70" r="15" fill="none" stroke="%23ff9d00" stroke-width="1"/></svg>');
}

.code-preview {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(0, 242, 255, 0.15)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" viewBox="0 0 200 100"><rect width="200" height="100" fill="%230b0f19"/><line x1="20" y1="20" x2="180" y2="20" stroke="%23ff9d00" stroke-width="1.5"/><line x1="20" y1="40" x2="140" y2="40" stroke="%2300f2ff" stroke-width="1.5"/><line x1="20" y1="60" x2="160" y2="60" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px;
}

.mini-preview:hover .preview-overlay {
    background: rgba(15, 23, 42, 0.4);
    opacity: 1;
}

.preview-badge {
    font-family: var(--font-mono);
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 6px;
}

.preview-overlay h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dash-row {
    display: flex;
    gap: 8px;
}

.dash-cell {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 4px;
    text-align: center;
}

.cell-lbl {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.cell-val {
    font-size: 11px;
    font-weight: bold;
}

.code-stream {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 9px;
    line-height: 1.4;
    overflow: hidden;
    height: 60px;
}

.c-keyword { color: #f43f5e; }
.c-func { color: #38bdf8; }
.c-type { color: #fbbf24; }

/* Floating Project Folders */
.floating-assets-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.floating-folder {
    position: absolute;
    width: 110px;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: ambient-float 6s ease-in-out infinite alternate;
}

.floating-folder:nth-child(even) {
    animation-duration: 8s;
    animation-delay: -2s;
}

.floating-folder:nth-child(3n) {
    animation-duration: 7s;
    animation-delay: -1s;
}

@keyframes ambient-float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(2deg); }
}

.folder-graphic-wrapper {
    width: 70px;
    height: 52px;
    position: relative;
    transition: transform 0.3s ease;
}

.folder-svg-back {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: #1e293b;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.folder-tab {
    position: absolute;
    top: 0;
    left: 6px;
    width: 38px;
    height: 12px;
    background: #1e293b;
    border-radius: 3px 3px 0 0;
    font-family: var(--font-mono);
    font-size: 7px;
    text-align: center;
    line-height: 10px;
    color: rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.folder-svg-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--card-bg);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.folder-inner-icon {
    width: 16px;
    height: 16px;
}

/* Hover Folder Effect */
.floating-folder:hover {
    transform: scale(1.05) translateY(-5px);
}

.floating-folder:hover .folder-svg-front {
    transform: rotateX(-20deg);
}

.folder-label {
    margin-top: 8px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.folder-label .tag {
    display: block;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.folder-label .name {
    color: #fff;
    font-weight: bold;
}

/* Holographic Skill Sphere Section */
.holographic-stage {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 5;
}

.holo-pedestal {
    width: 70px;
    height: 10px;
    background: linear-gradient(90deg, #1e293b, #0f172a, #1e293b);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 0 0;
    position: absolute;
    bottom: -10px;
}

.holo-glow-ring {
    width: 80px;
    height: 15px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-cyan);
    box-shadow: var(--cyan-shadow);
    position: absolute;
    bottom: -13px;
    animation: ring-pulse 2s infinite alternate;
}

@keyframes ring-pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 1; }
}

#skills-sphere-container {
    width: 220px;
    height: 220px;
    pointer-events: auto;
    cursor: grab;
}

#skills-canvas {
    width: 100%;
    height: 100%;
}

/* Glassmorphic Modals styling */
.hud-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hud-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 8, 0.85);
    backdrop-filter: blur(8px);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    position: relative;
    z-index: 1002;
    overflow: hidden;
}

.modal-content {
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hud-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-branding {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-branding i {
    width: 16px;
    height: 16px;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Personnel Layout */
.personnel-layout {
    display: flex;
    gap: 30px;
}

.avatar-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avatar-frame {
    width: 140px;
    height: 180px;
    border: 1px solid rgba(0, 242, 255, 0.25);
    background: rgba(15, 23, 42, 0.8);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.2);
}

.avatar-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(0, 242, 255, 0.05) 0px, rgba(0, 242, 255, 0.05) 1px, transparent 1px, transparent 4px);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-placeholder .usr-icon {
    width: 60px;
    height: 60px;
    color: rgba(0, 242, 255, 0.3);
}

.clearance-level {
    font-size: 11px;
    letter-spacing: 1px;
    background: rgba(0, 242, 255, 0.06);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 4px 10px;
    border-radius: 3px;
}

.profile-details {
    flex: 1;
}

.profile-name {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.profile-title {
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.bio-panel {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-cyan);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.bio-panel p {
    margin-bottom: 10px;
}

.bio-panel p:last-child {
    margin-bottom: 0;
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 11px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}

.meta-item .label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
}

.meta-item .value {
    font-weight: bold;
    color: #fff;
}

/* Mission Log Timeline styling */
.timeline-container {
    position: relative;
    padding-left: 20px;
    margin: 10px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bg-color);
}

.timeline-marker.purple {
    background: var(--accent-purple);
    box-shadow: var(--purple-shadow);
}

.timeline-marker.cyan {
    background: var(--accent-cyan);
    box-shadow: var(--cyan-shadow);
}

.timeline-marker.orange {
    background: var(--accent-orange);
    box-shadow: var(--orange-shadow);
}

.timeline-date {
    font-size: 12px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: 0.5px;
}

.timeline-content p {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Comms Terminal Form */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.15);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    background: rgba(255, 157, 0, 0.08);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-weight: bold;
}

.submit-btn:hover {
    background: rgba(255, 157, 0, 0.18);
    box-shadow: var(--orange-shadow);
    color: #fff;
}

.social-links-panel {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.social-links-title {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--accent-orange);
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    width: fit-content;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.social-link-item svg {
    width: 14px;
    height: 14px;
}

.social-link-item:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 6px rgba(0, 242, 255, 0.5);
}

#transmission-log {
    margin-top: 20px;
    padding: 12px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px dashed var(--accent-cyan);
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.6;
}

/* Project Wide Modal Styling */
.project-wide-modal {
    max-width: 800px;
}

.project-details-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .project-details-wrap {
        grid-template-columns: 1fr;
    }
}

.proj-main-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.proj-sec-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.proj-title {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2px;
}

.proj-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
}

.proj-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.proj-section-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    padding-bottom: 4px;
}

.spec-item .lbl { color: rgba(255, 255, 255, 0.4); }
.spec-item .val { color: #fff; }

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsiveness fallback for desks */
@media (max-width: 900px) {
    body {
        overflow-y: auto;
        height: auto;
    }
    .workspace-scene {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 60px;
    }
    .desk-area {
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        gap: 40px;
    }
    .monitor-container {
        width: 100%;
        max-width: 450px;
    }
    .monitor-left, .monitor-right {
        transform: none;
    }
    .holographic-stage {
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        margin-top: 30px;
    }
    .floating-assets-layer {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 30px;
        width: 100%;
        padding: 20px;
        pointer-events: auto;
    }
    .floating-folder {
        position: static !important;
        width: 100%;
        animation: none !important;
    }
    .hud-header {
        position: static;
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }
    .hud-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .personnel-layout {
        flex-direction: column;
        align-items: center;
    }
}
