/* ==================== ЭКРАН ХАБА ==================== */

#screenGamesHub {
    padding-top: 80px;
    padding-bottom: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    background: #000;
}

/* Интро-блок */
.hub-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 0 16px;
}

.hub-intro-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.hub-intro-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-intro-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hub-intro-title-accent {
    color: #FDC202;
}

.hub-intro-subtitle {
    font-size: 11px;
    color: #6b7daa;
    line-height: 1.3;
}

/* Разделитель */
.hub-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 10px 16px 14px 16px;
}

/* Баннер */
.hub-banner-container {
    padding: 0 12px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}

.hub-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.hub-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Сетка карточек */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 12px;
    width: 100%;
    box-sizing: border-box;
}

/* Карточка */
.game-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    transition: transform 0.25s ease;
    pointer-events: none;
}

.game-card:active img {
    transform: scale(0.96);
}

.game-card-locked {
    cursor: not-allowed;
}

.game-card-locked:active img {
    transform: none;
}