@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+Thai:wdth,wght@75..100,100..900&display=swap");


/* =========================================================
   GLOBAL
========================================================= */

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #05040a;
    overflow-x: hidden;

    font-family: "Kanit", "Noto Sans Thai", sans-serif;
}

a {
    text-decoration: none;
}


/* =========================================================
   TOPBAR
========================================================= */

.mainTopbarLayout {
    z-index: 30;
    position: fixed;
    top: 0;

    width: 100%;
}

.topbarBanner {
    position: relative;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;

    overflow: hidden;
}

.topbarBanner img {
    width: 1200px;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar-ggt {
    /*
    z-index: 9;
    position: fixed;
    */

    width: 100%;
    height: 45px;

    box-shadow: 0px 0px 4px #a5a0a0;

    font-family: "Kanit", "Noto Sans Thai", sans-serif;
    font-size: 14px;
}

.navbar-brand img {
    width: 80px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footerLogo {
    width: 120px;
}


/* =========================================================
   POPUP
========================================================= */

.popupLayout {
    position: fixed;

    z-index: 10;

    top: 80px;
    left: 50px;

    filter: drop-shadow(1px 1px 10px #ff00008f);

    transition: all 0.5s;
}

.popupLayout.first {
    top: 140px;
    left: 20px;
}

.popupLayout.second {
    top: 230px;
    left: 20px;
}

.popupLayout.third {
    top: 300px;
    left: 35px;
}

.popupLayout.fourth {
    top: 400px;
    left: 35px;
}

.popupLayout.fifth {
    top: 490px;
    left: 20px;
}

.popupLayout.footer {
    top: auto;
    bottom: 10px;
    left: 20px;
}


/* Popup Images */

.popupLayout.first img {
    width: 95px;
}

.popupLayout.second img {
    width: 95px;
}

.popupLayout.third img {
    width: 70px;
}

.popupLayout.fourth img {
    width: 60px;
}

.popupLayout.fifth img {
    width: 95px;
}

.popupLayout.footer img {
    width: 120px;
}


/* Popup Hover */

.popupLayout:hover {
    filter: drop-shadow(1px 1px 15px #fff);
}


/* =========================================================
   POPUP ANIMATION
========================================================= */

@keyframes zoomInOut {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.zoom-loop {
    animation: zoomInOut 3s ease-in-out infinite;
}


/* =========================================================
   NIGHTMARE FOOTER
========================================================= */

.nightmare-footer .h4 {
    color: #e6dcff;

    letter-spacing: 0.12em;
    font-weight: 900;

    text-shadow: 0 0 12px rgba(160, 120, 255, 0.6);
}


/* =========================================================
   MAIN FOOTER MENU
========================================================= */

.mainMenuFooterLayout {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    position: fixed;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 20;
}

.mainMenuFooterLayout.stop-at-footer {
    position: absolute;
    bottom: 120px;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footerMainLayout {
    position: relative;

    width: 100%;
    min-height: 100px;

    padding: 15px 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background: #343a40;
    color: #fff;
}


/* =========================================================
   FOOTER MEDIA
========================================================= */

.footerMediaImg {
    width: 30px;
    height: 30px;
}

.footerMediaImg img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CUSTOM FONT
========================================================= */

@font-face {
    font-family: "PSL174pro";

    src: url("../font/PSL174pro.ttf") format("truetype");

    font-weight: 800;
    font-style: normal;

    font-display: swap;
}

.font-PSL174pro {
    font-family: "PSL174pro", sans-serif;
}


/* =========================================================
   BUTTON GO TO WEB
========================================================= */

.bpBtnMainWeb {
    width: 300px;
    height: 60px;

    padding: 5px 20px;

    background: url("../images/button.png");
    background-position: center;
    background-size: cover;

    border: 0 solid transparent;

    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.25s ease;

    position: relative;

    overflow: hidden;

    cursor: pointer;

    filter: drop-shadow(
        0 4px 12px rgba(0, 80, 180, 0.5)
    );
}


/* Main Button Text */

.bpBtnMainWeb span {
    font-family: "PSL174pro", "Kanit", "Noto Sans Thai", sans-serif;

    font-size: 40px;
    line-height: 20px;

    letter-spacing: 1px;

    background: linear-gradient(
        180deg,
        #b2e3ff 0%,
        rgba(255, 255, 255, 1) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-text-stroke: 1px #94d8ff;
}


/* =========================================================
   MAIN BUTTON SHIMMER
========================================================= */

.bpBtnMainWeb::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );

    animation: shimmer 2.8s ease-in-out infinite;

    z-index: 2;

    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -120%;
    }

    35%,
    100% {
        left: 140%;
    }
}


/* =========================================================
   MAIN BUTTON HOVER
========================================================= */

.bpBtnMainWeb:hover {
    animation: none;

    transform: scale(1.04);

    filter:
        drop-shadow(
            0px 0px 10px rgba(0, 80, 180, 0.8)
        )
        drop-shadow(
            0 0 30px rgba(100, 200, 255, 0.7)
        )
        brightness(1.2);

    transition:
        all 0.25s cubic-bezier(
            0.34,
            1.56,
            0.64,
            1
        );
}


/* =========================================================
   SUB BUTTON
========================================================= */

.bpBtnSubWeb {
    width: 200px;
    height: 40px;

    padding: 5px 20px;
    padding-bottom: 11px;

    background: url("../images/button.png");
    background-position: center;
    background-size: cover;

    border: 0 solid transparent;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;

    filter: drop-shadow(
        0 4px 12px rgba(0, 80, 180, 0.5)
    );
}


/* Sub Button Text */

.bpBtnSubWeb span {
    font-family: "PSL174pro", "Kanit", "Noto Sans Thai", sans-serif;

    font-size: 22px;
    line-height: 0;

    letter-spacing: 1px;

    background: linear-gradient(
        180deg,
        #b2e3ff 0%,
        rgba(255, 255, 255, 1) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-text-stroke: 1px #94d8ff;

    position: relative;

    overflow: hidden;

    cursor: pointer;
}


/* =========================================================
   BUTTON ACTIVE
========================================================= */

.bpBtnMainWeb:active,
.bpBtnSubWeb:active {
    transform: translateY(0) scale(0.97);

    transition: transform 0.1s;
}


/* =========================================================
   MODAL POPUP BANNER
========================================================= */

.modalPopupBanner {
    width: 100%;
    max-width: 1099px;
}


/* =========================================================
   GUILD WAR
========================================================= */

#guildWarButton {
    display: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1190px) {
}


@media (max-width: 992px) {
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .navbar-ggt {
        height: 55px;

        position: relative;

        z-index: 10;
    }

    .navbar-ggt .navbar-collapse {
        background: #f8f9fa;

        box-shadow: 0px 2px 4px #a5a0a0;

        position: absolute;

        top: 50px;
        left: 0;

        width: 100%;

        padding: 10px 80px;

        font-size: 15px;

        text-align: center;
    }

    .topbarBanner {
        height: 60px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .navbar-ggt .navbar-collapse {
        padding: 10px;
    }

    .popupLayout.footer {
        top: auto;

        bottom: 20px;
        left: 20px;
    }

    .popupLayout.footer img {
        width: 90px;
    }
}


/* =========================================================
   SMALL MOBILE POPUPS
========================================================= */

@media (max-width: 575.98px) {
    .popupLayout.first img {
        width: 75px;
    }

    .popupLayout.first {
        left: 15px;
        top: 130px;
    }

    .popupLayout.second {
        top: 200px;
        left: 10px;
    }

    .popupLayout.third {
        top: 255px;
        left: 10px;
    }

    .popupLayout.fourth {
        top: 350px;
        left: 15px;
    }

    .popupLayout.fifth {
        top: 390px;
        left: 15px;
    }

    .popupLayout.second img {
        width: 75px;
    }

    .popupLayout.third img {
        width: 72px;
    }

    .popupLayout.fourth img {
        width: 60px;
    }

    .popupLayout.fifth img {
        width: 80px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 505px) {
    .topbarBanner img {
        width: 700px;
        height: 100%;

        object-fit: contain;
    }

    .topbarBanner {
        height: 42px;
    }
}