@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.webp");
    background-repeat: repeat-x;
    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: 1rem;
    font-family: "fc-friday";
    src: url("../fonts/FC-Friday/FC-Friday-Medium.ttf");
}

.border-promotion {
    border: 1px solid #00D8FF;
    border-radius: 1rem;
    box-shadow: 0 0 3px #00D8FF;
}

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

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

/* ==== code for header ==== */
#main-header {
    position: relative;
    z-index: 10;
}

#main-header .header-top {
    /* background: linear-gradient(180deg, #000000 0%, #0a0a14 100%); */
    min-height: 70px;
}

#main-header .header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 70px;
}

#main-header .header-logo {
    position: absolute;
    left: 0.75rem;
    top: 0;
    z-index: 11;
}

#main-header .header-logo img {
    max-width: 150px;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
}

#main-header .header-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-img {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 55px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.btn-img:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.btn-img-login {
    background-image: url("../images/btn_login.png");
    color: #ffffff;
}

.btn-img-login:hover {
    color: #ffffff;
}

.btn-img-register {
    background-image: url("../images/btn_register.png");
    color: #2b1a00;
}

.btn-img-register:hover {
    color: #2b1a00;
}

#main-header .header-line,
.gold-line {
    height: 2rem;
    background: linear-gradient(90deg, #8a6a12 0%, #ffd84a 20%, #fff3b0 50%, #ffd84a 80%, #8a6a12 100%);
    box-shadow: 0 0 8px rgba(255, 216, 74, 0.6);
}

#main-header .header-menu {
    background:rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid #1f2a5a;
}

#main-header .header-menu ul {
    text-align: right;
    padding: 0.5rem 0;
}

#main-header .header-menu a {
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s;
}

#main-header .header-menu a:hover,
#main-header .header-menu a.active {
    color: #ffd84a;
}

.btn-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: transparent;
    border: 0;
}

.btn-hamburger span {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff3b0 0%, #ffd84a 50%, #b8860b 100%);
    box-shadow: 0 0 4px rgba(255, 216, 74, 0.6);
}

.mobile-menu {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 2px solid #ffd84a;
}

.mobile-menu ul a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
}

.mobile-menu ul a.active,
.mobile-menu ul a:hover {
    color: #ffd84a;
}

@media (max-width: 767px) {
    #main-header .header-top {
        background: url("../images/bg.webp") center / cover no-repeat;
    }

    #main-header .header-top .container {
        justify-content: center;
        min-height: 0;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    #main-header .header-logo {
        position: static;
    }

    #main-header .header-logo img {
        max-width: 90px;
    }

    #main-header .btn-hamburger {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
    }

    #main-header .header-line,
    .gold-line {
        height: 6px;
    }
}
/* ==== end code for header ==== */

/* ==== code for home banner ==== */
#home-banner {
    position: relative;
    padding-bottom: 2rem;
}

#home-banner .banner-img {
    display: block;
    width: 100%;
    height: auto;
}

#home-banner .promotion-wrap {
    position: relative;
    margin-top: -16%;
    z-index: 2;
}

#home-banner .promotion-box {
    position: relative;
    padding: 1.25rem 4rem;
    background: rgba(0, 0, 0, 0.75);
    border-top: 3px solid #ffd84a;
    border-bottom: 3px solid #ffd84a;
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(255, 216, 74, 0.35);
}

#home-banner .promotion-box .border-promotion {
    border: 2px solid #ffd84a;
    box-shadow: 0 0 6px rgba(255, 216, 74, 0.6);
}

#home-banner .promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff3b0;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.5rem;
    z-index: 3;
    text-shadow: 0 0 8px rgba(255, 216, 74, 0.8);
    transition: color 0.2s;
}

#home-banner .promo-nav:hover {
    color: #ffd84a;
}

#home-banner .promo-prev {
    left: 0.75rem;
}

#home-banner .promo-next {
    right: 0.75rem;
}

@media (max-width: 767px) {
    #home-banner {
        padding-bottom: 1rem;
        overflow-x: hidden;
    }

    #home-banner .banner-frame {
        aspect-ratio: 453 / 225;
        overflow: hidden;
    }

    #home-banner .banner-img {
        width: 120%;
        max-width: none;
        margin-left: -11%;
    }

    #home-banner .promotion-wrap {
        margin-top: -2%;
        padding-left: 0;
        padding-right: 0;
    }

    #home-banner .promotion-wrap > .row {
        margin-left: 0;
        margin-right: 0;
    }

    #home-banner .promotion-wrap > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    #home-banner .promotion-box {
        padding: 0.5rem 2.75rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin-top: -9%;
    }

    #home-banner .promo-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.75rem;
        height: 40%;
        font-size: 1.4rem;
        background: rgba(0, 0, 0, 0.85);
        border: 2px solid #ffd84a;
        border-radius: 0.6rem;
        color: #ffd84a;
    }

    #home-banner .promo-prev {
        left: -0.5rem;
        padding-left: 0.6rem;
    }

    #home-banner .promo-next {
        right: -0.5rem;
        padding-right: 0.6rem;
    }
}
/* ==== end code for home banner ==== */


/* === 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 #52059f;
}

#nav-bottom-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    padding: 4px 4px 0 4px;
    background: linear-gradient(180deg, #ffe680 0%, #ffd84a 30%, #d4a017 100%);
}

#nav-bottom-mobile .nav-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 6%;
    background: linear-gradient(180deg, #0d2280 0%, #061450 50%, #020a2e 100%);
    border-radius: 3rem;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

#nav-bottom-mobile .menu {
    width: 15.5%;
    max-width: 90px;
    transition: transform 0.2s;
}

#nav-bottom-mobile .menu:active {
    transform: scale(0.95);
}

#nav-bottom-mobile .menu-center {
    width: 24%;
    max-width: 150px;
    margin-top: -45px;
    margin-bottom: -10px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
}

/* === 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 ===== */


/* ==== code for game partner ==== */
#game-partner {
    padding-top: 2rem;
}

#game-partner .casino-games {
    margin-bottom: 2rem;
}

#game-partner .casino-games .item {
    padding-top: 6px;
}

#game-partner .casino-game {
    display: block;
    transition: transform 0.2s;
}

#game-partner .casino-game:hover {
    transform: translateY(-5px);
}

#game-partner .partner-band {
    background: rgba(5, 8, 20, 0.85);
    padding: 2.5rem 0;
}

#game-partner .partner-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1rem;
    align-items: center;
}

#game-partner .partner-item {
    text-align: center;
}

#game-partner .partner-item img {
    max-height: 70px;
}

@media (max-width: 767px) {
    #game-partner .partner-band {
        background: transparent;
        padding: 0;
    }

    #game-partner .partner-slide {
        padding: 1.5rem 0;
        border-top: 1px solid #d4a017;
        border-bottom: 1px solid #d4a017;
    }

    #game-partner .partner-slide .owl-stage {
        display: flex;
        align-items: center;
    }
}
/* ==== end code for game partner ==== */

/* ==== code for footer ==== */
#footer {
    color: #ffffff;
}

#footer .footer-cta {
    padding: 1rem 0;
    font-size: 0.95rem;
    text-align: center;
}

#footer .btn-footer-register {
    display: inline-block;
    padding: 0.3rem 1.75rem;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(180deg, #2a3cc4 0%, #0a1470 100%);
    border: 2px solid #ffd84a;
    border-radius: 2rem;
    box-shadow: 0 0 6px rgba(255, 216, 74, 0.5);
    transition: filter 0.2s;
}

#footer .btn-footer-register:hover {
    filter: brightness(1.2);
}

#footer .footer-logo {
    max-width: 130px;
    margin: 1.5rem 0 0.75rem;
}

#footer .footer-menu {
    padding-bottom: 1rem;
}

#footer .footer-menu a {
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    margin: 0 0.5rem;
}

#footer .footer-menu a:hover {
    color: #ffd84a;
}

#footer .footer-copyright {
    padding: 0.4rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #2b1a00;
    background: linear-gradient(90deg, #8a6a12 0%, #ffd84a 20%, #fff3b0 50%, #ffd84a 80%, #8a6a12 100%);
}

@media (max-width: 767px) {
    #footer {
        padding-bottom: 110px;
    }

    #footer .footer-cta {
        font-size: 0.85rem;
    }
}
/* ==== end code for footer ==== */

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #ffd84a #ffffff;
}

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

*::-webkit-scrollbar-track {
    background: #ffffff;
}

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

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

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

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

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

