.game-frame {
    /* Le cadre noir fixe */
    height: 37.5rem;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;    /* Centre l'image en Y */
    justify-content: center; /* Centre l'image en X */
}

.game-screen {
    /* L'image est entière, centrée, sans déformation */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
}

#comingSoon {
    /* L'overlay doit couvrir EXACTEMENT la zone de l'image ou du cadre */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-transform: uppercase;

    /* Centrage du texte */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Lisibilité */
    background-color: rgba(0, 0, 0, 0.7); /* Voile noir pour le contraste */
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 8rem;
    pointer-events: none;
    z-index: 10;
}

/* --- Responsive --- */

@media (max-width: 992px) {
    .game-frame { height: 25rem; border-width: 6px; }
    #comingSoon { font-size: 5rem; }
}

@media (max-width: 576px) {
    .game-frame { height: 18.75rem; border-width: 4px; }
    #comingSoon {
        font-size: 3rem;
        padding: 1rem;
        line-height: 1;
    }
}
