/* --- General --- */
body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    background-color: #111;
    color: #919191;
    line-height: 1.6;
    overflow: hidden;
}

/* --- Header / Main --- */
.main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.main-content {
    background: transparent;
    padding: 2em 3em;
}

.main-title {
    font-size: 4rem;
    margin-bottom: 0;
}

.subtitle {
    margin-top: 0.2em;
}

/* --- Menu --- */
.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 1em 0 0 0;
    display: flex;
    gap: 20px;
}

.main-menu ul li {
    display: flex;
    align-items: stretch; /* makes all buttons same height */
}

/* --- Menu Buttons (both <a> and <button>) --- */
.menu-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #975439;
    text-decoration: none;
    border: 1px solid #9cb4f1;
    background: #111;
    cursor: pointer;
    height: 40px; /* fixed height for consistency */
}

.menu-btn:hover {
    background: #ffc75f;
    color: #111;
}

/* Ensure button has same styles as <a> */
#about-btn {
    all: unset;        /* optional, removes default button styles */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #975439;
    border: 1px solid #9cb4f1;
    background: #111;
    cursor: pointer;
    height: 40px;
}

#about-btn:hover {
    background: #ffc75f;
    color: #111;
}
/* --- About Screen --- */
#about-screen {
    display: none;
    position: fixed;      /* stay on top of everything */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    color: #fff;
    z-index: 1000;        /* higher than header/footer */
    overflow: auto;
    padding: 80px 20px;
    box-sizing: border-box;
}

#about-screen .description-section-content {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    padding: 2em 3em;
}


#about-screen h2 {
    margin-top: 0;
}

.esc-note {
    margin-top: 2em;
    font-style: italic;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    z-index: 10;
}
/* ================================
   Styles for File Upload + Parser
   ================================ */

.upload-panel {
    margin-top: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-bottom: 100px;
}

.upload-panel.visible {
    display: flex;
}

.upload-panel input {
    color: #919191;
    font-family: 'Courier New', Courier, monospace;
}

.upload-status {
    margin: 0;
}

.upload-output {
    max-width: 700px;
    width: 90vw;
    max-height: 220px;
    overflow: auto;
    background: #000;
    padding: 10px;
    border: 1px solid #9cb4f1;
    text-align: left;
    color: #eaeaea;
    border-radius: 6px;
    white-space: pre-wrap;
}

/* --- Game Container --- */
#game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #111;
}

