/* High-Contrast E-Ink Cabinet Theme */
body {
    font-family: monospace, Courier, serif;
    background-color: #ffffff;
    color: #000000;
    margin: 3%;
    padding: 0;
    font-size: 16px;
    line-height: 1.3;
}

.cabinet-frame {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* Text Drawing Alignment Blocks */
.marquee-art {
    font-size: 11px;
    line-height: 1.1;
    white-space: pre;
    display: inline-block;
    margin: 5px 0;
    text-align: left;
}

.controls-art {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 25px;
    color: #000000;
}

/* Terminal Information Window Layout */
.terminal-box {
    border: 2px solid #000000;
    padding: 10px;
    text-align: left;
    background-color: #ffffff;
    margin: 10px 0;
}

.terminal-line {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
}

.insert-label {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 20px 0 10px 0;
}

/* Cartridge Slot Menu Mechanics */
.cartridge-rack {
    margin: 10px 0;
}

.cartridge-link {
    display: block;
    text-decoration: none;
    color: #000000;
    margin-bottom: 15px;
}

.cartridge {
    border: 3px solid #000000;
    background-color: #ffffff;
    padding: 4px;
    position: relative;
    /* Touch Target Validation: clear 48px boundary min */
    min-height: 52px; 
}

/* Simulates the shape notch on old game cartridges */
.cart-notch {
    width: 25px;
    height: 10px;
    border-bottom: 3px solid #000000;
    border-right: 3px solid #000000;
    position: absolute;
    top: -1px;
    left: -1px;
    background: #ffffff;
}

.cart-label {
    border: 1px solid #000000;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-tag {
    background-color: #000000;
    color: #ffffff;
    padding: 2px 6px;
    font-weight: bold;
    font-size: 12px;
}

.game-title {
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}

/* Invert colors instantly on touch to give tactical arcade feedback */
.cartridge-link:active .cartridge {
    background-color: #000000;
    color: #ffffff;
}
.cartridge-link:active .game-tag {
    background-color: #ffffff;
    color: #000000;
}
.cartridge-link:active .cart-notch {
    background-color: #000000;
}

/* Performance Guardrails: strictly force off transitions */
* {
    transition: none !important;
    animation: none !important;
}
/* Keep all previous styles from your existing index.css, just add these rules down at the bottom */

.system-title-small {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
}

.boot-prompt {
    font-size: 13px;
    font-weight: bold;
    margin: 25px 0 15px 0;
    letter-spacing: 1px;
}

/* Large finger-friendly boot target button */
.btn-boot {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 16px;
    background-color: #000000;
    color: #ffffff;
    border: 3px solid #000000;
    font-family: monospace, Courier;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-boot:active {
    background-color: #ffffff;
    color: #000000;
}

.system-badge {
    font-size: 13px;
    font-weight: bold;
    background-color: #000000;
    color: #ffffff;
    display: inline-block;
    padding: 4px 12px;
    margin: 10px 0;
}
