@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,700;1,700;1,800&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: #000000;
    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");
    color: white;
}

.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,
        #A70908,
        #fffefa,
        #A70908,
        transparent
    );
    box-shadow: 0 0 5px 2px #A70908;
    border-radius: 50%;
}

.bg-casino {
    background: #2c2c2c;
    background: linear-gradient(
        180deg,
        rgba(44, 44, 44, 1) 0%,
        rgba(21, 21, 21, 1) 100%
    );
    border-radius: 1rem;
}

.bg-banner {
    background-image: url("../images/bg_banner.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.picdubai {
    margin-left: 0;
}

.font-1 {
    font-size: 2.5rem;
}

.font-2 {
    font-size: 1.2rem;
}

.bg-alpa-btn {
    background: #0d0d0d;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 1) 0%,
        rgba(7, 7, 7, 0) 100%
    );
    padding: 3px;
    border-radius: 1rem 1rem;
    margin-top: -8%;
}

.--bg-btn {
    background: #e3e3e3;
    background: linear-gradient(
        180deg,
        rgba(227, 227, 227, 1) 0%,
        rgba(255, 255, 255, 1) 40%,
        rgba(159, 159, 159, 1) 80%,
        rgba(111, 111, 111, 1) 100%
    );
    border-radius: 3rem;
    padding: 0.5rem;
    width: 100%;
}
.btn-register {
    background-image: url("../images/btn-img.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 135px;
    height: 37px;
    font-size: 1.2rem;
}

.btn-login {
    background-image: url("../images/btn_login.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 135px;
    height: 37px;
    font-size: 1.2rem;
}

.text-t4 {
    font-size: 1.3rem;
    font-family: "Prompt";
    src: url("../fonts/Prompt/Prompt-Medium.ttf");
}

.text-t5 {
    font-size: 1rem;
    font-family: "Prompt";
    src: url("../fonts/Prompt/Prompt-Medium.ttf");
}

.text-t6 {
    font-size: 0.75rem;
    font-family: "Prompt";
    src: url("../fonts/Prompt/Prompt-Medium.ttf");
    /* text-shadow: 0px 0px 10px #3d00e2; */
}

.bg-footer {
    background: #1d1d1d;
    background: linear-gradient(
        0deg,
        rgba(29, 29, 29, 1) 0%,
        rgba(69, 69, 69, 1) 30%,
        rgba(0, 0, 0, 1) 100%
    );
    border-radius: 10px 10px 0 0;
}

.bg-casino-girl {
    background: #000000;
    padding: 8px 5px;
    border-radius: 1rem;
}

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

#nav-bottom-mobile {
    /* red-orange outer frame */
    background: linear-gradient(
        180deg,
        #ff3b1f 0%,
        #d40000 35%,
        #8a0000 100%
    );
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    max-height: 85px;
    border-radius: 1.75rem 1.75rem 0 0;
    z-index: 5;
    padding: 4px 4px 0;
    box-shadow: 0 -2px 10px rgba(255, 30, 0, 0.45);
}

#nav-bottom-mobile .bg-alpa {
    /* dark top fading into bright red at the bottom */
    background: linear-gradient(
        180deg,
        #150707 0%,
        #2a0b0b 40%,
        #7a0000 70%,
        #e00000 90%,
        #ff0000 100%
    );
    padding: 3px;
    border-radius: 1.5rem 1.5rem 0 0;
}

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

#nav-bottom-mobile .menu-logo {
    flex: 1.6 1 0;
    max-width: 9rem;
    padding: 0 4px;
}

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

#nav-bottom-mobile .menu-center {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* === 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: #A70908 #ffffff;
}

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

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

*::-webkit-scrollbar-thumb {
    background-color: #A70908;
    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) {
    .picdubai {
        margin-left: -23%;
    }

    .font-1 {
        font-size: 2.5rem;
    }

    .font-2 {
        font-size: 1.2rem;
    }

    .bg-alpa-btn {
        margin-top: 0;
    }

    .pic-position {
        margin-top: -4%;
    }

    .btn-register,
    .btn-login {
        width: 155px;
        height: 45px;
    }

    /* .font-nev {
        border: 1px solid #f7c53d;
        background: #1d1d1d;
        background: linear-gradient(
            0deg,
            rgba(29, 29, 29, 1) 0%,
            rgba(69, 69, 69, 1) 30%,
            rgba(0, 0, 0, 1) 100%
        );
        border-radius: 1.5rem;
        padding: 0;
        width: 80px;
        display: flex;
        justify-content: center;
    } */

    .--bg-btn {
        width: 94%;
    }
}

@media (min-width: 1024px) {
    .font-1 {
        font-size: 3.5rem;
    }

    .font-2 {
        font-size: 1.5rem;
    }

    .pic-position {
        margin-top: -6%;
    }

    .btn-register,
    .btn-login {
        width: 215px;
        height: 60px;
    }

    .--bg-btn {
        width: 94%;
    }

    /* .font-nev {
        border: 1px solid #f7c53d;
        background: #1d1d1d;
        background: linear-gradient(
            0deg,
            rgba(29, 29, 29, 1) 0%,
            rgba(69, 69, 69, 1) 30%,
            rgba(0, 0, 0, 1) 100%
        );
        border-radius: 1.5rem;
        padding: 0 1rem;
        width: 80px;
        display: flex;
        justify-content: center;
    } */
}

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

/* ==== hero banner ==== */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-banner {
    position: relative;
    aspect-ratio: 16 / 9;
    background-image: url("../images/banner_jedi2_web.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 46%;
    transform: translateY(-38%);
}

.hero-logo {
    width: 72%;
}

.hero-text {
    width: 100%;
    margin-top: -2%;
}

.btn-register-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62%;
    height: auto;
    aspect-ratio: 1150 / 270;
    background-size: 100% 100%;
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 3vw, 3.2rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-register-hero:hover {
    transform: scale(1.04);
    filter: brightness(1.15);
}

@media (max-width: 767.98px) {
    .hero-banner {
        aspect-ratio: auto;
        padding-top: 82%;
        padding-bottom: 1rem;
        background-image: url("../images/banner_mb.png");
        background-size: 100% auto;
        background-position: top center;
    }

    .hero-content {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 0 1rem;
        transform: none;
    }

    .hero-text {
        width: 92%;
        margin-top: 0;
    }

    .btn-register-hero {
        width: 80%;
        font-size: 1.8rem;
    }
}

/* ==== game slot section ==== */
.game-slot-section {
    position: relative;
    padding: 2rem 0;
    background: radial-gradient(
        ellipse at center,
        rgba(90, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0) 70%
    );
}

.game-slot-title {
    width: 75%;
    max-width: 420px;
    margin-left: -2%;
}

.game-slot-line {
    position: relative;
    width: 100%;
    height: 2px;
    margin: -0.25rem 0 0.75rem;
    background: linear-gradient(
        to right,
        rgba(255, 0, 0, 0) 0%,
        #c40000 12%,
        #ff4d4d 32%,
        #ffffff 40%,
        #ff4d4d 48%,
        #c40000 75%,
        rgba(255, 0, 0, 0) 100%
    );
    box-shadow: 0 0 8px 1px rgba(255, 0, 0, 0.8);
}

/* soft red flare under the bright spot of the line */
.game-slot-line::after {
    content: "";
    position: absolute;
    left: 40%;
    top: 50%;
    width: 60%;
    height: 40px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(255, 30, 30, 0.45) 0%,
        rgba(255, 0, 0, 0) 70%
    );
    pointer-events: none;
}

.game-slot-heading {
    font-size: clamp(1.6rem, 3.6vw, 3rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.game-slot-sub {
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
}

.game-slot-desc {
    font-size: clamp(0.75rem, 1.15vw, 0.95rem);
    line-height: 1.7;
    color: #ffffff;
    margin-top: 0.75rem;
    text-shadow: 0 0 10px #3d00e2;
}

@media (max-width: 767.98px) {
    .game-slot-section {
        padding: 1.25rem 0;
    }

    .game-slot-title {
        width: 100%;
    }

    .game-slot-heading {
        font-size: 1.4rem;
    }

    .game-slot-sub {
        font-size: 0.95rem;
    }

    .game-slot-desc {
        font-size: 0.65rem;
        margin-top: 0.25rem;
    }

    .game-slot-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        margin-top: auto;
        padding-top: 0.5rem;
    }

    .game-slot-grid img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

@media (max-width: 767.98px) {
    /* left card follows the height of the right column */
    .game-slot-card {
        position: relative;
    }

    .game-slot-card #game_2 {
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(var(--bs-gutter-x) * 0.5);
        right: calc(var(--bs-gutter-x) * 0.5);
    }

    .game-slot-card #game_2 .owl-stage-outer,
    .game-slot-card #game_2 .owl-stage,
    .game-slot-card #game_2 .owl-item,
    .game-slot-card #game_2 .item {
        height: 100%;
    }

    .game-slot-card #game_2 .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ==== bottom-of-page background + footer ==== */
body {
    background-image: url("../images/bg-foot.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: max(100%, 1300px) auto;
    background-attachment: scroll;
}

.bg-casino-girl {
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

#footer {
    padding-bottom: 0.5rem;
}

.footer-logo {
    max-width: 120px;
}

@media (max-width: 767.98px) {
    /* nav sits in normal flow on mobile so the open menu pushes the banner down */
    .hero-nav {
        position: relative;
    }
}
