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

:root {
    --main-text-color: #ffffff;
    --seccound-text-color: #000c1a;
    --web-bg: #962819;
    --web-img-bg: url(/web/sugoi888/images/bg-web.webp);

    /* navbar */
    --nav-gradient: linear-gradient(#7e1003 0%, #fb551b 100%);
    --user-info-box-topbar: linear-gradient(0deg, #fb551b 0%, #fe961b 100%) padding-box,
        linear-gradient(to bottom, #ec7525, #ff912f) border-box;
    --icon-reload-color: #fbe18a;

    /* toggle menu */
    --offcanvas: #4c0b00ab;
    --credit-bg: #340302;

    --announce-bg: linear-gradient(0deg, #ff611a 0%, #fe9619 100%);
    --left-menu: linear-gradient(to bottom, #f19106 0%, #db4814 100%);
    --left-menu-hover: linear-gradient(to bottom, #851e0f 0%, #e6430a 100%);
    --line-border-review: linear-gradient(to right, #e07b09 0%, #d94e13 100%);

    --modal-bg: linear-gradient(0deg, #8a4617 0%, #8a3607 100%);
    --modal-text-hightlight1: #571401;
    --modal-text-hightlight2: #571401;
    --modal-title: #ffffff;
    --btn-danger: #d7031c;
    --btn-success: #3c814b;
    --btn-change-password: #3c814b;

    --text-danger: #ff0007;
    --text-warning: #ffad33;
    --text-success: #4fec19;

    --footer-nav: #c43515;
    --card-jackpot-bg: #571401;
    --btn-withdraw: #d7031c;
    --btn-turnover: #f6c21e;
}

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: 80px;
    max-width: 30vw;
}

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

.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-color: 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-nav);
}

/* 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;
}

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

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

/* 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;
}

/* tab menu */
.nav-pills .nav-link {
    border-radius: 12px;
    padding: 12px;
    min-width: 100px;
    margin: 0 0 12px 0;
    color: var(--main-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--left-menu);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--main-text-color);
    background: var(--left-menu-hover);
}

.menu-tab .nav-link img {
    width: 100%;
    max-width: 60px;
}

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

/* 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%;
}

/* review */
.title-review {
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: .2rem;
    margin-top: 1rem;
}

.line-h {
    width: 85%;
    max-width: 600px;
    margin: 12px auto 0 auto;
    height: 3px;
    background: var(--line-border-review);
    border-radius: 50%;
}

/* 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;
}

/* ฝากถอน */
.modal-button-success.btn-withdraw {
    color: var(--main-text-color) !important;
    background: var(--btn-withdraw) !important;
}

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

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

.withdraw-text {
    color: var(--text-success) !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);
}

.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;
    }

    .spin-btn {
        max-width: 180px;
    }
}