:root {
    --term-bg: rgba(0, 0, 0, 0.85);
    --term-text: #00ff41; /* Classic Hacker Green */
    --term-glow: #008f11;
}

body {
    margin: 0;
    overflow: hidden; /* Hide scrollbars for full immersion */
    background: black;
    font-family: 'Courier New', Courier, monospace;
}

/* Matrix Canvas behind everything */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Centered Terminal Window */
.terminal-window {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: 800px;
    height: 60vh;
    margin: 10vh auto;
    background: var(--term-bg);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--term-glow);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.title { color: #999; margin-left: 10px; font-size: 14px; }

.terminal-body {
    padding: 20px;
    color: var(--term-text);
    overflow-y: auto;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--term-glow);
}

.prompt { color: #f0f; margin-right: 10px; } /* Pink prompt for contrast */

/* Blinking Cursor */
.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
