* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050505;
    color: #00ff33;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

/* efekt CRT obrazovky */
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: 4;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* hlavny terminal */
.terminal {
    width: 100%;
    max-width: 650px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #00ff33;
    box-shadow: 0 0 20px rgba(0, 255, 51, 0.5);
    border-radius: 5px;
    padding: 25px;
    position: relative;
    z-index: 3;
}

.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #111;
    border-bottom: 1px solid #00ff33;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.buttons {
    display: flex;
    gap: 5px;
}

.btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff33;
    opacity: 0.5;
}

.title {
    margin-left: 15px;
    font-size: 0.8rem;
    color: rgba(0, 255, 51, 0.7);
}

.content {
    margin-top: 20px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00ff33;
}

p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.matrix-text {
    color: #888;
    font-size: 1rem;
}

.highlight {
    color: #fff;
    text-shadow: 0 0 8px #fff;
}

.blink {
    animation: blinker 1s steps(2, start) infinite;
}

@keyframes blinker {
    to { visibility: hidden; }
}

/* --- KODOVE POZADIE (MIND STREAM) --- */
#mind-stream {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
    opacity: 0.35;
}

.line {
    font-size: 14px;
    color: #ffb000; /* Jantarovy assembler */
    text-shadow: 0 0 5px #ffb000;
    white-space: pre-wrap;
    animation: fadeIn 0.1s ease-out;
}

.system-alert {
    color: #ff3333;
    text-shadow: 0 0 8px #ff3333;
    font-weight: bold;
}

.success {
    color: #33ff33;
    text-shadow: 0 0 8px #33ff33;
}

/* Breakpoint panel v rohu */
#debugger-overlay {
    position: absolute;
    top: 20px; right: 20px;
    border: 1px solid #ff3333;
    color: #ff3333;
    background: rgba(15, 0, 0, 0.8);
    padding: 8px 15px;
    font-size: 12px;
    font-weight: bold;
    display: none;
    z-index: 5;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.4);
}
