body {
    background-color: #2d2d30; /* Dark metallic grey */
    color: #80D0FF; /* Light blue for default text */
    font-family: 'VT323', 'Courier New', Courier, monospace;
    font-size: 1.1em; /* Base font size for readability */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.header-banner {
    background-color: #003B6F; /* Dark blue */
    color: #E0E0E0; /* Light silver/white */
    padding: 15px 20px;
    text-align: center;
    font-family: 'Press Start 2P', 'Courier New', Courier, monospace;
    border-bottom: 3px solid #66AADD; /* Lighter metallic blue */
    margin-bottom: 25px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}

.header-banner h1 {
    margin: 0;
    font-size: 1.6em; /* Adjusted for 'Press Start 2P' */
    text-shadow: 2px 2px #000000;
}

.terminal {
    background-color: #1E1E1E; /* Very dark grey, almost black */
    border: 2px solid #A0A0A0; /* Silver/metallic border */
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto 20px auto;
    max-width: 800px; /* Max width for readability */
    box-shadow: 0 0 20px rgba(128, 208, 255, 0.2); /* Subtle blue glow */
    overflow-x: auto; /* Handle potential overflow on small screens */
}

.line {
    margin-bottom: 12px;
    display: flex; /* For prompt and command alignment */
    flex-wrap: wrap; /* Allow command to wrap if too long */
}

.prompt {
    color: #7DF9FF; /* Bright cyan/blue for prompt */
    margin-right: 8px;
    white-space: nowrap; /* Prevent prompt from wrapping */
}

.command {
    color: #D0D0D0; /* Light silver/white for commands */
    flex-grow: 1; /* Allow command to take remaining space */
}

.output {
    color: #90CFFF; /* Softer blue for output text */
    margin-left: 15px; /* Indent output slightly */
    padding-left: 5px;
    white-space: pre-wrap; /* Preserve formatting, allow wrapping */
    margin-bottom: 15px; /* Space after output block */
}

.output p { /* For text accompanying images */
    font-size: 0.9em;
    color: #777; /* Dimmer text for image loading message */
}

.output ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 8px;
    margin-bottom: 8px;
}

.output li {
    margin-bottom: 5px;
    padding-left: 1.8em; /* Indent for custom bullet */
    position: relative;
}

.output li::before {
    content: "» "; /* Custom bullet, chevron-like */
    position: absolute;
    left: 0;
    color: #7DF9FF; /* Match prompt color for bullet */
    font-weight: bold;
}

.cursor_container { /* To contain the cursor and allow text input simulation if JS were added */
    display: inline-block; /* Or flex if other elements are on the same line */
}

.cursor {
    display: inline-block;
    background-color: #80D0FF; /* Light blue, matching prompt */
    width: 10px; /* Width of the cursor block */
    height: 1.2em; /* Relative to font size */
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom; /* Align with text baseline */
    margin-left: 5px; /* Space after prompt if it's on the same line */
}

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

.inline-image {
    max-width: 350px; /* Control image size */
    width: 100%; /* Responsive within max-width */
    height: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    border: 2px solid #777; /* Metallic border for images */
    border-radius: 4px;
    background-color: #2a2a2a; /* Dark bg for transparent parts of images */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        font-size: 1em;
    }
    .header-banner h1 {
        font-size: 1.3em;
    }
    .terminal {
        padding: 15px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .inline-image {
        max-width: 90%;
    }
    .line {
        font-size: 0.95em; /* Slightly smaller font within terminal on small screens */
    }
}

.code-block {
    background-color: #181818; /* Slightly darker than .terminal's bg */
    border: 1px solid #444; /* Dim border */
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto; /* Handle long lines of code */
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace; /* More code-specific font stack */
    font-size: 0.95em; /* Slightly smaller for denser code */
    color: #B0E0E6; /* PowderBlue, a bit lighter for code text */
    white-space: pre; /* Ensure pre formatting is strictly followed, handles long lines with overflow-x */
}

.code-block code { /* Not strictly necessary if pre has the font style, but good for semantics */
    font-family: inherit;
    font-size: inherit;
    color: inherit; /* Ensure color is inherited from .code-block */
}
