:root {
    --glow-color: #81DB97;
    --bg-color: #050505;
    --font-stack: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--glow-color);
    font-family: var(--font-stack);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.terminal-container {
    position: relative;
    width: 90%;
    max-width: 850px;
    padding: 30px;
    border: 1px solid var(--glow-color);
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 1), 0 0 20px rgba(129, 219, 151, 0.1);
}

.scanlines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.2) 50%
    );
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
}

@keyframes flicker {
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.9; }
    100% { opacity: 1; }
}

.terminal-content {
    animation: flicker 0.1s infinite;
    text-shadow: 0 0 8px var(--glow-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Default alignment is LEFT */
}

/* Specific Centering for Header Section */
.header {
    width: 100%;            /* Must be 100% to center content across the screen */
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centers the logo and text block */
    text-align: center;     /* Centers the text lines */
    margin-bottom: 30px;
}

.terminal-logo {
    display: block;
    max-width: 325px;
    height: auto;
    border: none !important;
    margin-bottom: 15px;
}

/* Navigation & Body text stays left */
.main-body, .menu, .prompt {
    width: 100%;
    text-align: left;
}

ul { list-style: none; padding: 0; }
li { margin: 15px 0; }
.cmd { margin-right: 15px; opacity: 0.8; }

.btn {
    color: var(--bg-color);
    background-color: var(--glow-color);
    text-decoration: none;
    padding: 3px 8px;
    font-weight: bold;
    transition: all 0.2s;
}

.btn:hover {
    background-color: #fff;
    box-shadow: 0 0 15px #fff;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-color: var(--glow-color);
    animation: blink 0.8s steps(2, start) infinite;
    vertical-align: bottom;
}

@keyframes blink {
    to { visibility: hidden; }
}