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

    50% {
        transform: scale(1.1);
    }

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

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

    25% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.animate__shake {
    animation: tilt-shaking 0.5s linear infinite;
    margin-left: -3px;
    margin-top: 3px;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1300px;
    }
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row>*,
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    padding-left: 10px;
    padding-right: 10px;
}

html {
    font-size: 20px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #FFFEF5;
    background-color: #0C0B0B;
    background-image: url(../images/bgmain.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
}

body:not(.homepage) {
    background-size: cover;
}

.hidden {
    display: none !important;
}

.color {
    background: linear-gradient(180deg, #DAD5BE 16.86%, #8E7800 108.4%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.color-y {
    color: #FFE457;
}

a {
    color: #FFE457;
    text-decoration: none;
}

a span,
.btn span,
.name {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .2s;
    text-decoration: none;
}

a:hover span,
a:focus span,
.btn:focus span,
.btn:hover span {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    border-radius: 12px;
    font-size: 16px;
    background: transparent;
    background-image: url(../images/bg-btn.png);
    background-size: cover;
    padding: 13px 0;
    color: #fff;
    border: 0;
    font-weight: 800;
    line-height: 24px;
    width: 400px;
    max-width: 100%;
    text-align: center;
    box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.32) inset;
}

strong {
    font-weight: 800;
}

.relative {
    position: relative;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.max-630 {
    width: 630px;
    max-width: 100%;
    margin: auto;
}

.error {
    color: red;
}

::-webkit-scrollbar {
    width: 0;
    height: 30px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: transparent;
}

::-webkit-input-placeholder {
    /* Edge */
    color: #9C9883;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #9C9883;
}

::placeholder {
    color: #9C9883;
}

.scroll-y {
    overflow: hidden;
    overflow-y: scroll;
    max-height: 1000px;
}

.box,
.modal-content {
    border: 0;
    border-radius: 12px;
    background-image: url(../images/bg-box.png);
    background-size: cover;
    position: relative;
}

.box::after,
.modal-content:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -1px;
    background-image: linear-gradient(to right, #F3E07A, rgba(227, 195, 25, 49%), #FED500, rgba(227, 195, 25, 49%), #F3E07A);
    border-radius: 12px;
    opacity: 0.6;
}

.fw-600 {
    font-weight: 600;
}


/* Header */

.main-header {
    background-image: url(../images/bg-header.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 18px 0;
}

.main-header>* {
    flex: 1;
}

.logo,
.jackpot {
    text-align: center;
}

.jackpot {
    position: relative;
}

.jackpot .jp-b {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
}

.jackpot .jp-b img {
    animation: zoom 1s infinite alternate;
}

.user-login .wrapper {
    display: flex;
    gap: 12px;
}

.name {
    vertical-align: top;
    font-size: 20px;
    font-weight: 800;
}

.user-login img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}


/* Body */

#main-content {
    flex: 1;
    padding-bottom: 100px;
}

#main-game {
    padding-bottom: 140px;
}

.marquee {
    font-weight: 600;
    padding: 16px 0;
    width: 630px;
    max-width: 100%;
    background: linear-gradient(180deg, #FFFBE8 16.86%, #FED500 108.4%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    position: relative;
    margin: 0 auto 45px;
    border: 1px solid;
    border-image: linear-gradient(to right, rgba(237, 230, 193, 0.00), rgba(227, 195, 25, 0.4), rgba(237, 230, 193, 0.00)) 1;
}

.nav-tabs {
    border: 0;
    gap: 30px;
    margin-bottom: 68px;
    justify-content: center;
}

.nav-tabs .nav-link {
    background-image: url(../images/bg-nav.png);
    background-size: cover;
    border-radius: 12px;
    border: 0;
    line-height: 46px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 800;
    text-transform: capitalize;
    position: relative;
    min-width: 110px;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    z-index: -1;
    margin: -1px;
    background-image: linear-gradient(to right, rgba(237, 230, 193, 0.00), rgba(227, 195, 25, 0.4), rgba(237, 230, 193, 0.00));
    border-radius: 12px;
    opacity: 0.5;
}

.nav-tabs .nav-link span {
    background: linear-gradient(180deg, #DAD5BE 16.86%, #8E7800 108.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .2s;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: transparent;
    isolation: unset;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.nav-tabs .nav-item.show .nav-link::before,
.nav-tabs .nav-link.active::before {
    background-image: linear-gradient(to right, #F3E07A, rgba(227, 195, 25, 49%), #FED500, rgba(227, 195, 25, 49%), #F3E07A);
    inset: 0;
}

.nav-tabs .nav-item.show .nav-link span,
.nav-tabs .nav-link.active span {
    background: linear-gradient(180deg, #FFFBE8 16.86%, #FED500 108.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: inherit;
    line-height: 1;
    margin-bottom: 32px;
}

.sub-title {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    background: linear-gradient(180deg, #FFE500 -33.18%, #FFE500 38.68%, #FF7400 115.91%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 36px;
}

h3,
.modal-title {
    font-size: 26px;
    background: linear-gradient(180deg, #FFFBE8 0%, #FED500 91.54%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 32px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.title-be {
    font-size: 24px;
    padding: 12px 0;
    border: 1px solid;
    border-image: linear-gradient(to right, rgba(237, 230, 193, 0.00), rgba(227, 195, 25, 0.4), rgba(237, 230, 193, 0.00)) 1;
}

.text-guild {
    margin-bottom: 20px;
}

.text-guild p {
    margin-bottom: 12px;
    min-height: 48px;
}

.guild-mm {
    display: flex;
    align-items: center;
    gap: 40px;
}

.guild-mm>span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9C9883;
}

.guild-mm svg {
    vertical-align: middle;
    margin-left: 4px;
}

.color-black {
    color: #E8E8E8;
    font-weight: 600;
}

.tab-content {
    margin: 0 auto;
    height: 100%;
}

.tab-content::before {
    content: '';
    background: url(../images/b-tab.png) no-repeat;
    top: -48px;
    left: -42px;
    position: absolute;
    width: 82px;
    height: 74px;
}

.tab-pane {
    padding: 40px 32px;
    color: #E8E8E8;
}

.tab-pane form {
    text-align: center;
}

.form-label {
    margin-bottom: 6px;
    text-transform: capitalize;
    color: #FFFEF5;
    text-align: left;
    display: block;
}

.form-select:focus,
.form-input:focus {
    box-shadow: none;
    outline: none;
}


/* The container must be positioned relative: */

.custom-select {
    position: relative;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected.select-arrow-active span {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .2s;
    text-decoration: none;
}


/* Style the arrow inside the select element: */

.select-selected:after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(../images/fi-rr-caret-down.png) no-repeat;
}


/* Point the arrow upwards when the select box is open (active): */

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}


/* style the items (options), including the selected item: */

.select-selected,
.form-input {
    border-radius: 12px !important;
    border: 0;
    box-shadow: 0 0 0 1px rgba(237, 230, 193, 0.29);
    background: url(../images/bg-nav.png);
    background-size: cover;
    position: relative;
    width: 100%;
    padding: 12px 16px;
    color: #9C9883;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.select-selected.select-arrow-active,
.select-selected.selected {
    border-color: transparent;
}

.select-selected.selected span {
    background: linear-gradient(180deg, #FFFBE8 16.86%, #FED500 108.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.select-selected {
    cursor: pointer;
}

.select-selected::before,
.form-input::before {
    content: '';
    position: absolute;
    z-index: -1;
    margin: -1px;
    border-radius: 12px;
    opacity: 0.5;
}

.select-selected.selected::before,
.select-selected.select-arrow-active::before,
.form-input:focus::before {
    background-image: linear-gradient(to right, #F3E07A, rgba(227, 195, 25, 49%), #FED500, rgba(227, 195, 25, 49%), #F3E07A);
    inset: 0;
}

.form-input {
    color: #FFFEF5;
}


.select-selected:focus {
    box-shadow: none;
    outline: none;
}


/* Style items (options): */

.select-items {
    position: absolute;
    background: url(../images/bg-select.png);
    background-size: contain;
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 12px !important;
    padding: 12px 0;
    max-height: 205px;
    max-width: 380px;
    min-height: 205px;
    overflow: hidden;
    overflow-y: scroll;
}

.select-items div {
    padding: 8px 16px;
    cursor: pointer;
}


/* Hide the items when the select box is closed: */

.select-hide {
    display: none;
}

.select-items div:hover {
    background: rgba(197, 171, 60, 0.08);
}

.same-as-selected span {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.search-code {
    margin-bottom: 24px;
}

.search-code form {
    text-align: center;
}

.search-code,
.web-stat {
    padding: 24px;
}

.web-stat {
    color: #E4E4E4;
}

.web-stat p {
    margin: 0;
}

.web-stat p+p {
    margin: 12px 0 0;
}

#support,
#win-history {
    padding-bottom: 120px;
}

#support .box {
    padding: 36px 0 48px;
}

.win-content.box {
    padding: 32px;
}

.win-content table {
    min-width: 1000px;
}

.table-history table {
    min-width: 600px;
}

.table {
    color: #FFFEF5;
    margin: 0;
}

.table>:not(caption)>*>* {
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 32px;
}

.table>:not(caption)>*:not(:last-child)>* {
    padding: 0 0 22px;
}

.table>:not(:first-child) {
    border: 0;
}

.table thead>tr>* {
    padding: 0 0 20px;
    color: #9C9883;
    font-weight: normal;
    line-height: 24px;
}

.win-title {
    font-size: 14px;
    margin: 16px 0 0;
}

.result span {
    width: 31px;
    height: 32px;
    padding: 4px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.chanle2last~.result span {
    background: url(../images/cl2so.png) no-repeat;
}

.chanle~.result span {
    background: url(../images/cl.png) no-repeat;
}

.taixiu~.result span {
    background: url(../images/tx.png) no-repeat;
}

.guess1num~.result span {
    background: url(../images/1so.png) no-repeat;
}

.guess2num~.result span {
    background: url(../images/2so.png) no-repeat;
}

.accordion-item {
    background: transparent;
    border: 0;
}

.accordion-item+.accordion-item {
    margin-top: 20px;
}

.accordion-button {
    background: url(../images/bg-box.png);
    background-size: cover;
    border-radius: 12px !important;
    padding: 0 16px;
    line-height: 46px;
    font-size: 16px;
    font-weight: 800;
    position: relative;
}

.accordion-button span {
    background: linear-gradient(180deg, #DAD5BE 16.86%, #8E7800 108.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accordion-button:hover,
.accordion-button:focus {
    z-index: auto;
}

.accordion-button:not(.collapsed)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -1px;
    background-image: linear-gradient(to right, #F3E07A, rgba(227, 195, 25, 49%), #FED500, rgba(227, 195, 25, 49%), #F3E07A);
    border-radius: 12px;
    opacity: 0.7;
}

.accordion-button:not(.collapsed) span {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accordion-body {
    padding: 16px 0;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239C9883'%3E%3Cpath d='M18.7098 8.20998C18.6169 8.11625 18.5063 8.04186 18.3844 7.99109C18.2625 7.94032 18.1318 7.91418 17.9998 7.91418C17.8678 7.91418 17.7371 7.94032 17.6152 7.99109C17.4934 8.04186 17.3828 8.11625 17.2898 8.20998L12.7098 12.79C12.6169 12.8837 12.5063 12.9581 12.3844 13.0089C12.2625 13.0596 12.1318 13.0858 11.9998 13.0858C11.8678 13.0858 11.7371 13.0596 11.6152 13.0089C11.4934 12.9581 11.3828 12.8837 11.2898 12.79L6.70982 8.20998C6.61685 8.11625 6.50625 8.04186 6.38439 7.99109C6.26253 7.94032 6.13183 7.91418 5.99982 7.91418C5.8678 7.91418 5.7371 7.94032 5.61524 7.99109C5.49338 8.04186 5.38278 8.11625 5.28982 8.20998C5.10356 8.39734 4.99902 8.6508 4.99902 8.91498C4.99902 9.17917 5.10356 9.43262 5.28982 9.61998L9.87982 14.21C10.4423 14.7718 11.2048 15.0873 11.9998 15.0873C12.7948 15.0873 13.5573 14.7718 14.1198 14.21L18.7098 9.61998C18.8961 9.43262 19.0006 9.17917 19.0006 8.91498C19.0006 8.6508 18.8961 8.39734 18.7098 8.20998Z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
    background-image: url(../images/fi-rr-angle-small-down.png);
}

.accordion-button:focus {
    box-shadow: none;
}

.modal-content {
    padding: 32px;
    max-width: 480px;
}

.modal-header {
    padding: 0;
    margin-bottom: 20px;
    border: 0;
}

.modal-body {
    padding: 0;
    font-size: 16px;
}

.modal-title {
    font-size: 20px;
    line-height: 24px;
    margin: 0;
}

.modal-body p {
    margin-bottom: 8px;
}

.img-scan {
    display: block;
    margin: 20px auto;
}

#JackpotModal .modal-content {
    padding-top: 60px;
    padding-bottom: 38px;
}

#HistoryModal .modal-content {
    width: 813px;
    max-width: 100%;
}

#HistoryModal .modal-dialog {
    max-width: 813px;
}

#PayModal .modal-body p {
    margin: 0;
}

#PayModal .modal-body p+p {
    margin-top: 8px;
}

#CheckCodeModal .modal-body>div+div {
    margin-top: 4px;
}

#CheckCodeModal .modal-body p {
    margin: 16px 0 0;
}

.lose {
    color: rgba(223, 50, 50, 1);
}

.win {
    color: rgba(111, 212, 64, 1);
}

.img-jp {
    position: absolute;
    top: -44px;
    left: 0;
    width: 100%;
}

#JackpotModal .modal-title {
    margin-bottom: 20px;
}

.login-form>div,
.newpass-form>div {
    position: relative;
}

.login-form>div+div,
.newpass-form>div+div {
    margin-top: 24px;
}

.forgot-pass {
    margin-top: 12px !important;
    text-align: right;
}

.btn-showoff {
    position: absolute;
    padding: 0;
    border: 0;
    background: transparent;
    right: 16px;
    bottom: 14px;
    display: flex;
    font-size: 24px;
    color: #697780;
}

.reg-acc a {
    text-transform: capitalize;
}

.login-form .select-items {
    background: url(../images/bg-box.png);
    background-size: cover;
    min-height: 209px;
}

.login-form .btn,
.newpass-form .btn {
    width: 100%;
    padding: 14px 0;
}

.form-otp .form-group {
    display: flex;
    gap: 20px;
}

.input-otp {
    width: 67px;
    height: 67px;
    display: inline-block;
    text-align: center;
    color: #E8E8E8;
    border-radius: 12px;
    background: url(../images/bg-otp.png);
    background-size: cover;
    border: 1px solid rgba(237, 230, 193, 0.00);
    outline: none;
    font-size: 16px;
    font-weight: 600;
}

#UserModal .user-login .wrapper {
    align-items: center;
    margin-bottom: 32px;
}

.u-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-info a {
    border-radius: 12px;
    border: 1px solid rgba(237, 230, 193, 0.29);
    padding: 12px 16px;
    display: block;
    color: #FFFEF5;
    position: relative;
}

.list-info a::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 16px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239C9883'%3E%3Cpath d='M18.7098 8.20998C18.6169 8.11625 18.5063 8.04186 18.3844 7.99109C18.2625 7.94032 18.1318 7.91418 17.9998 7.91418C17.8678 7.91418 17.7371 7.94032 17.6152 7.99109C17.4934 8.04186 17.3828 8.11625 17.2898 8.20998L12.7098 12.79C12.6169 12.8837 12.5063 12.9581 12.3844 13.0089C12.2625 13.0596 12.1318 13.0858 11.9998 13.0858C11.8678 13.0858 11.7371 13.0596 11.6152 13.0089C11.4934 12.9581 11.3828 12.8837 11.2898 12.79L6.70982 8.20998C6.61685 8.11625 6.50625 8.04186 6.38439 7.99109C6.26253 7.94032 6.13183 7.91418 5.99982 7.91418C5.8678 7.91418 5.7371 7.94032 5.61524 7.99109C5.49338 8.04186 5.38278 8.11625 5.28982 8.20998C5.10356 8.39734 4.99902 8.6508 4.99902 8.91498C4.99902 9.17917 5.10356 9.43262 5.28982 9.61998L9.87982 14.21C10.4423 14.7718 11.2048 15.0873 11.9998 15.0873C12.7948 15.0873 13.5573 14.7718 14.1198 14.21L18.7098 9.61998C18.8961 9.43262 19.0006 9.17917 19.0006 8.91498C19.0006 8.6508 18.8961 8.39734 18.7098 8.20998Z'/%3E%3C/svg%3E");
    transform: rotate(-90deg);
}

.user-form {
    font-size: 14px;
}

.pagination {
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pagination .active a {
    background: linear-gradient(270deg, #FED500 -8.44%, #EDE6C1 188.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .2s;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
}

.pagination .prev img {
    transform: rotate(180deg);
}


/* Footer */

.copyright {
    padding: 20px 0 24px;
    background: url(../images/bg-footer.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.support-icon {
    width: 78px;
    height: 78px;
    background-size: cover;
    background-position: center;
    position: fixed;
    right: 40px;
    bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}