.abp5_games_grid_site1 {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 60px 3%;
    box-sizing: border-box;
}

.abp5_games_grid_site1_inner {
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 48px;
}

.abp5_games_grid_site1_head {
    text-align: center;
}

.abp5_games_grid_site1_eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
}

.abp5_games_grid_site1_heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
}

.abp5_games_grid_site1_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: stretch;
}

.abp5_games_grid_site1_footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
}

.abp5_games_grid_site1_footer_item {
    background: transparent;
    padding: 40px 24px 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.abp5_games_grid_site1_footer_item_link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.abp5_games_grid_site1_footer_item_icon {
    width: 80px;
    height: 80px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abp5_games_grid_site1_footer_item_icon svg {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    fill: currentColor;
    color: rgba(218, 165, 32, 0.95);
    filter: drop-shadow(0 0 2px rgba(218, 165, 32, 0.8));
}

.abp5_games_grid_site1_footer_item_icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.abp5_games_grid_site1_footer_item_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.abp5_games_grid_site1_footer_item_desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.abp5_games_grid_site1_card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 40vh;
}

.abp5_games_grid_site1_card_link {
    display: block;
    position: absolute;
    inset: 0;
    text-decoration: none;
    color: inherit;
}

.abp5_games_grid_site1_card_bg {
    position: absolute;
    inset: 0;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.abp5_games_grid_site1_card:hover .abp5_games_grid_site1_card_bg {
    transform: scale(1.08);
}

.abp5_games_grid_site1_card_overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abp5_games_grid_site1_card_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.abp5_games_grid_site1_card_description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.abp5_games_grid_site1_decors {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
}

.abp5_games_grid_site1_decor {
    position: absolute;
    will-change: transform;
    overflow: visible;
}

.abp5_games_grid_site1_decor img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.abp5_games_grid_site1_decor_left {
    left: 0;
    width: 10%;
    top: 20%;
    transform: translate3d(var(--gg-left-x, 0px), var(--gg-left-y, 0px), 0);
}

.abp5_games_site1_decor_right {
    right: 0;
    width: 10%;
    bottom: 8%;
    transform: translate3d(var(--gg-right-x, 0px), var(--gg-right-y, 0px), 0);
}

@media (max-width: 991px) {
    .abp5_games_grid_site1_cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .abp5_games_grid_site1_footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .abp5_games_grid_site1_card {
        height: 40vh;
    }
}

@media (max-width: 600px) {
    .abp5_games_grid_site1 {
        padding: 40px 3%;
    }

    .abp5_games_grid_site1_inner {
        gap: 24px;
    }

    .abp5_games_grid_site1_cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .abp5_games_grid_site1_footer {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .abp5_games_grid_site1_footer_item {
        padding: 32px 20px 28px;
    }

    .abp5_games_grid_site1_footer_item_icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .abp5_games_grid_site1_footer_item_title {
        font-size: 18px;
    }

    .abp5_games_grid_site1_card {
        height: 40vh;
    }

    .abp5_games_grid_site1_card_overlay {
        padding: 24px 20px 20px;
    }

    .abp5_games_grid_site1_card_title {
        font-size: 18px;
    }

    .abp5_games_grid_site1_card_description {
        font-size: 13px;
    }
}
