.games {
    background: url(../img/games/bg-games2.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
}
#gamesDetail {
    background: url(../img/games/bg-games2.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
}
.games .wrapperswip {
    position: relative;
    padding-top: 50px;
}
.games .bahan-swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}
.games .swiper-bahan {
    width: 100%;
    max-width: 1200px;
}
.games .swiper-bahan .img {
    position: relative;
    cursor: pointer;
}
.games .swiper-bahan .img .keranjang {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.games .swiper-bahan .img .bahan {
    width: 55%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.games .swiper-bahan .img p {
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: #25592a;
    border-radius: 15px;
    padding: 5px;
    width: auto;
}
.games .bahan-prev,
.games .bahan-next {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 3;
}
.games .bahan-prev i,
.games .bahan-next i {
    color: #25592a;
    font-size: 1.8rem;
}
.games .text {
    position: absolute;
    bottom: 15px;
    left: 50%;
    background-color: #25592a;
    padding: 30px;
    border-radius: 30px;
    transform: translateX(-50%);
    width: 75%;
}
.games .text h1 {
    color: #fff;
    font-size: 2.25rem;
    font-family: fertigoitalic;
    text-align: center;
}
.games .text p {
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 8px;
    text-align: center;
}
.games .text ul {
    list-style-type: none;
    list-style-type: none;
    margin-top: 8px;
    text-align: center;
}
.games .text ul li:first-child {
    font-weight: bold;
}
.games .text ul li {
    color: #fff;
    font-size: 1.2rem;
}
.games .text button {
    padding: 0;
    margin: 15px auto 0;
    display: block;
}
.games .text button.btn:active {
    padding: 0;
    margin-top: 8px;
    border-color: transparent;
}
.games .text button img {
    height: 65px;
}
.games #questionsModal .modal-content {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}
.games #questionsModal .modal-content span {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.games #questionsModal .modal-content span i {
    font-size: 1.2rem;
    color: #345e23;
}
.games #questionsModal .modal-content h1 {
    color: #345e23;
    font-family: fertigoitalic;
    font-size: 2rem;
}
.games #questionsModal .modal-content p {
    color: #345e23;
    font-family: fertigoitalic;
    font-size: 1rem;
    margin-top: 8px;
}
.games #questionsModal .modal-content .items {
    margin-top: 30px;
}
.games #questionsModal .modal-content .items .item {
    background: #659654;
    padding: 15px;
    height: 32vh;
    border-radius: 15px;
}
.games #questionsModal .modal-content .items .item img {
    width: 100%;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.games #questionsModal .modal-content .items .item p {
    color: #fff;
    margin-top: 15px;
    text-transform: capitalize;
}
.games #questionsModal .modal-content .wrap-btn {
    margin-top: 30px;
}
.games #questionsModal .modal-content .wrap-btn .close {
    background: #fff;
    border-radius: 15px;
    color: #345e23;
    width: 150px;
    font-weight: bold;
}
.games #questionsModal .modal-content .wrap-btn .choose {
    background: #345e23;
    border-radius: 15px;
    color: #fff;
    width: 200px;
    font-weight: bold;
    font-family: fertigoitalic;
}
.region-item {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.region-item.active {
    border: 4px solid #fbb03b;
    transform: scale(1.1);
}
.region-item.active img {
    transform: scale(1.1);
}
#gamesDetail .panci-dropzone {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: red; */
}
.steam-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20;
}
.steam {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(6px);
    animation: steamUp 1.8s ease-out forwards;
}
@keyframes steamUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.8);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -80px) scale(1.4);
    }
}
.box-ijo {
    background: #a9c872;
    border-radius: 24px;
    padding: 15px 30px;
    max-width: 960px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.box-ijo .bglottiewrap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 30px;
}
.box-ijo .bglottiewrap .lottie-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
}
.wrapperinfo {
    text-align: center;
}
.box-info {
    display: inline-flex;
    background: #a9c872;
    color: #25592a;
    padding: 10px 30px;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    align-items: center;
    justify-content: center;
    width: auto;
}

@keyframes popIn {
    0% {
        transform: translateX(-50%) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}
.box-swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.box-title {
    color: #25592a;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: capitalize;
    font-family: fertigoitalic;
}
.slot {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed #6a8f3c;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
}
.slot img {
    width: 70%;
    height: auto;
}
.slot .question {
    font-size: 32px;
    font-weight: 700;
    color: #3f5f2a;
}
.swiper-box {
    width: 100%;
    max-width: 700px;
}
.box-prev,
.box-next {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.box-prev i,
.box-next i {
    color: #25592a;
    font-size: 1.5rem;
}
#gameModal .modal-content h2 {
    color: #25592a;
    font-size: 2rem;
    font-family: fertigoitalic;
}
#gameModal .modal-content {
    background: rgba(255, 255, 255, 0.8);
}
#gameModal .modal-content p {
    color: #25592a;
    font-size: 1rem;
    font-family: fertigoitalic;
    margin-top: 8px;
}
#gameModal .modal-content button {
    background: #25592a;
    font-size: 1rem;
    border: none;
    font-family: fertigoitalic;
    margin: 30px auto 0;
    width: 200px;
}
#gameModal .modal-content .img {
    position: relative;
    margin-top: 15px;
}
#gameModal .modal-content .keranjang {
    height: 150px;
}
#gameModal .modal-content .bahan {
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#gameModalFinish .modal-content h2 {
    color: #25592a;
    font-size: 2rem;
    font-family: fertigoitalic;
}
#gameModalFinish .modal-content {
    background: rgba(255, 255, 255, 0.8);
}
#gameModalFinish .modal-content p {
    color: #25592a;
    font-size: 1rem;
    font-family: fertigoitalic;
    margin-top: 8px;
}
#gameModalFinish #modalFinishImg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 15px auto 0;
    border: 2px solid #25592a;
}
#gameModalFinish .modal-content .wrapbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}
#gameModalFinish .modal-content a {
    background: #25592a;
    color: #fff;
    font-size: 1rem;
    border: none;
    font-family: fertigoitalic;
    width: 200px;
    margin-right: 5px;
}
#gameModalFinish .modal-content #modalFinishBtn2 {
    background: #fff;
    color: #25592a;
}
.box-title .progress {
    font-weight: 400;
    opacity: 0.8;
    margin-left: 6px;
    text-align: center;
    background: transparent;
    display: block;
    font-size: 1rem;
    margin-top: 8px;
}
@media (orientation: portrait) {
    #gamesDetail {
        background: url(../img/bg-lodeh-game-mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .games {
        background: url(../img/bg-lodeh-game-mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .games .text {
        width: 90%;
    }
    .games .text h1 {
        font-size: 1.4rem;
    }
    .games .text p {
        font-size: 1.2rem;
    }
    .games .text button img {
        height: 55px;
    }
    .games #questionsModal .modal-content h1 {
        font-size: 1.5rem;
    }
    .games #questionsModal .modal-content p {
        font-size: 0.8rem;
    }
    .games #questionsModal .modal-content .items .col-6 {
        margin-bottom: 15px;
    }
    .games #questionsModal .modal-content .items .item {
        height: 100%;
        margin-bottom: 15px;
    }
    .games #questionsModal .modal-content .items .item p {
        font-size: 1rem;
    }
    .box-ijo {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: none;
        padding: 20px 16px;
        z-index: 5;
    }
    .box-info {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
    .box-swiper-wrapper {
        gap: 12px;
    }
    .swiper-box {
        max-width: 100%;
    }
    .slot {
        width: 64px;
        height: 64px;
    }
    .slot .question {
        font-size: 22px;
    }
    .box-prev,
    .box-next {
        width: 40px;
        height: 40px;
    }
    .box-prev i,
    .box-next i {
        font-size: 1.2rem;
    }
    .games .text p {
        font-size: 1rem;
    }
    .games .text ul li {
        font-size: 1rem;
    }
    #gameModalFinish .modal-content .wrapbtn a {
        font-size: 0.8rem;
    }
    .region-item.active {
        transform: scale(1.1);
    }
    .region-item.active img {
        transform: scale(1.1);
    }
}
