body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    color: #2C6E49;
    font-family: 'Fira Code', 'Roboto Mono', monospace;
    font-size: 16px;
    font-variant-ligatures: none;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d0d0d;
    z-index: 101;
    cursor: pointer;
}

#splash-content {
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.hidden {
    display: none !important;
}

#terminal {
    position: relative;
    z-index: 1;
    background-color: rgba(13, 13, 13, 0.9);
    padding: 10px;
    height: calc(100% - 20px);
    overflow-y: auto;
    box-sizing: border-box;
}

#output {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.prompt {
    margin-right: 8px;
    white-space: nowrap;
}

.input-line {
    display: none;
    align-items: center;
    position: relative;
}

#command-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: transparent;
    font: inherit;
    outline: none;
    padding: 0;
    caret-color: transparent;
    z-index: 2;
}

#input-display {
    white-space: pre;
}

#cursor {
    animation: blink 1s step-end infinite;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

@keyframes blink {
    from, to {
        color: transparent;
    }
    50% {
        color: #2C6E49;
    }
}

#escape-hatch {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: rgba(44, 110, 73, 0.5);
    text-decoration: none;
    font-size: 12px;
    z-index: 100;
    transition: color 0.3s;
}

#escape-hatch:hover {
    color: #64ffda;
}