.gaming-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px;
            background-color:black;
    z-index: -2;
  background-image: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZP12zwEjCnFOwex38WRCt1ajno1hpQspD1WBQIEzkm9RwuZXbWHzAZwFrkA2iPj-J8AbI2EJ0ltV_4jSmskcbpNcgvT5Z6LvbSKeSPFLZTqncp6Ne1HmsTvifCRVTJbGXDp5j9BpeN7ES/s400/dogfight2_playsample_opt.gif');
  background-repeat: no-repeat;
  background-size: fit;
  background-position: top-right ; /* or top right, center, bottom left, etc. */
  background-attachment: fixed;
        }
    
        .game-header {
            text-align: left;
            margin-bottom: 10px;
        }
        
        .game-header h1 {
            font-weight: bold;
            font-size: 2rem;
            margin: 5px 0;
            color: var(--branding);
        }
        
        .game-header span {
            font-size:0.6rem;
            color: #E0FFFF;
        }
        
        
        .video-section {
            display:flex;
            gap:10px;
            align-items: top;
            justify-content: start;
            margin: 5px 0;
            flex-wrap:wrap;
            overflow-x:hidden;
        }
        
        .video-desc {
            font-size: 1.1rem;
            color:#E0FFFF;
            margin-bottom: 10px;
            font-weight:bold;
        }
        
        .video-container {
            border-radius: 20px;
            border:2px solid var(--branding);
            overflow: hidden;
            width: 99%;
            max-width: 250px;
            aspect-ratio: 1/1;
        }
        
        .video-container iframe {
            max-height:250px;
            max-width:250px;
        }
        
        
        /* Games Grid */
        .solo-title {
            font-weight: bold;
            font-size: 1.5rem;
            margin:10px 0  5px;
            color:var(--branding);
        }
        
         .subtitle-solo {
            font-weight: bold;
            font-size: 0.75rem;
            color: #E0FFFF;
            margin:3px 1px;
        }
        
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 15px;
            padding: 5px 0;
        }
        
        .game-card {
            cursor: pointer;
            width: 100%;
            aspect-ratio: 1/1;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            background: #222;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
        }
        
        .game-card:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(13, 210, 250, 0.5);
        }
        
        .game-card img {
            object-fit: fit; border-radius: 10px; 
            transition: transform 0.3s ease;
            width: 100%;
            height: 100%;
        }
        
        .game-card:hover img {
            transform: scale(1.1);
        }
        
        .game-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.3s ease;
            padding: 5px;
            box-sizing: border-box;
        }
        
        .game-card:hover .game-title {
            background: rgba(0, 0, 0, 0.8);
        }
        
        .game-title h5 {
            font-size: 0.8rem;
            color: white;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
            width: 100%;
            text-align: center;
        }
        
        /* Popup Styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            flex-direction: column;
        }
        
        .popup-iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: #282c36;
            transition: opacity 0.5s ease;
        }
        
        .popup-close {
            position: fixed;
            top: 20px;
            right: 20px;
            background: red;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 5px;
            z-index: 10000;
            transition: transform 0.3s;
        }
        
        .popup-close:hover {
            transform: scale(1.1);
        }
        
        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .loading-spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 2s linear infinite;
        }
        
        .loading-text {
            margin-top: 10px;
            font-size: 16px;
            color: white;
            font-weight: bold;
            text-align: center;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Responsive Adjustments */
        @media (min-width: 768px) {
            
            .games-grid {
                display:grid;
                grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));  gap:8px; 
              
            }
            
            .game-title h5 {
                font-size: 0.9rem;
            }
        }
        
        
        .game-in {
    border: 1px solid var(--simple-color);
     background: rgba(0, 255, 224, 0.15);
    border-radius: 5px;
    padding: 5px 10px; display:inline-block;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size:13px;
    color: var(--light-text);
    font-weight: 500;
}

.game-in:hover {
 color:var(--branding);   
}

.game-in i {
    background: rgba(0, 255, 150, 0.1);
    color: #00ff96;
    margin-right:5px;
    font-size: 18px;
    padding:5px;
    border-radius: 5px;
}