/* --- 1. GLOBAL SETTINGS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    user-select: none;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #040d14;
}

/* --- 2. MULTIVERSE BACKGROUND --- */
.simulator-desktop {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #091724, #040a10, #13293d, #02060c);
    position: relative;
    padding: 30px;
    overflow: hidden;
}

.cosmic-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, #00ffff 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
}

/* --- 3. DRAGGABLE DESKTOP ICONS --- */
.bio-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: move;
    z-index: 5;
    transition: transform 0.05s linear;
}

/* Startposities voor de icoontjes */
#icon-clancy {
    top: 40px;
    left: 40px;
}

#icon-universe {
    top: 160px;
    left: 40px;
}

.icon-avatar {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 2px solid #00f0ff;
}

.pulse-glow { animation: cyanGlow 2s infinite alternate; }
.eye-glow { animation: pinkGlow 2s infinite alternate; }

@keyframes cyanGlow {
    0% { box-shadow: 0 0 5px #00f0ff; border-color: #00f0ff; }
    100% { box-shadow: 0 0 20px #00f0ff; border-color: #00f0ff; transform: scale(1.03); }
}
@keyframes pinkGlow {
    0% { box-shadow: 0 0 5px #ff007f; border-color: #ff007f; }
    100% { box-shadow: 0 0 20px #ff007f; border-color: #ff007f; }
}

.icon-label {
    color: #00f0ff;
    font-size: 11px;
    font-weight: bold;
    margin-top: 6px;
    background: rgba(4, 13, 20, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #00f0ff;
    white-space: nowrap;
}

/* --- 4. CYBERNETIC GOSPEL COCKPIT WINDOWS --- */
.gospel-window {
    position: absolute;
    top: 15%;
    left: 25%;
    width: 580px;
    background: #061420;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.gospel-window.hidden { display: none !important; }

.window-header {
    background: #091d2f;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #00f0ff;
    border-radius: 6px 6px 0 0;
    cursor: move;
}

.window-title {
    color: #00f0ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-close {
    background: transparent;
    border: none;
    color: #ff007f;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.btn-close:hover { color: #fff; text-shadow: 0 0 8px #ff007f; }

.window-body {
    padding: 20px;
    background: #06111a;
}

/* --- 5. STATS BLUEPRINT LAYOUT --- */
.stats-blueprint {
    display: flex;
    gap: 25px;
}

.blueprint-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.character-screen {
    width: 200px;
    height: 200px;
    border: 2px solid #00f0ff;
    background: radial-gradient(circle, #101642 0%, #030616 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.green-guy {
    width: 120px;
    height: 120px;
    background: #9ad147;
    border-radius: 50%;
    border: 3px solid #112c16;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guy-eyes {
    display: flex;
    gap: 14px;
    margin-top: -10px;
}

.eye {
    width: 22px;
    height: 22px;
    background: #fffbdf;
    border-radius: 50%;
    border: 2px solid #000;
    position: relative;
}

.eye::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

.guy-mouth {
    width: 26px;
    height: 12px;
    background: #c29b38;
    border: 2px solid #000;
    border-radius: 20px;
    margin-top: 10px;
}

.alchemical-glyphs {
    color: #00f0ff;
    font-size: 16px;
    display: flex;
    gap: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.blueprint-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gospel-header {
    color: #00f0ff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.name-badge {
    border: 1px solid #00f0ff;
    padding: 4px 10px;
    color: #00f0ff;
    font-size: 14px;
    width: max-content;
    background: rgba(0, 240, 255, 0.05);
}

.stat-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #00f0ff;
}

.stat-progress-bar {
    width: 100%;
    height: 10px;
    background: #040d14;
    border: 1px solid #00f0ff;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00f0ff;
}

.anger-bar .progress-fill {
    background: linear-gradient(90deg, #ff007f, #ff77bc);
    box-shadow: 0 0 8px #ff007f;
}

.sanskrit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
    border-top: 1px dashed rgba(0, 240, 255, 0.3);
    padding-top: 10px;
}

.sanskrit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #ff007f;
}

.mini-box {
    width: 35px;
    height: 8px;
    background: #040d14;
    border: 1px solid #ff007f;
}

.mini-box.pink { background: #ff007f; width: 4px; }
.mini-box.yellow { background: #ffbc00; width: 6px; }
.mini-box.full { background: #ff007f; width: 30px; }
.mini-box.half { background: #ff007f; width: 16px; }

.psychopomp-layout { align-items: center; }
.duck-avatar-box {
    width: 120px;
    height: 120px;
    border: 2px solid #00f0ff;
    background: radial-gradient(circle, #2d004d 0%, #050010 100%);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.duck-emoji { font-size: 60px; }
.psychopomp-details { flex: 1; }
.magic-bar .progress-fill {
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00);
}

/* --- 6. CHAOS POPUPS --- */
.chaos-popup {
    position: absolute;
    width: 240px;
    background: #00f0ff;
    color: #040d14;
    border: 2px solid #000;
    padding: 8px;
    font-weight: bold;
    font-size: 11px;
    box-shadow: 4px 4px 0px #ff007f;
    z-index: 9999;
}

/* --- 7. FIXED HORIZONTAL TASKBAR --- */
.control-panel {
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: #040d14;
    border-top: 2px solid #ff007f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10000; 
}

.simulator-core {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(255, 0, 127, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #ff007f;
}

.core-orb {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff007f 40%, #ff77bc 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px #ff007f;
    animation: pulseMouth 0.6s infinite alternate ease-in-out;
}

@keyframes pulseMouth {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.1); }
}

.core-text { 
    color: #fff; 
    font-weight: bold; 
    font-size: 11px;
    letter-spacing: 1px;
}

.panel-status { 
    color: #556677; 
    font-size: 11px; 
}

.dimension-coordinates {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid #00f0ff;
    padding: 3px 10px;
    border-radius: 4px;
    color: #00f0ff;
    font-size: 11px;
}