* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-image: url(img/BGSPIN.jpg);
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hitamtimpa {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.534);
    position: absolute;
    z-index: 1;
}

a {
    text-decoration: none;
    width: 100%;
}

.bgwheel {
    width: 550px;
    height: 100vh;
    background: url('img/red_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    margin: auto;
}

.outspinwheel {
    position: relative;
    width: 350px;
    margin: auto;
    top: 190px;
    z-index: 0;
}

.rodaspn {
    position: absolute;
    top: 171px;
    left: 48px;
    width: 260px !important;
    animation: rotate 10s linear infinite;
}

.pointerspn {
    position: absolute;
    top: 230px;
    left: 105px;
    width: 150px !important;
}

.outspinwheel img {
    width: 100%;
}

.buttonwheel {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
    z-index: 2;
}

.buttonwheel img {
    width: 320px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: borderPulse 1s infinite ease-out;
}

@keyframes borderPulse {
    0% {
        filter: drop-shadow(0px 0px 5px yellow);
    }

    50% {
        filter: drop-shadow(0px 0px 15px yellow)
    }

    100% {
        filter: drop-shadow(0px 0px 5px yellow);
    }
}

.buttonwheel img:hover {
    animation: none;
    filter: brightness(1.5) drop-shadow(0px 0px 50px #feee93);
}

.moodalspinwl {
    width: 550px;
    height: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3;
}

.bodymodalspin {
    position: relative;
    color: white;
    background: #3a3a3a;
    padding: 20px 0 0 0;
    border-radius: 6px;
    width: 350px;
    box-shadow: 0 0 300px 10px #dfdfdf, 0 5px 5px black, inset 0 1px rgb(255 255 255 / 30%);
    opacity: 1;
    animation: munculbejo 0.5s;
}

@keyframes munculbejo {
    0% {
        box-shadow: none;
        opacity: 0.1;
        transform: scale(0.1);
    }

    50% {
        box-shadow: 0 0 300px 10px #dfdfdf, 0 5px 5px black, inset 0 1px rgb(255 255 255 / 30%);
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 300px 10px #dfdfdf, 0 5px 5px black, inset 0 1px rgb(255 255 255 / 30%);
        opacity: 1;
        transform: scale(1)
    }
}

.bodymodalspin h3 {
    width: 100%;
    text-align: center;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 25px;
    text-shadow: 0 3px 3px #00000047;
    color: #e8ebf3;
}

.formredeem {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.redduser input {
    width: 100%;
    border: 1px solid transparent;
    background: #dee5f7;
    padding: 10px 10px 10px 60px;
    border-radius: 3px;
}

.redduser {
    position: relative;
    width: 85%;
    overflow: hidden;
    border-radius: 3px;
    z-index: 3;
    margin: 5px 0;
}

.redduser .fas {
    position: absolute;
    left: 0;
    padding: 10px 15px;
    background: #670000;
    color: #dee5f7;
    height: 100%;
    font-size: 15px;
}

.redduser input:focus {
    outline: none;
    border: 1px solid #ffd470;
    box-shadow: 0 0 10px #ffd470;
    border-radius: 3px;
}

.redduser input::placeholder {
    letter-spacing: 2px;
}

.ruangbtn {
    width: 70%;
}

.ruangbtn img {
    width: 100%;
    transition: all 0.3s ease;
}

.ruangbtn img:hover {
    filter: brightness(1.5) drop-shadow(0px 0px 30px #feee936c);
}

.formredeem p {
    width: 85%;
    text-align: center;
    font-size: 10px;
    text-shadow: 1px 2px 2px #00000040;
    white-space: pre-line;
    line-height: 13px;
}

.ruangbtn a {
    display: flex;
    width: 100%;
}

.formredeem .kontkadmin {
    color: #fff39e;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 20px;
    font-size: 11px;
}

.kontkadmin .fab {
    margin-right: 5px;
}

.bodymodalspin .groupspin {
    width: 200px;
    position: absolute;
    top: -270px;
    left: 70px;
    z-index: 2;
}

.listwheel {
    position: relative;
    animation: fademuncul 1s;
    opacity: 1;
}

@keyframes fademuncul {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.listwheel img {
    width: 100%;
}

.bagianroda {
    width: 150px !important;
    top: 97px;
    left: 27px;
    position: absolute;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.bagianpointer {
    position: absolute;
    top: 127px;
    left: 53px;
    width: 100px !important;
}

.logol21 {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0b;
    border-radius: 0 0 6px 6px;
}

.logol21 img {
    width: 100px;
}

@media screen and (max-width: 768px) {
    .bgwheel {
        width: 100%;
    }

    .buttonwheel {
        width: 250px;
    }

    .buttonwheel img {
        width: 100%;
    }

    .moodalspinwl {
        width: 100%;
        padding-top: 30%;
    }

    .outspinwheel {
        width: 280px;
        top: 105px;
    }

    .rodaspn {
        top: 136px;
        left: 38px;
        width: 210px !important;
    }

    .pointerspn {
        top: 195px;
        left: 95px;
        width: 100px !important;
    }
}

@media screen and (max-width: 389px) {
    .buttonwheel {
        width: 220px;
    }

    .bgwheel {
        background-position: center;
        height: 90vh;
    }

    .moodalspinwl {
        padding-top: 50%;
    }

    .bodymodalspin .groupspin {
        left: 50px;
    }

    .outspinwheel {
        width: 250px;
    }

    .rodaspn {
        top: 123px;
        left: 35px;
        width: 185px !important;
    }

    .pointerspn {
        top: 180px;
        left: 87px;
        width: 80px !important;
    }
}

.alert {
    background-color: #b91e1e;
    text-align: center;
    padding: 7px;
}