body {
    background-image: url(../images/body-bg.jpg);
    background-size: cover;
    background-repeat: repeat;
    background-position: center center;
    font-family: "Chela One", system-ui;
    height: 100vh;
}

.main-part {
    text-align: center;
}

.main-part .logo {
    margin: 10px 0 0;
}

.spinner {
    position: relative;
    width: 100%;
}

.slot-container {
    background-size: cover;
    /* width: 585px; */
    height: 565px;
    margin: 0;
    overflow: hidden;
    border: 10px solid transparent;
    border-radius: 10px;
    background: linear-gradient(#02006b, #02006b) padding-box, linear-gradient(180deg, #66a6ff, #72c2ff, #88f6fe) border-box;
}

.lady-img-section {
    margin: 0 0 -49px 0;
}

.slot-container .spin-btn {
    border: none;
    background: none;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -55px;
    top: auto;
    animation: zoom-in-zoom-out 1s ease infinite, spin 8s linear infinite;
    width: 130px;
    height: 130px;
    margin: auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.slot-cell {
    width: 100%;
    height: 115px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    padding: 3px;
    margin: 0 auto 12px;
}

.slots-grid .slot-column {
    position: relative;
    top: 15px;
    overflow: hidden;
}

.slot-reel {
    width: 100%;
}

.text-wrapper.text-01 {
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    transform: scale(1.4);
}

.text-wrapper.text-01 img {
    animation: zoom-in-zoom-out 1s ease infinite;
}

@keyframes zoom-in-zoom-out {
    0% {
        scale: 100%;
    }

    50% {
        scale: 90%;
    }

    100% {
        scale: 100%;
    }
}

.text-wrapper.text-02 {
    z-index: 1;
    position: relative;
    margin: 0 -10px -40px;
    animation: rotate 2s ease-in-out infinite;
    -webkit-animation: rotate 2s ease-in-out infinite;
}



@keyframes rotate {
    0% {
        transform: rotate(1.5deg);
        -webkit-transform: rotate(1.5deg);
        -moz-transform: rotate(1.5deg);
        -ms-transform: rotate(1.5deg);
        -o-transform: rotate(1.5deg);
    }

    50% {
        transform: rotate(0);
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
    }

    100% {
        transform: rotate(1.5deg);
        -webkit-transform: rotate(1.5deg);
        -moz-transform: rotate(1.5deg);
        -ms-transform: rotate(1.5deg);
        -o-transform: rotate(1.5deg);
    }
}

.spin-modal-backdrop {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.84);
    opacity: 0;
    z-index: 1071;
    display: none;
}

.spin-modal {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: calc(100% - 40px);
    max-width: 760px;
    color: #fff;
    z-index: 1072;
    transition: all 1s;
    animation: glowing2 1500ms infinite;
    padding: 15px 30px;
    border: 8px solid #f6d641;
    border-radius: 20px;
    /* overflow: hidden; */
    background: rgba(1, 0, 41, 0.8);
    box-shadow: rgba(174, 20, 87, 0.8) 0px 0 49px 30px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    /* padding: 0; */
    margin-bottom: 20px;
    margin: 0 auto;
    overflow: hidden;
    padding: 25px 10px 0;
}


/* Jackpot Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.84);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-overlay .popup-content {
    background-image: url(../images/popup-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 855px;
    height: auto;
    padding: 60px 40px 40px 50px;
}

.jackpot-img {
    text-align: center;
    margin: -140px 0 10px 0;
    animation: zoom-in-zoom-out 1s ease infinite;
}

.jackpot-btn {
    position: relative;
    bottom: -20px;
    animation: zoom-in-zoom-out 1s ease infinite;
}

.jackpot-list ul {
    padding: 0;
    margin: 0 auto;
    width: 95%;
}

.jackpot-list ul li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0px 0 16px 0;
}

.jackpot-list ul li:last-child {
    margin: 0;
}

.jackpot-list ul li p {
    font-size: 28px;
    line-height: 36px;
    font-family: "Oswald";
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    text-transform: capitalize;
}

.jackpot-list h4 {
    font-size: 40px;
    line-height: 42px;
    font-family: "Oswald";
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0px 20px 0;
    text-align: center;
}

.jackpot-list ul li p {
    color: #fff;
}

.jackpot-list ul li p span {
    color: #f6ff00;
    text-transform: uppercase;
}

.spin-modal.open {
    top: 50%;
    transform: translate(-50%, -50%);
}

.jackpot-btn {
    text-align: center;
    margin: 0;
}

/* 
 .jackpot-btn a {
     font-size: 35px;
     line-height: 45px;
     font-family: "Oswald";
     font-weight: 600;
     text-transform: uppercase;
     border-radius: 10px;
     display: inline-block;
     text-decoration: none;
     color: #3cecaa;
     background: linear-gradient(to bottom, #ff1650 0%, #fec646 100%);
     padding: 10px 40px 15px;
     border: 4px solid #eebc46;
     animation: zoom-in-zoom-out 1s ease infinite;
     text-shadow: 2px 0 #2f0969, -2px 0 #2f0969, 0 2px #2f0969, 0 -2px #2f0969, 1px 1px #2f0969, -1px -1px #2f0969, 1px -1px #2f0969, -1px 1px #2f0969;
 } */

.popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1499px) {
    .main-wrapper {
        padding: 0 0 40px 0;
        overflow: hidden;
    }

    .spinner-wrapper {
        width: 220px;
        height: 330px;
    }

    .slot-cell {
        width: 125px;
        height: 114px;
        margin: 0 auto 10px;
        padding: 0;
    }

    .slot-container {
        height: 555px;
    }

    .slot-container .spin-btn {
        bottom: -40px;
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 1199px) {
    .text-wrapper.text-01 {
        transform: scale(1.2);
    }
}

@media (max-width: 991px) {
    .slot-container {
        margin: 0 auto;
    }

    .slot-container {
        height: 555px;
        width: 455px;
    }

    .text-wrapper.text-01 {
        width: 60%;
        margin: 15px auto;
    }

    .jackpot-list ul {
        width: 100%;
    }

    .jackpot-list ul li p {
        font-size: 26px;
        line-height: 34px;
    }

    .jackpot-list ul li {
        margin: 0px 0 10px 0;
    }

    .jackpot-img img {
        width: 46%;
    }

    .jackpot-btn {
        bottom: -5px;
    }

}

@media (max-width: 767px) {
    .jackpot-btn a {
        font-size: 45px;
    }

    .jackpot-list ul li p {
        font-size: 20px;
        line-height: 26px;
    }

    .jackpot-img img {
        width: 180px;
    }

    .popup-overlay .popup-content {
        width: 545px;
    }

    .jackpot-img {
        margin: -60px 0 0px 0;
    }

    .popup-overlay .popup-content {
        width: 565px;
        padding: 30px 40px 20px 40px;
    }

    .jackpot-list ul li {
        margin: 0px 0 10px 0;
    }

    .jackpot-btn .daftar-img img {
        width: 45%;
        margin: 0 auto;
    }

    .jackpot-btn {
        bottom: -10px;
    }

    .text-wrapper.text-01 {
        width: 100%;
        margin: 5px auto;
        transform: none;
    }

    .jackpot-list ul li img {
        width: 60px;
        height: auto;
    }

}

@media (max-width: 575px) {

    .jackpot-img img {
        width: 220px;
    }

    body {
        background-image: url(../images/mobile-body-bg.jpg);
    }

    .popup-overlay .popup-content {
        background-image: url(../images/mobile-popup-bg.png);
        width: 400px;
        height: 770px;
    }

    .jackpot-img {
        margin: -90px 0 20px 0;
    }

    .text-wrapper.text-01 {
        width: 100%;
    }

    .slot-container {
        width: 335px;
        height: 405px;
    }

    .slot-cell {
        width: 85px;
        height: 77px;
    }

    .slot-container .spin-btn {
        bottom: -40px;
        width: 90px;
        height: 90px;
    }

    .text-wrapper.text-01 {
        margin: 10px auto;
    }

    .text-wrapper.text-02 img {
        width: 80%;
    }

    .popup-overlay .popup-content {
        padding: 40px 30px 20px 30px;
    }

    .jackpot-btn .daftar-img img {
        width: 70%;
    }

    .jackpot-list ul li {
        margin: 0px 0 20px 0;
    }

    .jackpot-btn {
        bottom: -20px;
    }

    .popup-overlay .popup-content {
        top: 100px;
        position: relative;
    }
}

@media (max-width: 480px) {
    body {
        background-size: auto;
    }

    .spin-modal {
        top: -230%;
    }

    .main-part .logo {
        margin: 5px auto 0;
        width: 115px;
    }

    .spinner-wrapper {
        width: 310px;
        height: 454px;
        overflow: hidden;
    }

    .slot-container .spin-btn {
        width: 80px;
        height: 80px;
    }

    .text-wrapper.text-01 {
        width: 100%;
    }



    .jackpot-list ul li img {
        max-width: 40px;
    }

    .jackpot-list ul li {
        gap: 6px;
    }

    .jackpot-img {
        margin: -90px 0 10px 0;
    }

    .jackpot-list ul li p {
        font-size: 22px;
        line-height: 28px;
    }

    .spin-modal {
        padding: 15px 10px;
    }

    .jackpot-btn a {
        font-size: 25px;
    }

    .slot-container {
        width: 315px;
        height: 390px;
    }

    .slots-grid .slot-column {
        top: -24px;
    }

    .jackpot-btn .daftar-img img {
        width: 80%;
    }

    .slots-grid .slot-column {
        top: -5px;
    }

    .text-wrapper.text-02 {
        margin: 0 -10px -25px;
    }

    .text-wrapper.text-02 img {
        width: 95%;
    }



    .jackpot-list ul li {
        margin: 0px 0 15px 0;
    }

    .slots-grid {
        padding: 30px 10px 0;
    }
}

@media (max-width: 399px) {
    .spinner-wrapper {
        width: 245px;
        height: 367px;
        overflow: hidden;
    }
}

@media (max-width: 360px) {
    .slot-container {
        width: 285px;
        height: 335px;
    }

    .slots-grid .slot-column {
        top: -10px;
    }

    .slot-cell {
        width: 70px;
        height: 64px;
    }

    .slots-grid .slot-column {
        top: 0px;
    }

    .slot-container .spin-btn {
        width: 90px;
        height: 90px;
    }

    .jackpot-img img {
        width: 180px;
    }

    .jackpot-list ul li p {
        font-size: 20px;
        line-height: 24px;
    }

    .slots-grid {
        padding: 20px 10px 0;
    }

    .text-wrapper.text-02 {
        margin: 0 -10px -20px;
    }
}