@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: #123c29;
    --web-img-bg: url(/web/panda888-laos/images/bg-web.webp);
    /* navbar */
    --nav-gradient: linear-gradient(#0f2e26 0%, #134e3c 100%);
    --user-info-box-topbar: linear-gradient(0deg, #023226 0%, #72a294 100%) padding-box,
        linear-gradient(to bottom, #dfdfdf, #dfdfe1) border-box;
    --icon-reload-color: #ffdb7a;

    /* toggle menu */
    --offcanvas: #0f2e26d8;
    --credit-bg: #c08c38;

    --announce-bg: linear-gradient(0deg, #144d3e 0%, #0f3027 100%);
    --left-menu: linear-gradient(#146238 0%, #075d2c 100%);
    --left-menu-hover: linear-gradient(#ffdb7a 0%, #c08c38 100%);
    --line-border-review: linear-gradient(to right, #c08c38 0%, #ffdb7a 100%);

    --modal-bg: linear-gradient(#103224 0%, #12503b 100%);
    --modal-text-hightlight1: #04231b;
    --modal-text-hightlight2: #04231b;
    --modal-title: #ffffff;
    --btn-danger: #b21822;
    --btn-success: #05a30e;
    --btn-change-password: #05a30e;

    --text-danger: #b21822;
    --text-warning: #e7bd75;
    --text-success: #88d84b;

    --footer-nav: linear-gradient(0deg, #c29935 0%, #c29935 60%, #ffdb7a 100%);
    --footer-center: #c29935;
    --card-jackpot-bg: linear-gradient(#103224 0%, #12503b 100%);

    --multi-login-bg: linear-gradient(to left, #103224 0%, #12503b 100%);
}

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);
    background-image: var(--web-img-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

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  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: 50px;
    height: 96px;
    padding: 8px;
    z-index: 1031;
    border-radius: 12px;
    background: var(--multi-login-bg);
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  }
  
  .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;
}

/* 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-image: var(--left-menu-hover);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.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: 5px;
    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;
}

/* ฝากถอน */
.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);
    border: 5px solid var(--icon-reload-color);
}

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