/* --- BASE ROOM SETTINGS --- */
body {
    background-color: #111111; /* Dark, midnight charcoal */
    color: #e8dcc4; /* Aged parchment */
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    line-height: 1.4;
}

/* --- THE TWO-COLUMN LAYOUT --- */
.room-container {
    display: flex;
    max-width: 900px;
    margin: 0 auto; /* Centers the layout on large screens */
    gap: 30px;
}

/* --- THE INVENTORY (SIDEBAR) --- */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    border-right: 2px dashed #4a0404; /* Deep burgundy divider */
    padding-right: 20px;
}

.sidebar h2 {
    font-size: 1.1em;
    color: #d4af37; /* Muted gold */
    margin-top: 0;
}

.nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.nav-links li {
    margin-bottom: 15px;
}

/* Link Styling */
a {
    color: #d4af37;
    text-decoration: none;
}

a:hover {
    color: #e8dcc4;
    background-color: #4a0404; /* Highlighting links like a text parser */
}

/* --- SYSTEM CONSOLE (METADATA) --- */
.system-console {
    font-size: 0.9em;
    border-top: 2px solid #4a0404;
    padding-top: 20px;
}

.metadata {
    color: #777; /* Dimmer text for meta info */
}

.button-hoard {
    margin-top: 20px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.button-placeholder {
    width: 88px;
    height: 31px;
    background-color: #1a1a1a;
    border: 1px solid #4a0404;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
}

/* --- THE MAIN VIEW (CONTENT) --- */
.main-content {
    flex-grow: 1;
}

/* --- THE SIERRA TEXT BOX --- */
.sierra-box {
    background-color: #1a1a1a; 
    border: 3px solid #4a0404; 
    box-shadow: 4px 4px 0px #000000; /* Hard, pixelated shadow */
    padding: 20px;
    margin-bottom: 30px;
}

.sierra-box p {
    margin-top: 0;
}

.log-list {
    list-style-type: square; /* Classic square bullets */
    padding-left: 20px;
}

.log-list li {
    margin-bottom: 10px;
}

/* --- RESPONSIVE DESIGN (FOR MODERN SCREENS) --- */
@media (max-width: 700px) {
    .room-container {
        flex-direction: column; /* Stacks the columns on mobile */
    }
    .sidebar {
        width: auto;
        border-right: none;
        border-bottom: 2px dashed #4a0404;
        padding-right: 0;
        padding-bottom: 20px;
    }
}



.reversed {
    transform: rotate(180deg);
}

/* --- TAROT SPREAD STATIC LAYOUT --- */
.card-slot {
    width: 130px; /* Locks the horizontal width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-slot p {
    min-height: 3em; /* Reserves exact vertical space for up to two lines of text */
    margin-top: 10px;
}

.card-meaning {
    font-size: 0.85em;
    color: #bfae8a; /* A slightly dimmer, aged parchment color */
    font-style: italic;
    margin-top: 5px;
    line-height: 1.3;
}