
        :root {
            --bg-color: #0a0e17;
            --panel-bg: #111827;
            --text-main: #e0e6ed;
            --lapis-blue: #3b82f6;
            --terminal-green: #4ade80;
            --money-gold: #ffb703;
            --titan-blue: #00f2ff;
            --gaia-purple: #a855f7;
            --perc-red: #f43f5e;
            --alert-red: #ef4444;
        }

        /* HUD SCANLINE EFFECT */
        body::before {
            content: " ";
            display: block;
            position: fixed;
            top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            z-index: 9999;
            background-size: 100% 2px, 3px 100%;
            pointer-events: none;
        }

        body, html {
            margin: 0; padding: 0;
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Courier New', Courier, monospace;
            display: flex; flex-direction: column;
            align-items: center; padding: 20px;
            overflow-x: hidden;
        }
        
        .brand-logo { max-width: 120px; margin-bottom: 10px; border-radius: 10px; box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
        h1 { font-size: 1.8rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; text-align: center; }
        .subtitle { color: #64748b; margin-bottom: 20px; font-size: 0.75rem; text-align: center; }

        .mission-box {
            width: 100%; max-width: 800px;
            background-color: #0f172a;
            border-left: 3px solid var(--lapis-blue);
            padding: 15px;
            margin-bottom: 20px;
            font-size: 0.85rem;
            color: #94a3b8;
            box-sizing: border-box;
            position: relative;
        }
        
        .mission-box::after { content: ""; position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; border-right: 2px solid var(--lapis-blue); border-bottom: 2px solid var(--lapis-blue); }

        #terminal-pulse {
            margin-top: 10px; padding-top: 10px;
            border-top: 1px solid #1e293b;
            height: 20px; font-size: 0.7rem; color: var(--terminal-green);
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            width: 100%; max-width: 800px;
        }

        .panel {
            background-color: var(--panel-bg);
            border: 1px solid #1e293b;
            border-radius: 4px;
            padding: 15px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            position: relative;
        }
        .panel h2 { font-size: 0.8rem; margin: 0 0 10px 0; color: var(--lapis-blue); border-bottom: 1px solid #1e293b; padding-bottom: 5px; }
        
        .radar-container {
            width: 100%; height: 120px; background: #0a0e17; border-radius: 4px;
            position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
        }
        .radar-circle { position: absolute; border: 1px solid rgba(59, 130, 246, 0.15); border-radius: 50%; }
        .c1 { width: 30px; height: 30px; } .c2 { width: 70px; height: 70px; } .c3 { width: 110px; height: 110px; }
        .radar-sweep {
            position: absolute; width: 110px; height: 110px;
            background: conic-gradient(from 0deg, rgba(59, 130, 246, 0.2) 0%, transparent 40%);
            border-radius: 50%; animation: rotate 4s linear infinite;
        }
        .core-node { width: 6px; height: 6px; background: var(--lapis-blue); border-radius: 50%; box-shadow: 0 0 15px var(--lapis-blue); z-index: 10; }

        .progress-bg { background: #0f172a; height: 6px; border-radius: 10px; margin-top: 4px; overflow: hidden; }
        .progress-fill { height: 100%; width: 5%; background: var(--lapis-blue); transition: width 0.8s ease; box-shadow: 0 0 8px var(--lapis-blue); min-width: 3px; }

        .coin { width: 30px; height: 30px; border-radius: 50%; animation: spin 3s linear infinite; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #000; font-size: 0.7rem; }
        .coin.myst { background: var(--money-gold); }
        .coin.titan { background: var(--lapis-blue); }
        .coin.gaia { background: var(--gaia-purple); }
        .coin.perc { background: var(--perc-red); }
        .coin.nexus { background: #fff; }
        .earnings-pulse { color: var(--terminal-green); font-size: 0.65rem; margin-left: 8px; font-weight: bold; }

        @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes spin { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }

        .money-value { color: var(--text-main); font-size: 1.1rem; font-weight: bold; }
        .label { font-size: 0.6rem; color: #64748b; text-transform: uppercase; }
        .node-item { display: flex; justify-content: space-between; background: #0f172a; padding: 6px; margin-bottom: 4px; border-radius: 4px; font-size: 0.75rem; }
        .status-dot { height: 6px; width: 6px; border-radius: 50%; display: inline-block; margin-right: 6px; }

        @media (max-width: 600px) {
            .dashboard-grid { grid-template-columns: 1fr; }
            h1 { font-size: 1.5rem; }
            .panel { padding: 12px; }
            body { padding: 10px; }
        }
        .journal-entry {
            margin-bottom: 30px;
            border-left: 2px solid var(--terminal-green);
            padding-left: 20px;
            position: relative;
        }
        .journal-date {
            font-size: 0.7rem;
            color: var(--lapis-blue);
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        .engine-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.6rem;
            font-weight: bold;
            margin-right: 5px;
            margin-bottom: 10px;
        }
        .e1 { background: rgba(59, 130, 246, 0.2); color: var(--lapis-blue); border: 1px solid var(--lapis-blue); }
        .e2 { background: rgba(74, 222, 128, 0.2); color: var(--terminal-green); border: 1px solid var(--terminal-green); }
        nav {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
    /* This line below centers the navbar so it doesn't break the layout */
    margin-left: auto;
    margin-right: auto;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

/* This makes the current page link stand out */
nav a.active {
    color: var(--lapis-blue) !important;
}
