.page {
    width: 100%;
    height: 100%;
}

.luckywheel-game {
    overflow: hidden;
    position: relative;
    display: flex;
    background-size: cover !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    object-fit: fill;
    z-index: 100;
}
.peg,
.wheelSVG {
    visibility: hidden;
}
.wheelContainer {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.wheelContainer {
    position: absolute;
    max-width: 470px;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wheelSVG {
    position: absolute;
    overflow: visible;
    width: 100%;
    height: auto;
    left: 50%;
    transform: translate(-50%, 0);
}
.wheelText {
    /* text-anchor: middle; */
    font-family: "Fjalla One", Arial, sans-serif;
    -webkit-user-select: none;
    user-select: none;
    font-weight: bold !important;
    /* font-size: 2.7em !important; */
    fill: rgb(14 12 173) !important;
    /* writing-mode: tb; */
}

.wheelText tspan {
    text-anchor: middle;
    text-shadow: 0 1px 1px hsla(0, 0%, 100%, 0.6);
}

.spinBtn .btn-img {
    width: 40%;
    height: 53.1px;
    margin: 0 auto;
    cursor: pointer;
    background-image: url(../images/button.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transition: all 0.2s ease-in-out;
}
.spinBtn .btn-img:hover {
    background-image: url("../images/button-hover.png");
}

.spinBtn .btn-img {
    animation: zoom 1.3s infinite;
}

@keyframes zoom {
    0% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

.g-action{  
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    gap: 20px;
    padding: 20px;
    z-index: 100;
}
/* popup */
.g-popup {
    width: 300px;
}

.g-popup .g-popup-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    position: relative;
}

.g-popup.g-popup-1 .g-popup-content,
.g-popup.g-popup-2 .g-popup-content {
    width: 300px;
    max-height: 100%;
}

.g-popup .g-popup-content.scroll {
    height: auto;
    min-height: 100px;
    max-height: calc(100% - 40px);
}

.g-popup .g-popup-content.scroll .g-popup-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.g-popup .g-popup-content.scroll .g-popup-body::-webkit-scrollbar {
    display: none;
}

.g-popup a.g-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff !important;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    opacity: 1 !important;
    text-shadow: none;
    font-weight: 400;
}

.g-popup a.g-close:hover {
    background: red;
}

.g-popup .g-popup-header a.g-close {
    top: 20px;
    right: 20px;
}

.g-popup .g-popup-body {
    width: 100%;
    flex-grow: 1;
    padding: 15px;
}

.g-popup.g-popup-1 .g-popup-content,
.g-popup.g-popup-2 .g-popup-content {
    width: 300px;
    max-height: 100%;
}

.g-popup.g-popup-1 .g-popup-content .g-popup-body,
.g-popup.g-popup-2 .g-popup-content .g-popup-body {
    overflow: auto;
    max-height: 100%;
}

.g-popup.g-popup-1 .g-popup-content .g-popup-body::-webkit-scrollbar,
.g-popup.g-popup-2 .g-popup-content .g-popup-body::-webkit-scrollbar {
    display: none;
}

.g-popup .g-popup-header {
    width: 100%;
    height: 67px;
    background-image: url(../images/bg_popup1_top.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top;
}

.g-popup .g-popup-body {
    background-image: url(../images/bg_popup1_center.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: 50%;
    padding: 0 30px 10px;
}

.g-popup .g-popup-footer {
    width: 100%;
    height: 26px;
    background-image: url(../images/bg_popup1_bottom.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
}

.g-popup.g-popup-full .g-popup-content {
    width: 80%;
    max-width: 100%;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/*  */

.show-award {
    position: relative;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
}

.show-award-content {
    border-radius: 12px;
    opacity: 1;
    position: absolute;
    overflow: hidden;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-align: center;
    width: 1200px;
    padding: 20px 20px;
    width: 650px;
    max-width: 650px;
    height: 500px;
    z-index: 97;
    background: #fff;
    border: none;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 50px;
}

.wrap-reward {
    width: 95%;
    height: 72%;
    border: 1px solid #dad9d9;
    border-radius: 6px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap-reward img {
    object-fit: contain;
}

/*  */
.g-turn {
    width: 150px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 10px auto 15px;
    margin-top: 127%;
    margin-bottom: 7px;
}

/*  */

.rules {
    position: fixed !important;
    top: 10px;
    left: 10px;
    background: #00000073;
    padding: 5px;
    color: #ffffff;
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    font-size: bold;
    width: 65px;
}

.rules i,
.history i,
.lookup i {
    font-size: 25px !important;
}

a.g-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff !important;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    opacity: 1 !important;
    text-shadow: none;
    font-weight: 400;
    text-decoration: none !important;
}
.g-popup-content {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    position: relative;
}

.g-popup-content.scroll {
    height: auto;
    min-height: 100px;
    max-height: calc(100% - 40px);
}
/*  */

.history {
    position: fixed !important;
    top: 10px;
    right: 10px;
    background: #00000073;
    padding: 5px;
    color: #ffffff;
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    font-size: bold;
    width: 65px;
}

.lookup {
    /* position: fixed !important; */
    top: 10px;
    left: calc(50% - 550px);
    z-index: 10000000;
    background: #00000073;
    padding: 5px;
    color: #ffffff;
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    font-size: bold;
    width: 65px;
}

/*  */

.g-popup-code-award {
    width: 350px !important;
}

.language {
    /* position: fixed !important; */
    top: 10px;
    left: calc(50% - 450px);
    z-index: 10000000;
    background: #00000073;
    padding: 5px;
    color: #ffffff;
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    font-size: bold;
    width: 65px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language #languageDropdown {
    color: #fff;
    text-decoration: none !important;
}

.g-popup-code-award .g-popup-content {
    max-width: 350px !important;
}

.gold-button {
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #000 !important;
    background: #27a827;
    box-shadow: 0px 4px 15.9px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    /* font-family: Arial, sans-serif; */
    position: relative;
    text-decoration: none !important;
    /*  animation: zoom 1.3s infinite; */
}

.gold-button:hover {
    color: #a00d0d;
}

.wheel-btn-cskh {
    display: block;
    width: 200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.wheel-btn-cskh a {
    color: black !important;
}

/* quay ngay */

.wheel-action-button {
    margin-top: 125%;
}
@media (max-width: 767.98px) {
    .wheel-action-button {
        margin-top: 130%;
    }

    .g-action{
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 10px;
        padding: 10px;
    }

    .g-popup {
        width: 100%;
    }

    .g-popup .g-popup-content {
        margin: 0 auto;
    }

    .rules,
    .history {
        top: 1% !important;
        z-index: 999;
    }

    .wheelContainer {
        max-width: 350px;
        transform: translate(-50%, -50%);
    }

    .g-turn {
        margin-top: 140%;
    }

    .rules {
        left: 2%;
    }

    .history {
        right: 2%;
    }

    .lookup {
        right: 2%;
        z-index: 999;
        width: 65px;
        font-size: 13px;
    }

    .lookup i{
        font-size: 20px
    }

    .spinBtn .btn-img {
        width: 47%;
    }

    .language {
        width: 65px;
        height: 25px;
        left: 2%;
        z-index: 999;
        font-size:13px
    }
}

@media only screen and (max-width: 480px) {
    .toast {
        padding: 0;
    }
    .toast p,
    .toast span {
        font-size: 18px;
        line-height: 1.5rem;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
    .toast {
        padding: 0;
    }
    .toast p,
    .toast span {
        font-size: 18px;
        line-height: 2rem;
    }
}

@media only screen and (min-width: 801px) {
    .toast p,
    .toast span {
        font-size: 18px;
        line-height: 3.5rem;
    }
}

@media only screen and (max-height: 480px) {
    .toast p,
    .toast span {
        font-size: 18px;
        line-height: 35px;
    }
}

@media only screen and (max-width: 768px) {
    .show-award-content {
        width: 100%;
        top: unset !important;
    }

    .toast p,
    .toast span {
        font-size: 18px;
        line-height: 35px;
    }

    .toast {
        height: 500px;
        transform: translateY(-50%);
        margin: 20px;
        width: calc(100% - 40px);
    }

    .award-list-container-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .prize-list {
        display: none !important;
    }

    .award-list-container {
        display: none;
    }

    .container-prize-award {
        height: 650px;
    }

    .background-footer {
        position: relative;
        z-index: 1;
    }

    .image-footer {
        z-index: 2;
        height: 300px !important;
    }

    .image-1 {
        bottom: -55px !important;
        height: 100px !important;
        background-size: contain;
        background-repeat: no-repeat;
        width: 100% !important;
        left: 0 !important;
    }

    .image-2 {
        width: 120px !important;
        bottom: 0px !important;
        left: 60px !important;
        z-index: 0 !important;
    }

    .image-3 {
        width: 150px !important;
        left: -20px;
        bottom: 0px !important;
    }
    .image-4 {
        width: 150px !important;
        z-index: 2 !important;
        bottom: 0px !important;
    }

    .image-5 {
        width: 150px !important;
        left: unset !important;
        bottom: 0px !important;
        z-index: 0;
        right: 30px !important;
    }

    .lixi{
        left: 50% !important;
        transform: translateX(-50%);
        top: 30%;
    }
}
