@import url("https://fonts.googleapis.com/css2?family=Girassol&display=swap");

.entry-content.single-page * {
    box-sizing: border-box;
}

.entry-content.single-page {
    height: 100%;
}

.entry-content.single-page {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.deal-wheel {
    --size: clamp(250px, 80vmin, 700px);
    --lg-hs: 0 3%;
    --lg-stop: 50%;
    --lg: linear-gradient(hsl(0deg 87.52% 49.16%) 0 var(--lg-stop), hsl(0deg 66.77% 34.34%) var(--lg-stop) 100%);

    position: relative;
    display: grid;
    grid-gap: calc(var(--size) / 20);
    align-items: center;
    grid-template-areas:
        "spinner"
        "trigger";
    font-family: "Girassol", sans-serif;
    font-size: calc(var(--size) / 21);
    line-height: 1;
    text-transform: lowercase;
    width: fit-content;

}

.deal-wheel>* {
    grid-area: spinner;
}

.shw-deal-wheel .spinner {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-areas: "spinner";
    width: var(--size);
    height: var(--size);
    transform: rotate(calc(var(--rotate, 25)* 1deg));
    border-radius: 50%;
    box-shadow: inset 0 0 0 calc(var(--size) / 40) hsl(0deg 0% 0% / 0.06);
    margin: 0;
    /* box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), 0 0px 5px 5px rgba(0, 0, 0, 0.2); */
    /* border: 10px solid #dab555; */
    background-image: var(--bg-spinner);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.shw-deal-wheel .spinner * {
    grid-area: spinner;
}

.shw-deal-wheel .prize {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 calc(var(--size) / 6) 0 calc(var(--size) / 12);
    width: 50%;
    height: 50%;
    transform-origin: center right;
    transform: rotate(var(--rotate));
    user-select: none;
    margin: 0 !important;
}

.shw-deal-wheel .prize span.text {
    color: #ffffff;
    font-size: 1.5rem;
    text-shadow: -1px -1px 0 #585651, 1px -1px 0 #585651, -1px 1px 0 #585651, 1px 1px 0 #585651;
    transform: rotate(90deg);
}

.shw-deal-wheel .cap {
    --cap-size: calc(var(--size) / 4);
    position: relative;
    justify-self: center;
    width: var(--cap-size);
    height: var(--cap-size);
}

/* Hide select dropdown from SVG import file */
.shw-deal-wheel .cap select {
    display: none;
}

.shw-deal-wheel .cap svg {
    width: 100%;
}

.shw-deal-wheel .ticker {
    position: relative;
    left: calc(var(--size) / -7);
    width: calc(var(--size) / 10);
    height: calc(var(--size) / 20);
    background: var(--lg);
    z-index: 1;
    clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
    transform-origin: center left;
}

.btn-spin {
    color: hsl(0deg 0% 100%);
    background: var(--lg);
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-transform: inherit;
    padding: 0.9rem 2rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: opacity 200ms ease-out;
}

.btn-spin:focus {
    outline-offset: 2px;
}

.btn-spin:active {
    transform: translateY(1px);
}

.btn-spin:disabled {
    cursor: progress;
    opacity: 0.25;
}

/* Spinning animation */
.is-spinning .spinner {
    transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}

.is-spinning .ticker {
    animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


@keyframes tick {
    40% {
        transform: rotate(-12deg);
    }
}

.deal-wheel img {
    max-width: 70%;
}

/* Selected prize animation */
.prize.selected .text {
    color: white;
    animation: selected 800ms ease;
}

@keyframes selected {
    25% {
        transform: scale(1.25);
        text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
    }

    40% {
        transform: scale(0.92);
        text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
    }

    60% {
        transform: scale(1.02);
        text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
    }

    75% {
        transform: scale(0.98);
    }

    85% {
        transform: scale(1);
    }
}

#spin {
    font: 1.5rem / 0 sans-serif;
    user-select: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 15%;
    height: 15%;
    background: #fff;
    color: #fff;
    box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: 0.7s;
}

/* Login */
.shw-form-account .loginForm,
.shw-form-account .registerForm {
    margin: 0
}

.shw-form-account .form input {
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}


.shw-message {
    margin: 0 0 0;
    color: #796060;
    font-size: 1rem;
    font-weight: 500;
}

.shw-message a {
    color: #696969;
    text-decoration: none;
}

.swal2-validation-message {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Box Gift */

.box.shw-gift {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 440px;
}

.box.shw-gift::before {
    content: "";
    width: 440px;
    height: 440px;
    background-color: #89cff0;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.box.shw-gift .box-body {
    position: relative;
    height: 200px;
    width: 200px;
    margin-top: 185px;
    background-color: #cc231e;
    border-bottom-left-radius: 5%;
    border-bottom-right-radius: 5%;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
    background: linear-gradient(#762c2c, #ff0303);
}

.box.shw-gift .box-body .img {
    opacity: 0;
    transform: translateY(0%);
    transition: all 0.5s;
    margin: 0 auto;
    display: block;
    width: 150px;
    height: 150px;
}

.box.shw-gift .box-body.open {
    cursor: pointer;
    -webkit-animation: box-body 1s forwards ease-in-out;
    animation: box-body 1s forwards ease-in-out;
}

.box.shw-gift .box-body.open .img {
    opacity: 1;
    z-index: -1;
    transform: translateY(-157px);



}

.box.shw-gift .box-body.open .box-lid {
    -webkit-animation: box-lid 1s forwards ease-in-out;
    animation: box-lid 1s forwards ease-in-out;
}

.box.shw-gift .box-body.open .box-bowtie::before {
    -webkit-animation: box-bowtie-left 1.1s forwards ease-in-out;
    animation: box-bowtie-left 1.1s forwards ease-in-out;
}

.box.shw-gift .box-body.open .box-bowtie::after {
    -webkit-animation: box-bowtie-right 1.1s forwards ease-in-out;
    animation: box-bowtie-right 1.1s forwards ease-in-out;
}

.box.shw-gift .box-body::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 50px;
    background: linear-gradient(#ffffff, #ffefa0)
}

.box.shw-gift .box-lid {
    position: absolute;
    z-index: 1;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 90%;
    height: 40px;
    background-color: #cc231e;
    height: 40px;
    width: 220px;
    border-radius: 5%;
    box-shadow: 0 8px 4px -4px rgba(0, 0, 0, 0.3);
}

.box.shw-gift .box-lid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 50px;
    background: linear-gradient(#ffefa0, #fff)
}

.box.shw-gift .box-bowtie {
    z-index: 1;
    height: 100%;
}

.box.shw-gift .box-bowtie::before,
.box.shw-gift .box-bowtie::after {
    content: "";
    width: 83.3333333333px;
    height: 83.3333333333px;
    border: 16.6666666667px solid white;
    border-radius: 50% 50% 0 50%;
    position: absolute;
    bottom: 99%;
    z-index: -1;
}

.box.shw-gift .box-bowtie::before {
    left: 50%;
    -webkit-transform: translateX(-100%) skew(10deg, 10deg);
    transform: translateX(-100%) skew(10deg, 10deg);
}

.box.shw-gift .box-bowtie::after {
    left: 50%;
    -webkit-transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
    transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
}

@-webkit-keyframes box-lid {

    0%,
    42% {
        -webkit-transform: translate3d(-50%, 0%, 0) rotate(0deg);
        transform: translate3d(-50%, 0%, 0) rotate(0deg);
    }

    60% {
        -webkit-transform: translate3d(-85%, -230%, 0) rotate(-25deg);
        transform: translate3d(-85%, -230%, 0) rotate(-25deg);
    }

    90%,
    100% {
        -webkit-transform: translate3d(-119%, 225%, 0) rotate(-70deg);
        transform: translate3d(-119%, 225%, 0) rotate(-70deg);
    }
}

@keyframes box-lid {

    0%,
    42% {
        -webkit-transform: translate3d(-50%, 0%, 0) rotate(0deg);
        transform: translate3d(-50%, 0%, 0) rotate(0deg);
    }

    60% {
        -webkit-transform: translate3d(-85%, -230%, 0) rotate(-25deg);
        transform: translate3d(-85%, -230%, 0) rotate(-25deg);
    }

    90%,
    100% {
        -webkit-transform: translate3d(-119%, 225%, 0) rotate(-70deg);
        transform: translate3d(-119%, 225%, 0) rotate(-70deg);
    }
}

@-webkit-keyframes box-body {
    0% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }

    25% {
        -webkit-transform: translate3d(0%, 25%, 0) rotate(20deg);
        transform: translate3d(0%, 25%, 0) rotate(20deg);
    }

    50% {
        -webkit-transform: translate3d(0%, -15%, 0) rotate(0deg);
        transform: translate3d(0%, -15%, 0) rotate(0deg);
    }

    70% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }
}

@keyframes box-body {
    0% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }

    25% {
        -webkit-transform: translate3d(0%, 25%, 0) rotate(20deg);
        transform: translate3d(0%, 25%, 0) rotate(20deg);
    }

    50% {
        -webkit-transform: translate3d(0%, -15%, 0) rotate(0deg);
        transform: translate3d(0%, -15%, 0) rotate(0deg);
    }

    70% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }
}

@-webkit-keyframes box-bowtie-right {

    0%,
    50%,
    75% {
        -webkit-transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
        transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
    }

    90%,
    100% {
        -webkit-transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        box-shadow: 0px 4px 8px -4px rgba(0, 0, 0, 0.3);
    }
}

@keyframes box-bowtie-right {

    0%,
    50%,
    75% {
        -webkit-transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
        transform: translateX(0%) rotate(90deg) skew(10deg, 10deg);
    }

    90%,
    100% {
        -webkit-transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        box-shadow: 0px 4px 8px -4px rgba(0, 0, 0, 0.3);
    }
}

@-webkit-keyframes box-bowtie-left {
    0% {
        -webkit-transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
        transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
    }

    50%,
    75% {
        -webkit-transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
    }

    90%,
    100% {
        -webkit-transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
        transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
    }
}

@keyframes box-bowtie-left {
    0% {
        -webkit-transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
        transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
    }

    50%,
    75% {
        -webkit-transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
        transform: translate(-50%, -15%) rotate(45deg) skew(10deg, 10deg);
    }

    90%,
    100% {
        -webkit-transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
        transform: translateX(-100%) rotate(0deg) skew(10deg, 10deg);
    }
}

.box.shw-gift p.gift-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
}

div:where(.swal2-container).swal2-center>.swal2-popup {

    border-radius: 30px;
}

.shw-text-login,
.shw-text-login a {
    font-size: 2rem;
    font-weight: bold;
    color: #921d1d !important;
}

.shw-withdraw {
    position: fixed;
    right: 0;
    top: 25%;
    width: 270px;
    height: 181px;
    /* border: 1px solid #fdc943; */
    border-radius: 10px;
    padding: 10px;
    transition: all 1s ease;
    z-index: 2;
    background: #ffffff;
}

.shw-withdraw .amount span {
    display: block;
    background: #fdc943;
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    line-height: 2rem;
    padding: 5px 0;

}

.shw-withdraw a.btn-withdraw {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fdc943;
    margin-top: 10px !important;
    border: 1px solid #fdc943;
    display: block;
    border-radius: 5px;
}

.shw-withdraw .shw-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fdc943;
    margin-bottom: 10px !important;
    border: 1px solid #fdc943;
    display: block;
    border-radius: 5px;
}

.shw-withdraw .shw-hi-account {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fdc943;
    margin-bottom: 8px !important;
    display: block;
    border-radius: 5px;
    text-transform: uppercase;
}


@media screen and (max-width: 1100px) {

    .shw-withdraw {
        right: -270px;
    }

}

.shw-withdraw.open {
    right: 0;
}

.shw-withdraw.close {
    right: -270px;
}

.shw-withdraw .btn-close {
    position: absolute;
    left: -46px;
    top: calc(50% - 17px);
    width: 45px;
    /* background: red; */
    height: 35px;
}

.shw-withdraw .btn-close .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: rotate(90deg);
    cursor: pointer;
}

.shw-withdraw .btn-close .arrow span {
    display: block;
    width: 15px;
    height: 15px;
    border-top: 5px solid gold;
    border-left: 5px solid gold;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.shw-withdraw .btn-close .arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.shw-withdraw .btn-close .arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.quantity-spinner .quantity {
    margin: 0;
}


.shw-withdraw-body:before {
    content: '';
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    position: absolute;
    width: 99999px;
    height: 99999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /*border color, change middle color*/
    background-image: conic-gradient(rgba(0, 0, 0, 0), #fdc943, rgba(0, 0, 0, 0) 25%);
    /* change speed here */
    animation: rotate 4s linear infinite;
}

.shw-withdraw-body {
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    border: 1px solid #fdc943;
    border-radius: 10px;
    padding: 10px;
    transition: all 1s ease;
    z-index: 2;
    background: #ffffff;
}

.shw-withdraw-body:after {
    content: '';
    position: absolute;
    z-index: -1;
    /* border width */
    left: 5px;
    top: 5px;
    /* double the px from the border width left */
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    /*bg color*/
    background: #292a2e;
    /*box border radius*/
    border-radius: 7px;
}

@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

.waving-hand {
    animation-name: wave-animation;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave-animation {
    0% {
        transform: rotate(0.0deg)
    }

    15% {
        transform: rotate(14.0deg)
    }

    /* The following five values can be played with to make the waving more or less extreme */
    30% {
        transform: rotate(-8.0deg)
    }

    40% {
        transform: rotate(14.0deg)
    }

    50% {
        transform: rotate(-4.0deg)
    }

    60% {
        transform: rotate(10.0deg)
    }

    70% {
        transform: rotate(0.0deg)
    }

    /* Reset for the last half to pause */
    100% {
        transform: rotate(0.0deg)
    }
}

.password-wrapper {
    position: relative;
}

.toggle-button {
    display: inline-flex;
    position: absolute;
    top: 36%;
    transform: translateY(-50%);
    left: unset;
    right: 12px;
    cursor: pointer;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

#canvas-phao-hoa{

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}