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

@font-face {
    font-family: "fc-friday";
    src: url("../fonts/FC-Friday/FC-Friday-Medium.ttf");
}
@font-face {
    font-family: "fc-friday-Italic";
    src: url("../fonts/FC-Friday/FC-Friday-Medium-Italic.ttf");
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("../images/bg.png");
    background-repeat: repeat-y;
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
    background-color: rgb(10, 10, 10);
    font-family: "Kanit", sans-serif;
}

/* ==== code for cuttom css ==== */
.font-nev {
    font-size: 1.15rem;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.02em;
}

.font-nev:hover {
    color: #5a4030;
}

.header-logo {
    max-width: 180px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.border-promotion {
    border: 1px solid #d0d0d0;
    border-radius: 1rem;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

.glowing-line {
    width: 50%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #827720,
        #fffefa,
        #827720,
        transparent
    );
    box-shadow: 0 0 5px 2px #786a28;
    border-radius: 50%;
}

/* chrome pill menu bar */
.bg-nav {
    justify-content: space-evenly !important;
    background: linear-gradient(
        180deg,
        #e6e6e6 0%,
        #ffffff 18%,
        #f4f4f4 45%,
        #cfcfcf 75%,
        #9a9a9a 100%
    );
    padding: 10px 2rem;
    border-radius: 4rem;
    border: 1px solid #7a7a7a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.6);
}

/* ==== code for login/register button ==== */
/* dark pill that holds both buttons */
.auth-btns {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 6px;
    background: linear-gradient(180deg, #1f150e 0%, #120c08 100%);
    border-radius: 4rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* chrome pill buttons */
.auth-btn-login,
.auth-btn-register {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    color: #2b2b2b;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(
        180deg,
        #9a9a9a 0%,
        #d6d6d6 14%,
        #f2f2f2 34%,
        #ffffff 46%,
        #cfcfcf 58%,
        #e9e9e9 76%,
        #9d9d9d 92%,
        #6f6f6f 100%
    );
    border: 1px solid #5a5a5a;
    border-radius: 4rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: filter 0.15s;
}

/* soft glossy band across the top half */
.auth-btn-login::before,
.auth-btn-register::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 6%;
    right: 6%;
    height: 38%;
    border-radius: 4rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

.auth-btn-login:hover,
.auth-btn-register:hover {
    color: #2b2b2b;
    filter: brightness(1.06);
}

.bg-mq {
    background: rgba(10, 8, 6, 0.85);
    padding: 4px 12px;
    border: 1px solid #c9c9c9;
    border-radius: 1.5rem;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.mq-label {
    color: #e0e0e0;
    font-weight: 600;
    padding-right: 8px;
}

/* ==== provider strip with arrows ==== */
.provider-box {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.provider-track {
    flex: 1;
    min-width: 0;
    align-self: center;
}

/* tall chrome tabs that span both rows */
.provider-nav {
    flex: 0 0 auto;
    width: 48px;
    border: 1px solid #6a6a6a;
    background: linear-gradient(
        90deg,
        #8c8c8c 0%,
        #d9d9d9 22%,
        #ffffff 45%,
        #e2e2e2 65%,
        #a8a8a8 100%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.6);
    color: #111;
    font-size: 1.8rem;
    padding: 0;
    transition: filter 0.15s;
}

.provider-nav i {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}

.provider-nav:hover {
    filter: brightness(1.08);
}

.provider-prev {
    border-radius: 1.6rem 0.6rem 0.6rem 1.6rem;
}

.provider-next {
    border-radius: 0.6rem 1.6rem 1.6rem 0.6rem;
}

#game .item img,
#game_2 .item img {
    border-radius: 0.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.slot-card {
    border: 1px solid #a7a7a7;
}

.hr-1 {
    height: 2px;
    background: linear-gradient(to right, transparent, #e6e6e6, transparent);
    width: 100%;
}

.bg-footer {
    background: linear-gradient(180deg, #ffffff 0%, #bdbdbd 100%);
    padding: 0 1rem;
    border-radius: 1.5rem;
}

.bg-small {
    background: linear-gradient(180deg, #3a2a1e 0%, #1a120c 100%);
    display: inline-flex;
    padding: 5px;
    border-radius: 1.5rem;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.border-banner-slot {
    background: rgba(20, 14, 10, 0.6);
    border: 2px solid #bdbdbd;
    padding: 10px;
    border-radius: 10px;
}
/* ==== end login/register button ==== */

/* ==== end cuttom css ==== */

/* === code for mobile-nav ===*/
#mobile-nav {
    position: fixed;
    min-height: 80px;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    padding-bottom: 0;
    padding-top: 0;
    background: rgb(103, 24, 196);
    background: linear-gradient(
        180deg,
        rgba(103, 24, 196, 1) 0%,
        rgba(45, 7, 106, 1) 50%,
        rgba(21, 0, 54, 1) 100%
    );
    z-index: 3;
    /* border-top: 3px solid #842029; */
}

#mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}

#mobile-nav a div {
    font-size: 0.8rem;
}

#mobile-nav img {
    max-width: 110px;
    position: relative;
    left: 0%;
    right: 0%;
    bottom: 30%;
}

#nav-top-mobile {
    background-color: rgba(0, 0, 0, 0.7);
}

#nav-top-mobile .offcanvas-header {
    border-bottom: 3px solid #cfcfcf;
}

/* === hamburger + slide-in menu (mobile) === */
.btn-hamburger {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 6px 8px;
    font-size: 1.6rem;
    line-height: 1;
    color: #d9d9d9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.btn-hamburger:hover,
.btn-hamburger:focus {
    color: #ffffff;
}

/* swap bars / X icon on toggle */
.btn-hamburger .icon-close {
    display: none;
}
.btn-hamburger:not(.collapsed) .icon-open {
    display: none;
}
.btn-hamburger:not(.collapsed) .icon-close {
    display: inline-block;
}

/* plain text links, no box or lines */
.mobile-menu-link {
    display: block;
    padding: 8px 4px;
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1.05rem;
}

.mobile-menu-link:hover {
    color: #fff;
}


/* dark brown bar with a chrome rim (top + sides) */
#nav-bottom-mobile {
    background: linear-gradient(
                90deg,
                #3a2a20 0%,
                #2b1d15 50%,
                #3a2a20 100%
            )
            padding-box,
        linear-gradient(
                180deg,
                #f2f2f2 0%,
                #8a8a8a 35%,
                #d9d9d9 70%,
                #6e6e6e 100%
            )
            border-box;
    border: 3px solid transparent;
    border-bottom: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    max-height: 85px;
    border-radius: 1.6rem 1.6rem 0 0;
    z-index: 5;
    padding: 3px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.6);
}

/* glossy band across the top */
#nav-bottom-mobile::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 3%;
    right: 3%;
    height: 42%;
    border-radius: 1.3rem 1.3rem 0.6rem 0.6rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.12) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

#nav-bottom-mobile .bg-alpa {
    position: relative;
    z-index: 1;
    padding: 3px;
}

#nav-bottom-mobile .menu {
    color: #ffffff;
    font-family: "prompt";
    max-width: 90px;
}

#nav-bottom-mobile .menu .icon {
    font-size: 1.25rem;
}

#nav-bottom-mobile .menu-center {
    margin-top: 10px;
}

/* === end code for mobile-nav ===*/

/* ===== contact-box code css ===== */
.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 9;
    max-width: 75px;
    /* min-height: 75px; */
    background: #6809d6;
    background: linear-gradient(
        180deg,
        rgba(104, 9, 214, 1) 0%,
        rgba(52, 5, 107, 1) 100%
    );
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px rgb(248 230 32 / 70%);
}

/*===== modal-box code css =====*/
.modal-box {
    background: #6809d6;
    background: linear-gradient(
        180deg,
        rgba(104, 9, 214, 1) 0%,
        rgba(52, 5, 107, 1) 100%
    );
    color: #fcfcfc;
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px rgb(248 230 32 / 70%);
}

/* ==== code for contact-us ==== */
.contact-box-2 {
    border: 2px solid #49b618;
    background-color: #000000;
    color: #49b618;
}

.btn-line {
    background-color: #06c755;
    border: 2px solid #06c755;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    min-width: 130px;
    margin-right: 0.5rem;
}

.btn-line:hover {
    border: 2px solid #0f8d59;
    background-color: #0f8d59;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    min-width: 130px;
    margin-right: 0.5rem;
}

/* ===== End contact-us CSS ===== */

/* ==== code for animation ==== */
.border-line {
    position: relative;
    height: 25rem;
    width: 20rem;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 1rem;
}

.text {
    text-decoration: none;
    z-index: 10;
    font-size: 100px;
    font-family: system-ui;
    font-weight: bold;
    color: white;
    position: absolute;
}

.border-line::before {
    content: "";
    height: 40rem;
    width: 20rem;
    background: linear-gradient(90deg, red, blue);
    position: absolute;
    z-index: 1;
    animation: myAnim 2s linear 0s infinite reverse none;
}

@keyframes myAnim {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.logo_animation {
    position: relative;
    margin: 300px auto 0;
    width: 500px;
    height: 250px;
    background: linear-gradient(0deg, #000, #272727);
}

.logo_animation:before,
.logo_animation:after {
    content: "";
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(
        45deg,
        #ffe002,
        #ffe002,
        #1c1c1c,
        #1c1c1c,
        #ffe002,
        #ffe002,
        #1c1c1c,
        #1c1c1c,
        #ffe002,
        #ffe002
    );
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 15s linear infinite;
}

@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.logo_animation:after {
    filter: blur(10px);
}

/* ===== End animation CSS ===== */

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #bdbdbd #1a120c;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 13px;
}

*::-webkit-scrollbar-track {
    background: #1a120c;
}

*::-webkit-scrollbar-thumb {
    background-color: #bdbdbd;
    border-radius: 10px;
    border: 3px solid #1a120c;
}
/* ===== End Scrollbar CSS ===== */

.font-fc-friday {
    font-family: "fc-friday";
}
.font-fc-friday-l {
    font-family: "fc-friday-Italic";
}

@media (max-width: 767.98px) {
    .auth-btns {
        gap: 6px;
        padding: 4px;
    }
    .auth-btn-login,
    .auth-btn-register {
        padding: 8px 6px;
        font-size: 1.05rem;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
    }
    .provider-box {
        gap: 5px;
    }
    .provider-nav {
        width: 28px;
        font-size: 1.1rem;
    }
    body {
        padding-bottom: 90px;
    }
}

@media (min-width: 1024px) {
}

@media (min-width: 1440px) {
    body {
        zoom: 120%;
    }
}
