body {
    background-color: #0a0a1a;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 20px;
    line-height: 1.4;
    min-height: 100vh;
}

/* Reset default heading borders */
h1, h2, h3, h4, h5, h6 {
    border: none;
    border-bottom: none;
    padding-bottom: 0;
}

.prompt {
    color: #d4a574;
    margin-right: 8px;
}

.command {
    color: #e0e0e0;
}

.output {
    color: #e0e0e0;
    margin-top: 10px;
    white-space: pre;
}

/* ASCII art styling - home page (moon and dromedary) */
.ascii-art {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.1;
    white-space: pre;
    margin: 0;
}

/* ASCII art styling from ascii-landscape.html - about page only */
.about-content pre.ascii-art {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.15;
    color: #cfd8dc;
    white-space: pre;
    margin: 0 0 20px 0;
    overflow-x: auto;
    background: transparent;
    border: none;
    padding: 0;
}

/* ASCII art coloring - from ascii-landscape.html */
.about-content .ascii-art .sun { color: #ffd700; }          /* sun, completely yellow */
.about-content .ascii-art .sun-core { color: #ffd700; }     /* sun core, also yellow */
.about-content .ascii-art .cloud { color: #eceff4; }        /* clouds white */
.about-content .ascii-art .bird { color: #8ecae6; }         /* birds, own sky-blue scheme */
.about-content .ascii-art .tree { color: #4caf50; }         /* foliage green (^ / \) */
.about-content .ascii-art .trunk { color: #8b5a2b; }        /* stems + trail brown */
.about-content .ascii-art .mountain { color: #8a93a2; }     /* pyramids grey */
.about-content .ascii-art .bike { color: #e2574c; }         /* bicycle red */

.about-content,
.home-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about-text {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text h1 {
    color: #d4a574;
    margin-bottom: 10px;
    border: none;
    border-bottom: none !important;
    padding-bottom: 0;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text a {
    color: #d2b48c;
    text-decoration: none;
}

.about-text a:hover {
    color: #f0c88c;
    text-decoration: underline;
}

.about-text .go-mascot {
    font-family: monospace;
    font-weight: bold;
    color: #00ADD8;
    font-size: 1.1em;
    vertical-align: middle;
    margin: 0 4px;
}

.divider {
    height: 1px;
    background: #666;
    margin: 20px 0;
    width: 100%;
}

.back-link {
    margin-top: 30px;
    text-align: center;
}

.back-link a {
    color: #d2b48c;
    text-decoration: none;
}

.back-link a:hover {
    color: #f0c88c;
    text-decoration: underline;
}

/* color + glow come inline from the server (random per render),
   so only layout stays here */
.moon {
    transform: translateY(-100%);
}

.dromedary {
    /* colors handled inline by the generated spans */
}

.home-content .ascii-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    margin: 180px 0 20px;
}

.ascii-box {
    flex: 0 0 auto;
}

/* ---- JS-free responsive art: server renders all breakpoints,
       media queries show exactly one. ---- */
.fit {
    display: none;
}

@media (min-width: 1100px) {
    .fit-wide { display: block; }
}

@media (min-width: 700px) and (max-width: 1099px) {
    .fit-mid { display: block; }
}

@media (max-width: 699px) {
    .fit-small { display: block; }

    .home-content .ascii-container {
        margin: 140px 0 10px;
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .ascii-art {
        font-size: 10px;
    }
}

.menu-item {
    color: #d2b48c;
    margin: 5px 0;
    cursor: pointer;
}

.menu-item:hover {
    color: #f0c88c;
    text-decoration: underline;
}

a {
    color: #d2b48c;
    text-decoration: none;
}

a:hover {
    color: #f0c88c;
}

.symlink {
    color: #cd853f;
}

.symlink:hover {
    color: #f0c88c;
    text-decoration: underline;
}

/* ---- sticky footer (flex): footer rests at the viewport bottom on
       short pages, scrolls into view below long content. ---- */
body {
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1; /* pushes the footer down when content is short */
}

footer {
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

.license-statement {
    color: #808080; /* subtle gray so it doesn't compete with the art */
    font-size: 11px;
}

.license-statement a {
    color: #cd853f;
}

.license-statement a:hover {
    color: #f0c88c;
    text-decoration: underline;
}
