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

:root {
    --main-text-color: #ffffff;
    --seccound-text-color: #3b3b3b;
    --web-bg: #019682;
    --web-img-bg: url(/web/pgslot4289/images/bg-web.webp);
    --nav-gradient: linear-gradient(0deg, rgba(0, 200, 200, 1) 0%, rgba(0, 107, 107, 1) 100%);
    --credit-bg: #059191a3;
    --user-info-box-topbar: linear-gradient(0deg, #006c6c 0%, #00c4c2 100%) padding-box,
        linear-gradient(to bottom, #fcfafb, #fefefc) border-box;
    --icon-reload-color: #f5c41f;
    --offcanvas: #007272c1;
    --announce-bg: linear-gradient(0deg, rgba(0, 200, 200, 1) 0%, rgba(0, 94, 94, 1) 100%);
    --left-menu: linear-gradient(0deg, #00cacc 0%, #009496 100%);
    --left-menu-hover: linear-gradient(0deg, #8a5006 0%, #ffd741 100%);
    --line-border-review: linear-gradient(to right, #c8f5f2 0%, #bdf5ec 100%);
    --modal-bg: linear-gradient(0deg, #01af95 0%, #005b5a 100%);
    --modal-text-hightlight1: #005955;
    --modal-text-hightlight2: #338c86;
    --modal-title: #92ddcf;
    --btn-danger: #b12a38;
    --btn-success: #1b8755;
    --btn-change-password: #2ee04a;
    --text-danger: #ff0000;
    --text-warning: #f3c102;
    --text-success: #03ff00;
    --footer-nav: #22b298;
    --card-jackpot-bg: #007f80;

    --deposit-menu: linear-gradient(0deg, #245845 0%, #49a583 100%);
    --withdraw-menu: linear-gradient(0deg, #a12929 0%, #d45757 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: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 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 16px;
}

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

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

/* 3 menu promotion deposit withdraw */
.promotion-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.deposit-menu,
.withdraw-menu {
    padding: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deposit-menu {
    background: var(--deposit-menu);
}

.withdraw-menu {
    background: var(--withdraw-menu);
}

.ic-promotion-menu {
    width: 43px;
    height: auto;
    margin-bottom: 2px;
    animation: jello-horizontal 1.25s .35s infinite both
}

.ic-transaction-menu {
    width: 43px;
    height: auto;
    margin-right: 6px;
}

@keyframes jello-horizontal {

    0%,
    80%,
    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    10% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1)
    }

    20% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1)
    }

    30% {
        -webkit-transform: scale3d(1.15, .85, 1);
        transform: scale3d(1.15, .85, 1)
    }

    45% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1)
    }

    55% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1)
    }
}