:root {
    --bg-color: #1e1e1e;
    --term-bg: #0c0c0c;
    --text-color: #33ff33; /* Classic terminal green */
    --prompt-color: #4da6ff; /* Blue for the prompt */
    --font-main: 'Fira Code', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.terminal {
    width: 100%;
    max-width: 900px;
    background-color: var(--term-bg);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 15px rgba(51, 255, 51, 0.2);
    overflow: hidden;
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #a0a0a0;
    font-size: 0.9em;
    font-weight: bold;
}

.terminal-body {
    padding: 25px;
    font-size: 1.1em;
    height: 60vh;
    min-height: 400px;
    overflow-y: auto;
}

/* Scrollbar styling for webkit */
.terminal-body::-webkit-scrollbar {
    width: 10px;
}
.terminal-body::-webkit-scrollbar-track {
    background: var(--term-bg);
}
.terminal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

p {
    margin: 10px 0;
    line-height: 1.6;
}

.prompt {
    color: var(--prompt-color);
    font-weight: bold;
    margin-right: 8px;
}

.output {
    color: #cccccc;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid #333;
}

a.github-link {
    color: #ff9900; /* Distinct color for links */
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
    transition: all 0.2s ease;
}

a.github-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(255, 153, 0, 0.6);
    color: #ffcc66;
}

.cursor {
    display: inline-block;
    width: 10px;
    background-color: var(--text-color);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

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

/* Selection color */
::selection {
    background-color: var(--text-color);
    color: var(--term-bg);
}
