:root {
    --bg-color: #000;
    --text-color: #ffffff; /* Changed from Green to White */
    --panic-red: #ff0000;
    --dim-text: rgba(255, 255, 255, 0.6);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    overflow: hidden;
    height: 100vh;
}

body.hacked {
    --text-color: #00ff41;
    --dim-text: rgba(0, 255, 65, 0.6);
}

/* CRT Effects */
.crt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 100%),
                linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(255, 255, 255, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 100%, 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 100;
}

.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.1) 50%);
    background-size: 100% 4px;
    z-index: 101;
    pointer-events: none;
}

.boot-screen {
    height: 100vh;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
}

.boot-screen::-webkit-scrollbar {
    display: none;
}

.terminal-text {
    font-size: 15px;
    line-height: 1.4;
    white-space: pre-wrap;
    text-shadow: 0 0 2px var(--text-color);
}

.panic {
    color: var(--panic-red);
    text-shadow: 0 0 8px var(--panic-red);
    font-weight: bold;
}

.header-text {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    margin-top: 15px;
    display: block;
}

.data-dump {
    color: var(--dim-text);
    margin-left: 20px;
    display: block;
}

#cursor {
    display: inline;
    color: var(--text-color);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: var(--text-color); }
}

@media (max-width: 768px) {
    .boot-screen { padding: 15px; }
    .terminal-text { font-size: 12px; }
}
