@import url("https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&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&display=swap");

body {
    font-family: "Anuphan", sans-serif;
    background-color: #000000;
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Kanit", sans-serif;
}

.header {
    background-color: #230908;
}

.top-logo {
    max-width: 250px;
}

.btn-login {
    display: inline-block;
    text-align: center;
    background: #ffffff;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(130, 130, 130, 1) 50%,
        rgba(255, 255, 255, 1) 100%
    );
    color: #000000;
    font-weight: bold;
    border: 2px solid #9c9c9c;
    border-radius: 25px;
    padding: 6px 16px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-family: "Kanit", sans-serif;
    font-size: 1.2em;
    min-width: 130px;
}

.btn-register {
    display: inline-block;
    text-align: center;
    background: #ff4e00;
    background: linear-gradient(
        90deg,
        rgba(255, 78, 0, 1) 0%,
        rgba(174, 0, 0, 1) 50%
    );
    color: #ffffff;
    font-weight: bold;
    border: 2px solid #ff6d1f;
    border-radius: 25px;
    padding: 6px 16px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-family: "Kanit", sans-serif;
    font-size: 1.2em;
    min-width: 130px;
}

.line {
    border: 1px solid #ff4e00;
    margin: 10px 0;
}

@keyframes neon-blink {
    0%,
    100% {
        box-shadow:
            0 0 5px rgba(255, 0, 0, 0.8),
            0 0 10px rgba(255, 109, 31, 0.6),
            0 0 15px rgba(255, 78, 0, 0.5),
            inset 0 0 8px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow:
            0 0 5px rgba(255, 0, 0, 0.3),
            0 0 10px rgba(255, 109, 31, 0.2),
            0 0 15px rgba(255, 78, 0, 0.2),
            inset 0 0 4px rgba(255, 0, 0, 0.1);
    }
}

.neon-blink {
    animation: neon-blink 3s infinite;
}

.fade-in {
    -webkit-animation: fade-in 3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    animation: fade-in 3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#promotion {
    padding: 10px;
    background-color: rgba(26, 7, 5, 0.5);
}

section#game {
    padding: 20px 0;
    background-color: #230908;

    .swiper-slide {
        background:
            radial-gradient(
                    circle at 100% 100%,
                    #000000 0,
                    #000000 18px,
                    transparent 18px
                )
                0% 0%/20px 20px no-repeat,
            radial-gradient(
                    circle at 0 100%,
                    #000000 0,
                    #000000 18px,
                    transparent 18px
                )
                100% 0%/20px 20px no-repeat,
            radial-gradient(
                    circle at 100% 0,
                    #000000 0,
                    #000000 18px,
                    transparent 18px
                )
                0% 100%/20px 20px no-repeat,
            radial-gradient(
                    circle at 0 0,
                    #000000 0,
                    #000000 18px,
                    transparent 18px
                )
                100% 100%/20px 20px no-repeat,
            linear-gradient(#000000, #000000) 50% 50% / calc(100% - 4px)
                calc(100% - 40px) no-repeat,
            linear-gradient(#000000, #000000) 50% 50% / calc(100% - 40px)
                calc(100% - 4px) no-repeat,
            linear-gradient(90deg, #ae0000 0%, #ff4e00 100%);
        border-radius: 20px;
        padding: 4px;
        box-sizing: border-box;

        box-shadow: 0 0 4px rgba(227, 227, 227, 0.6);
    }
}

.bg-230908 {
    background-color: #230908;
}

.bg-140605 {
    background-color: #140605;
}

#section-6 {
    background-image: url(../images/bg-4.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;

    padding: 40px 0;
}

.bg-orange {
    position: relative;
    background: #ff4e00;
    background: linear-gradient(
        90deg,
        rgba(174, 0, 0, 1) 0%,
        rgba(255, 78, 0, 1) 100%
    );
    color: #ffffff;
    position: relative;
    box-shadow: inset 0px 0px 8px 4px #ff6d1f;
    border: 3px solid #ff6d1f;
    border-radius: 32px;
    text-align: center;

    .title {
        font-size: 14pt;
        line-height: 1.3em;
        font-weight: bold;
        z-index: 2;
    }

    .description {
        font-size: 12pt;
        margin-top: 8px;
        z-index: 2;
    }

    .img-icon {
        width: 100%;
        height: auto;
        max-width: 130px;
        right: 0;
        bottom: 0;
        position: absolute;
        opacity: 0.5;
        z-index: 1;
    }
    .star-icon {
        width: 100%;
        height: auto;
        max-width: 50px;
        z-index: 2;
    }
}

.text-gradient {
    background: #ae0000;
    background: linear-gradient(to right, #ae0000 0%, #ff4e00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .bg-orange {
        position: relative;
        background: #ff4e00;
        background: linear-gradient(
            90deg,
            rgba(174, 0, 0, 1) 0%,
            rgba(255, 78, 0, 1) 100%
        );
        color: #ffffff;
        position: relative;
        box-shadow: inset 0px 0px 8px 4px #ff6d1f;
        border: 3px solid #ff6d1f;
        border-radius: 32px;
        text-align: left;

        .title {
            font-size: 1.25em;
            line-height: 1.3em;
            font-weight: bold;
            z-index: 2;
        }

        .description {
            font-size: 1.1em;
            margin-top: 8px;
            z-index: 2;
        }

        .img-icon {
            width: 100%;
            height: auto;
            max-width: 180px;
            right: 0;
            bottom: 0;
            position: absolute;
            opacity: 0.5;
            z-index: 1;
        }
        .star-icon {
            width: 100%;
            height: auto;
            max-width: 50px;
            z-index: 2;
        }
    }
}

section#contact {
    padding-top: 20px;
    background: #ff4e00;
    background: linear-gradient(
        180deg,
        rgba(255, 78, 0, 1) 0%,
        rgba(174, 0, 0, 1) 80%
    );

    .line-logo,
    .telegram-logo {
        max-width: 70px;
        height: auto;
    }
}

#contact_button {
    position: fixed;
    z-index: 9999;
    bottom: 30px;
    right: 30px;
}

#contact_button a {
    display: flex;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 2px 2px 10px 0px rgb(0, 0, 0, 0.5);
}

#contact_button img {
    margin: auto;
}

#contact_button #contact_button_child a {
    margin-bottom: 10px;
}

@keyframes wave {
    0% {
        box-shadow: 0 0 0px 0px rgba(255, 78, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 0px 10px rgba(255, 78, 0, 0);
    }
}

#contact_button_main {
    background-color: #ff4e00;
    padding: 6px;
    animation: wave 1s linear infinite;
}

.contact_button_line {
    background-color: #00c300;
}

.contact_telegram {
    background-color: #0088cc;
}

/* .contact_button_mail {
    background-color: #eabe0f;
}

.contact_button_facebook {
    background-color: #4267b2;
} */

#contact_button #contact_button_phone {
    background-color: #007941;
    color: #eee;
    font-size: 18px;
    text-decoration: unset;
    align-items: center;
    border-radius: 5px;
    padding: 0px 10px;
    position: fixed;
    left: 80px;
    bottom: 20px;
    width: auto;
    height: 50px;
    font-weight: 900;
}

#contact_button #contact_button_phone img {
    margin-right: 5px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.open_contact {
    visibility: visible !important;
    animation: fadeIn 1s;
}
