/* --- CONTAINER --- */
#game-container {
    width: 100%;
    max-width: 1000px;
    height: 100vh;
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 800px) {
    #game-container {
        height: 90vh;
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        background: rgba(10, 10, 10, 0.6);
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
    }
}

/* --- GLASS PANEL UTILITY --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* --- SCREENS --- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 1.5rem;
    padding-top: 5rem;
    text-align: center;
    transform: scale(0.95);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screen::-webkit-scrollbar {
    display: none;
}

.screen.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
    z-index: 10;
}