:root {
    --bg-color: #0d0d0d;
    --text-color: #fffacd;
    /* Moon color (LemonChiffon) */
    --link-color: #d455ff;
    /* Purple */
    --link-hover-color: #ffffff;
    --font-family: 'Courier New', Courier, monospace;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

body {
    /* background-color: var(--bg-color); Removed to let canvas show */
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.ascii-art {
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    overflow-x: auto;
    /* Handle overflow on small screens */
    margin-bottom: 2rem;
    display: inline-block;
    text-align: left;
}

.navigation {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.navigation a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
}

.navigation a:hover {
    color: var(--link-color);
    text-decoration: underline;
}

.content-section {
    margin-bottom: 2rem;
    border: 1px dashed #333;
    padding: 20px;
    text-align: left;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.hidden {
    display: none;
}

.fade-out {
    opacity: 0;
}

.content-section h2 {
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.footer {
    margin-top: 4rem;
    color: #666;
    font-size: 0.9rem;
    padding-bottom: 2rem;
    /* Add padding for mobile scrolling */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .ascii-art {
        font-size: 6px;
        /* Even smaller font for mobile to fit ASCII */
        margin-bottom: 1rem;
    }

    .navigation {
        font-size: 1rem;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .navigation a {
        margin: 5px 0;
        display: inline-block;
        padding: 5px;
        /* Larger touch target */
    }

    .container {
        padding: 10px;
    }
}