@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;700&display=swap');

:root {
    --main-text-color: #ffffff;
    --seccound-text-color: #010d1d;
    --web-bg: #0d0101;
    --web-img-bg: url(/web/hd99/images/bg-web.webp);
    /* navbar */
    --nav-gradient: linear-gradient(0deg, #b8210d 0%, #440500 100%);
    --user-info-box-topbar: linear-gradient(0deg, #5f0306 0%, #560100 100%) padding-box,
        linear-gradient(to bottom, #efd266, #c59f3e) border-box;
    --icon-reload-color: #f8cb34;

    /* toggle menu */
    --offcanvas: #560001d3;
    --credit-bg: #fefcfd21;

    --announce-bg: linear-gradient(0deg, #560001 0%, #3d0001 100%);
    --line-gradient: linear-gradient(90deg, #9c672700, #fdf6ae80 32%, #dcc076 49%, #bd8d4280 65%, #fdf6ae00);
    --border-game: #8b6c39;

    --modal-bg: linear-gradient(to bottom, #580000 0%, #280000 74%);
    --modal-text-hightlight1: #210101;
    --modal-text-hightlight2: #210101;
    --modal-title: #ffffff;
    --btn-danger: #b12a38;
    --btn-success: #1a8754;
    --btn-change-password: #2ee049d4;

    --text-danger: #ee2222;
    --text-warning: #ffe684;
    --text-success: #83ed82;

    --footer-nav: #580000;
    --footer-center: #580000;
    --card-jackpot-bg: linear-gradient(#210101 0%, #560001 100%);
    --multi-login-bg: #010d1d;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    color: var(--main-text-color);
    max-height: 100%;
    min-height: 900px;
    background-color: var(--web-bg);
}

body:after {
    content: "";
    position: fixed;
    top: 0;
    height: 100vh;
    left: 0;
    right: 0;
    z-index: -1;
    background: var(--web-img-bg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

a {
    text-decoration: none;
    color: var(--main-text-color);
}

/* navbar */

nav {
    background: var(--nav-gradient);
}

.logo-img {
    max-height: 50px;
    max-width: 30vw;
}

.navbar-toggler {
    border: none;
    padding: 0;
    margin-right: 0.5rem;
}

.navbar-toggler svg {
    color: var(--main-text-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.credit-bg {
    background-color: var(--credit-bg);
}

/* button login */
.button-gd {
    background: var(--user-info-box-topbar);
    color: var(--main-text-color);
    padding: 2px 10px;
    border: 3px solid transparent;
    border-radius: 12px;
    display: inline-block;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.bi.bi-arrow-repeat,
.bi.bi-info-circle-fill {
    color: var(--icon-reload-color);
}

.menu-icon {
    width: 25px;
    height: auto;
}

.offcanvas.offcanvas-start {
    width: 250px;
    color: var(--main-text-color);
    background-color: var(--offcanvas);
}

/* footer */
.logo-nav-footer {
    width: 100%;
}

.ic-nav-footer {
    width: 43px;
    height: auto;
    margin-bottom: 6px;
}

.text-nav-footer {
    font-size: 12px;
}

.left-wrapper,
.right-wrapper {
    display: flex;
    align-items: flex-end;
    flex: 1;
    z-index: 2;
    height: 80px;
    padding-bottom: 6px;
    background: var(--footer-nav);
}

.left-wrapper {
    border-top-left-radius: 10px;
    border-top-right-radius: 22px;
}

.right-wrapper {
    border-top-right-radius: 10px;
    border-top-left-radius: 22px;
}

.left-wrapper div,
.right-wrapper div,
.right-wrapper a {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: var(--main-text-color);
    background-color: transparent;
}

.center-wrapper {
    display: flex;
    align-items: center;
    z-index: 2;
    width: 74px;
    height: 74px;
    margin: 0 8px 16px;
    padding-bottom: 8px;
    color: var(--main-text-color);
    border-radius: 50%;
}

.fake-center {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

.fake-center svg {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 108px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.fake-center svg path {
    fill: var(--footer-center);
}

/* footer new */
.footer-nav-bg {
    position: relative;
}

.footer-nav-bg img {
    width: 100%;
}

.footer-nav-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 12px 20px 6px 20px;
}

.content-item {
    width: 30%;
    display: flex;
    justify-content: space-between;
}

.content-center-item {
    width: 33%;
    padding: 0 16px 12px 16px;
}

/* multi contact */
.multi-contact {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    right: 0;
    bottom: 100px;
    width: 65px;
    height: 130px;
    padding: 8px;
    z-index: 1031;
    border-radius: 12px;
    background: var(--multi-login-bg);
}

.multi-contact img {
    width: 100%;
}

/* carousel */

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
    width: 12%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 50px;
    height: 50px;
}

.carousel-indicators {
    margin-bottom: -12px;
}

.carousel-indicators [data-bs-target] {
    height: 6px;
}

/* marquee */
.marquee-box {
    background: var(--announce-bg);
}

.marquee {
    font-size: 14px;
    line-height: 24px;
    height: 32px;
    display: flex;
    align-items: center;
}

/* slogan web */
.slogan {
    display: flex;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    font-size: 20px;
}

/* tab menu */
.nav-container .nav {
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 12px 0;
    display: grid;
    column-gap: 6px;
    grid-template-columns: auto auto auto auto;
}
.icon-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.icon-menu-item img {
    max-width: 80px;
}
.nav-container .nav img {
    width: 100%;
}
.nav-container {
    position: relative;
}
.nav-container::before, .nav-container::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--line-gradient);
}

/* tab content */
.tab-content {
    width: 100%;
    padding: 4px;
}

.game-img {
    width: 100%;
    border-radius: 16px;
    border: 2px solid var(--border-game);
}
#v-pills-minigame .game-img {
    border: none;
}

/* swiper */
.review-content {
    max-width: 1200px;
    margin: 0 auto;
}

swiper-container {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 30px;
}

swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

swiper-slide img {
    display: block;
    width: 100%;
}

/* modal style */
body .text-success {
    color: var(--text-success) !important;
}

body .text-warning {
    color: var(--text-warning) !important;
}

body .text-danger {
    color: var(--text-danger) !important;
}

/* modal */
/* คืนยอดเสีย */
.modal-content {
    background: var(--modal-bg);
    position: relative;
    border: none;
}

.modal-box {
    background: var(--modal-text-hightlight1);
}

.modal-box2 {
    background: var(--modal-text-hightlight2);
}

h3.modal-title {
    color: var(--modal-title) !important;
}

.modal-close-icon {
    font-size: 25px;
    color: var(--main-text-color) !important;
}

body .modal-button-danger {
    color: var(--main-text-color) !important;
    background: var(--btn-danger) !important;
}

body .modal-button-success {
    color: var(--main-text-color) !important;
    background: var(--btn-success) !important;
}

body .modal-light-button-success {
    color: var(--main-text-color) !important;
    background: var(--btn-change-password) !important;
}

.modal-image-promotion {
    width: 100%;
    border-radius: 8px;
}

.modal-image-promotion-receive {
    width: 40%;
}

.input-box {
    outline: none;
    background: var(--main-text-color) !important;
    color: var(--seccound-text-color) !important;
}

/* ฝากถอน */
.deposit-text {
    color: var(--text-danger) !important;
}

.withdraw-text {
    color: var(--text-success) !important;
}

#historyModal .tab-content {
    padding: 0;
}

.history {
    margin-bottom: 20px;
}

.history .nav-link.active,
.history .show>.nav-link {
    border-radius: 12px;
    background: var(--modal-text-hightlight1) !important;
}

.next-prev-box>button {
    outline: none;
    border: none;
    color: var(--seccound-text-color) !important;
    background: var(--main-text-color) !important;
}

.next-prev-box>button:first-child {
    border-radius: 6px 0 0 6px;
}

.next-prev-box>button:last-child {
    border-radius: 0 6px 6px 0;
    border-left: 1px solid var(--seccound-text-color) !important;
}

thead>tr>th {
    background-color: var(--modal-text-hightlight1) !important;
    color: var(--main-text-color) !important;
}

/* แนะนำเพื่อน */
.input-link {
    color: var(--main-text-color) !important;
    background: var(--modal-text-hightlight1) !important;
}

/* end modal style */

/* pocker && spin */
.img-pocker {
    width: 100%;
    height: auto;
}

.jackpot-bg {
    background: var(--card-jackpot-bg);
    border: 3px solid var(--border-game);
}

.condition {
    font-size: 18px;
}

@media screen and (max-width: 575px) {
    * {
        font-size: 12px;
    }

    .text-nav-footer,
    .nav {
        font-size: 10px;
    }

    .condition {
        font-size: 14px;
    }

    swiper-slide {
        background-position: center;
        background-size: cover;
        width: 160px;
        height: 160px;
    }

    .ic-nav-footer {
        max-width: 35px;
        height: auto;
        margin-bottom: 6px;
    }

    swiper-slide {
        background-position: center;
        background-size: cover;
        width: 200px;
        height: 200px;
    }
}