.game-container {
    cursor: pointer;
    pointer-events: auto;
    aspect-ratio: 16/9;
    max-height: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .game-container {
        aspect-ratio: 3/4;
        max-height: none;
        width: 100%;
    }
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
    margin: auto;
    border-radius: 0.5rem;
    background-color: #000;
}

.game-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .game-controls {
        grid-template-columns: repeat(2, 1fr);
    }
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d3748;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
}

.control-btn:hover {
    background-color: #4a5568;
}

.control-btn svg {
    margin-right: 0.5rem;
}

.game-description {
    margin-top: 2rem;
    line-height: 1.6;
}

/* Mobile Adaptations */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .game-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .game-info {
        display: grid;
        grid-template-columns: minmax(80px, auto) 1fr;
        font-size: 0.875rem;
    }
    
    .game-description h2 {
        font-size: 1.25rem;
    }
    
    /* Mobile Sidebar Styles */
    #mobile-sidebar {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        background-color: rgba(26, 28, 44, 0.95);
        opacity: 0;
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
        width: 75%;
        max-width: 280px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 72px);
    }
    
    #mobile-sidebar.show {
        transform: translateX(0);
        opacity: 1;
    }
    
    #mobile-sidebar.hidden {
        display: block !important;
        transform: translateX(-100%);
        opacity: 0;
    }
    
    /* Mobile Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 40;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

#play-game-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.game-content {
    z-index: 5 !important;
    position: relative !important;
} 