@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@font-face {
    font-family: "Buran USSR";
    src: url("../fonts/Buran_USSR.ttf") format("truetype");
}

body {
    font-family: "Sarabun", sans-serif;
    cursor: url(../cursor/point.cur), auto !important;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: #A33838;
    border-radius: 9px;
}

::-webkit-scrollbar-thumb:hover {
    background: #850D0D;
}

.btn:hover,
a:hover,
.playgame:hover {
    cursor: url(../cursor/link.cur), auto !important;
}

.navbar-brand>img {
    height: 45px;
}

.main-header {
    font-family: "Buran USSR" !important;
    background: black !important;
    box-shadow: none;
    border: 10px solid;
    border-image-slice: 1;
    border-width: 3px;
    border-image-source: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.navbar-nav .nav-link {
    font-size: 18px !important;
    color: #ffffff !important;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: black !important;
    background-image: url(../images/bg-submenu.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 15px;
}

.dropdown-menu {
    background-color: black !important;
}

.dropdown-menu .dropdown-item {
    color: #FFFFFF !important;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    color: black !important;
    background: url(../images/bg-submenu.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    padding-left: 40px;
}

.btn-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 5;
}

.btn-modal-close>img {
    width: 35px;
}

#pageModal-serverlist {
    background: url(../images/bg-serverlist.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#pageModal-download,
#pageModal-contact {
    background: url(../images/bg-contact.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#pageModal-login,
#pageModal-register,
#pageModal-profile,
#pageModal-forgotpass,
#pageModal-reset-password {
    background: url(../images/bg-login.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#pageModal-topup, 
#pageModal-gold,
#pageModal-topupHistory,
#pageModal-exchangeHistory {
    background: url(../images/bg-topup.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.notification-modal .modal-body {
    background: url(../images/bg-contact.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.swal-modal {
    background: url(../images/bg-contact.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.swal-icon--success:after,
.swal-icon--success:before,
.swal-icon--success__hide-corners {
    display: none;
}

.swal-footer {
    text-align: center;
}

.swal-button {
    width: 236px;
    height: 64px;
    
    background-image: url(../images/btn.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    border: none;
    color: black;
    font-family: "Buran USSR", sans-serif;
    font-size: 2.4rem;
    /*font-weight: 700;*/

    cursor: pointer;
    outline: none;
    position: relative;

    background-color: unset;

    display: flex;
    justify-content: center;
    align-items: center;
}

.swal-button:hover {
    background-image: url(../images/btn-hover.png);
}

.swal-button:not([disabled]):hover {
    background-color: unset;
}

.swal-button:focus {
    outline: none;
    box-shadow: none;
}

.swal-title {
    font-weight: unset;
    background: url(../images/topic.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    text-align: center;
    color: #FFFFFF;
    font-size: 20px;
    padding: 5px 15px;
}

.swal-text {
    color: black;
    text-align: center;
}

.swal-title:not(:first-child) {
    padding-bottom: 5px;
}

.swal-title:not(:last-child) {
    margin-top: 20px;
    margin-bottom: 13px;
}

.swal-content__input {
    background: url(../images/input-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: 0 !important;
    font-size: 16px;
    text-align: center;
}

.topic {
    background: url(../images/topic.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    text-align: center;
    color: #FFFFFF;
    font-size: 20px;
    padding: 5px 15px;
}

.btn-server-select {
    position: relative;
    background: url(../images/bg-server-select.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 100%;
    transition: 0.3s;
    text-align: left;
}

.btn-server-select:hover {
    background: url(../images/bg-server-selected.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.btn-server-select>span {
    font-family: "Buran USSR";
    font-size: 22px;
    text-transform: uppercase;
    padding-left: 10px;
}

.btn-server-select>img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    height: 55px;
    width: auto;
}

.btn-server-select.selected {
    background: url(../images/bg-server-selected.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.btn-download:hover>img {
    transition: 0.3s;
    transform: scale(1.1);
}

.btn-payment-select {
    height: 150px;
    background: url(../images/topup-idle.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    transition: 0.3s;
}

.btn-payment-select:hover, .btn-payment-select.selected {
    background: url(../images/topup-select.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.content {
    background: url(../images/background/bg-masthead.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.content>.section {
    position: relative;
    overflow-x: hidden;
    min-height: 100dvh;
    display: flex;
    align-items: start;
    padding-top: 100px;
}

.playgame {
    transition: 0.5s;
}

.playgame:hover {
    transform: scale(1.1);
}

.form-control {
    margin: auto;
    width: 75%;
    background: url(../images/input-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: 0 !important;
    font-size: 16px;
    text-align: center;
}

.form-control::placeholder {
    color: #d80505 !important;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: calc(100dvh - 10px);
    top: 0;
    background-image: url('');
    background-repeat: repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 99;
    pointer-events: none;
}

.form-auth {
    position: relative;
    z-index: 3;
}

.prop {
    position: absolute;
    z-index: 2;
}

.prop-login {
    top: -100px;
    left: -220px;
    width: 350px;
}

.prop-topup-l {
    bottom: 0px;
    left: -110px;
    width: 250px;
}

.prop-topup-r {
    bottom: 10px;
    right: -120px;
    width: 250px;
}

.prop-contact {
    bottom: 2%;
    right: 2%;
}

.prop-contact>img {
    width: 150px;
    transition: 0.3s;
}

.prop-contact>img:hover {
    transform: scale(1.1);
}

.qr-frame {
    background: url(../images/topup-idle.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    width: 35%;
}

.modal-backdrop {
    background-color: #000000 !important;
    opacity: 0.8 !important;
}

#all-server {
    max-height: 250px;
    overflow-y: scroll;
    padding-top: 10px;
}

@media only screen and (min-width: 768px) {

    /* Small Size */
    .banner {
        width: 75%;
    }

    .navbar-brand:hover {
        transform: scale(1.1);
        transition: 0.3s;
    }

    .main-header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar-nav .nav-link {
        text-transform: uppercase;
        min-width: 150px;
    }

    .navbar-nav .nav-link:hover {
        background-image: url(../images/bg-menu-hover.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;

    }

    .nav-item {
        text-align: center;
    }

    .content>.section {
        min-height: 100vh;
        /* align-items: center; */
    }

    #particles-js {
        height: calc(100vh - 10px);
    }
}

@media only screen and (min-width: 992px) {
    /* Medium Size */

}

@media only screen and (min-width: 1200px) {
    /* Large Size */

}

@media only screen and (min-width: 1600px) {
    /* Large Size */

}

@-webkit-keyframes logo {
    0% {
        transform: scale(1)
    }

    30% {
        transform: scale(.80)
    }

    60% {
        transform: scale(1)
    }
}

@keyframes logo {
    0% {
        transform: scale(1)
    }

    30% {
        transform: scale(.80)
    }

    60% {
        transform: scale(1)
    }
}

@-webkit-keyframes blink {
    0% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }

    25% {
        filter: brightness(2);
        filter: contrast(2);
        -webkit-filter: brightness(2);
        -webkit-filter: contrast(2);
    }

    50% {
        filter: brightness(0.5);
        filter: contrast(0.5);
        -webkit-filter: brightness(0.5);
        -webkit-filter: contrast(0.5);
    }

    75% {
        filter: brightness(2);
        filter: contrast(2);
        -webkit-filter: brightness(2);
        -webkit-filter: contrast(2);
    }

    100% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
}

@keyframes blink {
    0% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }

    25% {
        filter: brightness(2);
        filter: contrast(2);
        -webkit-filter: brightness(2);
        -webkit-filter: contrast(2);
    }

    50% {
        filter: brightness(0.5);
        filter: contrast(0.5);
        -webkit-filter: brightness(0.5);
        -webkit-filter: contrast(0.5);
    }

    75% {
        filter: brightness(2);
        filter: contrast(2);
        -webkit-filter: brightness(2);
        -webkit-filter: contrast(2);
    }

    100% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.playGameContent {
    flex-grow: 1;
    text-align: center;
    background-color: #000000;
}

#flashContent {
    height: calc(100vh - 44px);
    background-image: url('./../../assets/images/background_not_support.webp');
    background-repeat: no-repeat;
    z-index: 0;
    text-align: center;
}

.btn-confirm {
    width: 236px;
    height: 64px;

    background-image: url(../images/btn.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    border: none;
    color: black;
    font-family: "Buran USSR", sans-serif;
    font-size: 2.2rem;

    cursor: pointer;
    outline: none;
    position: relative;

    background-color: unset;

    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-confirm:hover {
    background-image: url(../images/btn-hover.png);
}

.btn-confirm:focus {
    outline: none;
    box-shadow: none;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
}

.dt-container.no-header .dt-scroll {
    border-top: none;
}

.dt-container.no-footer .dt-scroll {
    border-bottom: none;
}

.dt-top {
    padding: 0 0 1rem;
}

.dt-bottom {
    padding: 0;
}

.dt-top > nav:first-child,
.dt-top > div:first-child,
.dt-bottom > nav:first-child,
.dt-bottom > div:first-child {
    float: left;
}

.dt-top > nav:last-child,
.dt-top > div:last-child,
.dt-bottom > nav:last-child,
.dt-bottom > div:last-child {
    float: right;
}

.dt-length select {
    width: auto;
    display: inline-block;
    padding-left: 1.125rem;
    padding-right: 2.125rem;
    margin-right: 0.25rem;
}

.dt-length select:focus {
    padding-left: calc(1.125rem + -1px);
    padding-right: calc(2.125rem + -1px);
}

.dt-info {
    margin: 7px 0;
}

/* PAGER */
.dt-paging .dt-paging-button:hover {
    background-color: #eeeeee !important;
}

.dt-paging .dt-paging-button.current,
.dt-paging .dt-paging-button.current:focus,
.dt-paging .dt-paging-button.current:hover {
    background-color: #6200ea;
    color: white;
}

.dt-paging .dt-paging-button.disabled,
.dt-paging .dt-paging-button.disabled:focus,
.dt-paging .dt-paging-button.disabled:hover {
    cursor: not-allowed;
    opacity: 0.4;
}

.dt-paging .dt-paging-button.pager {
    font-weight: bold;
}

/* TABLE */
table.dataTable {
    border-collapse: collapse;
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td,
table.dataTable > tfoot > tr > th,
table.dataTable > tfoot > tr > td,
table.dataTable > tbody > tr > th,
table.dataTable > tbody > tr > td {
    vertical-align: top;
    padding: 1rem 1rem;
}

table.dataTable > thead > tr > th {
    vertical-align: bottom;
    text-align: left;
    border-bottom: none;
}

table.dataTable > tfoot > tr > th {
    vertical-align: bottom;
    text-align: left;
}

table.dataTable th {
    vertical-align: bottom;
    text-align: left;
}

table.dataTable th a {
    text-decoration: none;
    color: inherit;
}

.dt-orderable .dt-ordering {
    display: inline-block;
    height: 100%;
    position: relative;
    width: 100%;
}

.dt-ordering::before,
.dt-ordering::after {
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    right: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: 0.2;
}

.dt-ordering::before {
    bottom: 2px;
    border-top: 4px solid black;
}

.dt-ordering::after {
    top: -2px;
    border-bottom: 4px solid black;
}

.dt-asc .dt-ordering::after,
.dt-desc .dt-ordering::before {
    opacity: 0.6;
}

.dt-empty {
    text-align: center;
}

.dt-top::after,
.dt-bottom::after {
    clear: both;
    content: " ";
    display: table;
}

div.dt-container .dt-paging .dt-paging-button {
  box-sizing: unset;
  display: unset;
  min-width: unset;
  padding: unset;
  margin-left: unset;
  text-align: unset;
  text-decoration: unset;
  cursor: unset;
  color: unset;
  border: unset !important;
  border-radius: unset;
  background: unset;
}

div.dt-container .dt-paging .ellipsis {
  padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
}

div.dt-container .dt-paging .dt-paging-button:hover {
  color: unset;
  border: unset;
  background-color: #111;
  background: unset; /* Chrome,Safari4+ */
  background: unset; /* Chrome10+,Safari5.1+ */
  background: unset; /* FF3.6+ */
  background: unset; /* IE10+ */
  background: unset; /* Opera 11.10+ */
  background: unset; /* W3C */
}

div.dt-container div.dt-search select {
    margin-left: .5em;
    display: inline-block;
    width: auto;
}

.dt-processing.card {
    background-color: transparent;
    box-shadow: unset;
}

@media (max-width: 576px) {

    .modal-body {
        padding: 1rem !important;
        max-height: 100vh;
        overflow: visible !important;
    }
}

.page-link {
    color: #ffffff;
    background-color: #A33838;
    border: 1px solid #850D0D;
}

.page-link:hover {
    color: #ffffff;
    background-color: #850D0D;
    border-color: #850D0D;
}

.page-item.active .page-link {
    color: #ffffff;
    background-color: #850D0D;
    border-color: #850D0D;
}

.page-item.disabled .page-link {
    color: #ffffff;
    pointer-events: none;
    cursor: auto;
    background-color: #A33838;
    border-color: #850D0D;
}

.img-overlay-container {
    position: relative;
    display: block;
}

.img-overlay-text {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    white-space: nowrap;
}