/* Game Page Layout Styles */

/* Prevent body scrolling on game pages */
body {
    overflow: hidden;
}

/* Override main content container margins for full-screen game display */
.main-content-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.main-content {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.game-page-container {
    display: flex;
    width: 100vw;
    height: calc(100vh - 60px); /* Subtract top menu height (60px) */
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    top: 60px; /* Position below the top menu */
    left: 0;
}

.game-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right-area {
    width: 250px;
    height: calc(100vh - 60px); /* Subtract top menu height (60px) */
    flex-shrink: 0;
    background-color: var(--color);
}

/* Iframe Sizing Classes */

.game-iframe-full {
    width: 100%;
    height: 100%;
    border: none;
}

.game-iframe-fitted {
    max-width: calc(100vw - 250px);
    max-height: calc(100vh - 60px); /* Subtract top menu height (60px) */
    border: none;
    aspect-ratio: var(--game-aspect-ratio);
    object-fit: contain;
}
