* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}


.tf-wheel-box {
    height: 385px;
    width: 385px;
    user-select: none;
    position: relative;
}

.tf-wheel-box.disabled #spin img {
    pointer-events: none;
}

.tf-wheel-box .wheel img {
    height: 100%;
    width: 100%;
}

.tf-wheel-box .wheel-board {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    top: 4px;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: transform 8s cubic-bezier(0.05, 0.98, 0.12, 1);
    transform: rotate(0deg);
}

.tf-wheel-box #spin {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.tf-wheel-box #spin img {
    cursor: pointer;
}

/* wheel modal */
.wheel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.tf-wheel-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: radial-gradient(72.79% 72.79% at 50% 27.21%, #012685 0%, #000114 100%), linear-gradient(0deg, #040644 0%, #040644 100%), #00011F;
    min-width: 920px;
    min-height: 538px;
    padding: 69px 40px;
    visibility: hidden;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;

}

.tf-wheel-modal.is-hiding {
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
}

.tf-wheel-modal.is-showing {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-open .wheel-overlay,
.modal-open .tf-wheel-modal {
    opacity: 1;
    visibility: visible;
}

.modal-open .tf-wheel-modal {
    transform: translate(-50%, -50%) scale(1);
}

.tf-wheel-modal .wheel-close {
    position: absolute;
    top: -11px;
    right: -7px;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #dc3545;
    padding: 0;
    background: #fff;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.tf-wheel-modal .wheel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    width: 100%;
}

.tf-wheel-text {
    max-width: 400px;
}

.tf-wheel-modal h2,
.tf-wheel-modal .wheel-content h2{
    font-size: 40px;
    line-height: 1.4;
    color: #FFF;
    font-weight: 600;
    margin: 0;
    margin-bottom: 8px;
}

.tf-wheel-modal .tf-wheel-text p {
    color: #fff;
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
}

.tf-wheel-modal .wheel-close:hover {
    color: #ff3b3b;
}

body.modal-open {
    overflow: hidden;
}

.tf-wheel-modal .claim-content {
    text-align: center;
}

.tf-wheel-modal .claim-content h2,
.tf-wheel-modal .success-content h2 {
    margin-bottom: 0;
    font-size: 40px;
    color: #fff;
}

.tf-wheel-modal .claim-content h3,
.tf-wheel-modal .success-content h3 {
    font-size: 26px;
    margin: 0;
    font-weight: 400;
    color: #fff;
    text-align: center;
}

.tf-wheel-modal .claim-content form {
    margin: 0 auto;
    margin-top: 40px;
    max-width: 420px;
    position: relative;
}

.tf-wheel-modal .claim-content form input[type="email"] {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    color: #000;
    border: 2px solid transparent;
    text-align: left;
}

.tf-wheel-modal .claim-content form input:focus {
    outline: none;
    border: 2px solid rgb(216, 54, 111);
}

.tf-wheel-modal .claim-content form input[type="submit"] {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    margin-top: 20px;
    background: rgb(216, 54, 111)!important;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    user-select: none;
}
.tf-wheel-modal.claim-content form input[type="submit"]:hover {
    background: rgb(183, 36, 88)!important;
}

.tf-wheel-modal .claim-content form p {
    margin: 0;
}
.tf-wheel-modal .claim-content form br{
    display: none;
}

.tf-wheel-modal .claim-content form .wpcf7-not-valid-tip {
    color: #fff;
    font-size: 14px;
    text-align: left;
    margin-top: 6px;
    line-height: 1;
}

.tf-wheel-modal .claim-content .wpcf7-response-output {
    color: #fff;
    margin-top: 16px!important;
}

.tf-wheel-modal .claim-content form .wpcf7-spinner {
    opacity: 1;
    background-color: #fff;
    margin-top: 16px;
    position: absolute;
    bottom: -35px;
    left: 0;
    margin: 0;
    display: none;
}

.tf-wheel-modal .claim-content form .wpcf7-spinner::before {
    background-color: #000;
}

.tf-wheel-modal .success-content {
    text-align: center;
}

.tf-wheel-modal .success-content img {
    max-width: 140px;
}

.tf-wheel-modal .claim-code-box {
    width: 300px;
    height: 110px;
    border: 2px dashed rgb(117, 117, 117);
    border-radius: 5px;
    margin: 50px auto 0;
    cursor: pointer;
    position: relative;
    padding: 4px;
    user-select: none;
}

.tf-wheel-modal .claim-code-box .claim-code {
    background: rgb(181, 170, 247);
    color: #5c637e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    font-size: 20px;
}

.tf-wheel-modal .claim-code-box svg {
    width: 42px;
    height: 40px;
    top: -10px;
    right: -25px;
    position: absolute;
}

.tf-wheel-modal .success-content a.tf-gift-link {
    color: #fff;
    margin-top: 32px;
    font-size: 18px;
    display: block;
    font-weight: 600;
    text-decoration: underline;
    outline: none;
}


@media (max-width: 1024px) {
    .tf-wheel-box {
        width: 380px;
        height: 380px;
    }

    .tf-wheel-box .wheel-board {
        top: 0;
    }

    .tf-wheel-box .wheel-board img {
        width: 304px;
    }

    .tf-wheel-box #spin img {
        width: 120px;
    }

    .tf-wheel-modal {
        min-width: 750px;
        min-height: 460px;
    }

    .tf-wheel-modal .wheel-content {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .tf-wheel-modal h2 {
        font-size: 28px;
    }

    .tf-wheel-modal p {
        font-size: 16px;
    }

}

@media only screen and (max-width: 767px) {
    .tf-wheel-modal {
        min-width: 95vw;
        padding: 40px 24px;
    }

    .tf-wheel-box {
        width: 300px;
        height: 300px;
        overflow: hidden;
    }

    .tf-wheel-box .wheel-board img {
        width: 238px;
    }

    .tf-wheel-box #spin img {
        width: 85px;
    }

    .tf-wheel-modal h2 {
        font-size: 24px;
    }

    .tf-wheel-modal .wheel-content {
        gap: 20px;
    }

    .tf-wheel-modal .tf-wheel-text p {
        font-size: 14px;
    }

    .tf-wheel-modal .claim-code-box {
        width: 280px;
        height: 90px;
        margin: 30px auto 10px;
    }

    .tf-wheel-modal .claim-content h3,
    .tf-wheel-modal .success-content h3 {
        font-size: 18px;
    }

    .tf-wheel-modal .claim-content form button {
        margin-top: 24px;
        margin-bottom: 6px;
    }
}

@media only screen and (max-width: 575px) {
    .tf-wheel-modal {
        min-height: 420px;
        max-height: inherit;
        padding: 32px 20px;
        width: 95%;

    }

    .tf-wheel-modal .wheel-content {
        flex-direction: column;
        text-align: center;
    }

    .tf-wheel-modal h2 {
        margin-bottom: 16px;
    }

    .tf-wheel-modal .tf-wheel-text {
        padding: 0;
    }
}