body.modal-is-open {
    overflow: hidden;
}

.spin-wheel-parent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 25, 55, 0.8);
    z-index: 1000000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    display: none;
}

.spin-wheel-parent.spin-open {
    display: flex;
}

.spin-close-button {
    padding: 5px;
    position: absolute;
    top: 5px;
    right: 6px;
    cursor: pointer;

}

.spin-close-button svg {
    width: 20px;
    height: 20px;
}

.wheel-wrapper {
    background: #02222f;
    width: 500px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    position: relative;

}

.wheel-wrapper .spin-info {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 24px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    color: #fff;
}

.wheel-wrapper :where(.wheel-container) {

    all: unset;
    aspect-ratio: 1 / 1;
    container-type: inline-size;
    direction: ltr;
    display: grid;
    position: relative;
    width: 100%;
    /* background: #000; */
    border-radius: 50%;
    border: 2px solid #7a9099;
}

.wheel-wrapper :where(.wheel-container)::after {
    background-color: rgb(131, 223, 255);
    clip-path: polygon(100% 50%, 0% 0, 0 100%);
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-100%);
}

.wheel-wrapper :where(.wheel-container)>* {
    position: absolute;
}

.wheel-wrapper button {
    aspect-ratio: 1 / 1;
    background: hsla(0, 0%, 100%, .8);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 5cqi;
    place-self: center;
    width: 34cqi;
}

.wheel-wrapper ul {
    all: unset;
    clip-path: inset(0 0 0 0 round 50%);
    display: grid;
    inset: 0;
    place-content: center start;
}

.wheel-wrapper li {
    align-content: center;
    aspect-ratio: 1 / calc(2 * tan(180deg / 12));
    background: hsl(calc(360deg / 12 * calc(var(--idx))), 100%, 75%);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    display: grid;
    font-size: 5cqi;
    grid-area: 1 / -1;
    padding-left: 0ch;
    rotate: calc(360deg / 12 * calc(var(--idx) - 1));
    transform-origin: center right;
    user-select: none;
    width: 50cqi;
    height: 28cqi;
}

.wheel-wrapper li:nth-of-type(1) {
    --idx: 1;
}

.wheel-wrapper li:nth-of-type(2) {
    --idx: 2;
}

.wheel-wrapper li:nth-of-type(3) {
    --idx: 3;
}

.wheel-wrapper li:nth-of-type(4) {
    --idx: 4;
}

.wheel-wrapper li:nth-of-type(5) {
    --idx: 5;
}

.wheel-wrapper li:nth-of-type(6) {
    --idx: 6;
}

.wheel-wrapper li:nth-of-type(7) {
    --idx: 7;
}

.wheel-wrapper li:nth-of-type(8) {
    --idx: 8;
}

.wheel-wrapper li:nth-of-type(9) {
    --idx: 9;
}

.wheel-wrapper li:nth-of-type(10) {
    --idx: 10;
}

.wheel-wrapper li:nth-of-type(11) {
    --idx: 11;
}

.wheel-wrapper li:nth-of-type(12) {
    --idx: 12;
}

.wheel-wrapper li.active-item {
    opacity: 0.9;
}

.wheel-wrapper li.active-item::before {
    background: linear-gradient(to right, #cfd7db, #ffffff, #ffffff, #ffffff) !important;

}

.wheel-wrapper li.active-item {
    background: rgb(255, 255, 255) !important;
}

.wheel-wrapper li {
    background: linear-gradient(to right, #000, rgb(21, 101, 138));
}

.wheel-wrapper li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    /* content: ""; */
}

.wheel-wrapper li:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(48, 182, 113, 0.7), rgba(48, 182, 113, 1)); */
    background-color: #285c87;
}

.wheel-wrapper li:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(48, 182, 113, 0.5), rgba(48, 182, 113, 0.8)); */
    background-color: #285c87;


}



/* .wheel-wrapper li:nth-of-type(1)::after { 
    background-image: url(images/animals/1.png);
    
}
.wheel-wrapper li:nth-of-type(2)::after { 
    background-image: url(images/animals/2.png);
}
.wheel-wrapper li:nth-of-type(3)::after { 
    background-image: url(images/animals/3.png);
}
.wheel-wrapper li:nth-of-type(4)::after { 
    background-image: url(images/animals/5.png);
}
.wheel-wrapper li:nth-of-type(5)::after { 
    background-image: url(images/animals/6.png);
}
.wheel-wrapper li:nth-of-type(6)::after { 
    background-image: url(images/animals/7.png);
}
.wheel-wrapper li:nth-of-type(7)::after { 
    background-image: url(images/animals/8.png);
}
.wheel-wrapper li:nth-of-type(8)::after { 
    background-image: url(images/animals/9.png);
}
.wheel-wrapper li:nth-of-type(9)::after { 
    background-image: url(images/animals/10.png);
}
.wheel-wrapper li:nth-of-type(10)::after { 
    background-image: url(images/animals/11.png);
}
.wheel-wrapper li:nth-of-type(11)::after { 
    background-image: url(images/animals/22.png);
}
.wheel-wrapper li:nth-of-type(12)::after { 
    background-image: url(images/animals/4.png);
} */

.wheel-wrapper li.active-item::after {
    background-color: rgba(255, 255, 255, 0.144);
}


/* css */
.are-you-human-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

}

.are-you-human-wrapper label {
    margin-bottom: 0px;
}

.are-you-human-wrapper .are-you-human-button {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    /* background-color: #285c87; */

    margin-left: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.are-you-human-wrapper .are-you-human-button.checked {
    border: 1px solid rgb(25, 163, 32);
    /* background-color: #285c87; */

}

.are-you-human-wrapper .are-you-human-button .are-you-human-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b5ecb8;
    display: none;
}

.are-you-human-wrapper .are-you-human-button.checked .are-you-human-result {
    display: flex;
}

.are-you-human-wrapper .are-you-human-button .are-you-human-result img {
    width: 60%;
}

.are-you-human-message {
    text-align: center;
    display: none;
    background: rgb(167, 50, 50);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.are-you-human-message.show {
    display: block;
}

.wheel-wrapper .spin-change-captcha-button {
    color: rgba(255, 255, 255, 1);
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.wheel-wrapper .spin-change-captcha-button svg {
    stroke: rgba(255, 255, 255, 0.7);
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.captcha-is-wrong-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 25, 55, 0.8);
    z-index: 1000000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.captcha-is-wrong-modal-wrapper.close {
    display: none;
}

.captcha-is-wrong-modal {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    /* background: rgba(48, 182, 113, 1); */
    background-color: #285c87;

    border-radius: 20px;
    color: #fff;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100000;
    text-align: center;
}



.rotate-button {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    background: #fff !important;
    color: #000000;
    padding: 0;
}