/* SECTION GAMES */

.section__games {
    padding: 40px 0;
}

.games__container {}

.games__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    letter-spacing: 0.08em;
    color: rgba(71, 158, 88, 1);
    text-transform: uppercase;
}

.games__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 50.4px;
    color: rgba(42, 45, 42, 1);
    margin-top: 12px;
}

.games__items {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.games__item {
    width: 377px;
    border: 1px solid rgba(71, 158, 88, 1);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.games__item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: rgba(71, 158, 88, 1);
}

.games__img {
    width: 100%;
}

.games__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    color: rgba(66, 70, 66, 1);
    padding: 24px 0;
}

@media(max-width: 991.98px) {
    .games__item {
        width: 250px;
    }
}

@media(max-width: 767.98px) {
    .games__label {
        font-size: 14px;
        line-height: 16.94px;
    }

    .games__title {
        font-size: 28px;
        line-height: 39.2px;
    }

    .games__item {
        width: 155px;
    }

    .games__name {
        font-size: 18px;
        line-height: 25.2px;
    }

    .games__items {
        gap: 24px;
    }
}

/* SECTION PLAYERS */

.section__players {
    padding: 50px 0 90px 0;
}

.players__container {
    position: relative;
}

.players__left {
    max-width: 750px;
    width: 100%;
}

.players__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    letter-spacing: 0.08em;
    color: rgba(71, 158, 88, 1);
    text-transform: uppercase;
}

.players__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 50.4px;
    text-align: left;
    color: rgba(42, 45, 42, 1);
    margin-top: 12px;
}

.players__description-wrap {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.players__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    text-align: left;
    color: rgba(66, 70, 66, 1);
}

.players__right {
    position: absolute;
    bottom: -209px;
    right: 0;
}

.players__img {}

@media(max-width: 1199.98px) {
    .section__players {
        padding: 50px 0 0 0;
    }

    .players__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .players__left {
        max-width: 100%;
    }

    .players__right {
        position: relative;
        bottom: -150px;
        margin-top: -154px;
    }

}

.game-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.game-popup__content {
    background: url('../assets/slotbg.png');
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90%;
    max-height: 600px;
    
}

.game-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.game-popup__iframe {
    width: 100%;
    height: 100%;
    border: none;
}