/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #050505;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   LANDING PAGE
========================================================= */

.landing-page {
    width: 100%;
    max-width: 440px;
    min-height: 100vh;

    margin: 0 auto;
    padding: 20px 14px 25px;

    background:
        radial-gradient(
            circle at top,
            rgba(255, 210, 0, 0.04),
            transparent 35%
        ),
        #050505;

    overflow: hidden;
}


.top-logo {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 25px;
}

.logo-item {
    width: 180px;
    height: 95px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
}

.logo-item img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   TITLE BAR
========================================================= */

.title-bar {
    width: 100%;
    height: 35px;

    display: flex;
    align-items: center;

    padding: 0 12px;

    margin-bottom: 15px;

    background: linear-gradient(
        90deg,
        #171717,
        #111111
    );

    border-left: 3px solid #f5d000;
    border-right: 3px solid #f5d000;

    border-radius: 5px;

    box-shadow:
        0 0 8px rgba(255, 215, 0, 0.08);
}

/* =========================================================
   TITLE TEXT BERJALAN
========================================================= */

.title-bar {
    width: 100%;
    height: 35px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 0;

    margin-bottom: 15px;

    background: linear-gradient(
        90deg,
        #171717,
        #111111
    );

    border-left: 3px solid #f5d000;
    border-right: 3px solid #f5d000;

    border-radius: 5px;

    overflow: hidden;

    box-shadow:
        0 0 8px rgba(255, 215, 0, 0.08);
}


/* Wadah teks */

.title-track {
    position: absolute;

    left: 0;

    width: max-content;

    white-space: nowrap;

    animation: titleBerjalan 10s linear infinite;
}


/* Teks */

.title-track span {
    display: inline-block;

    color: #f4d500;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* Animasi kanan ke kiri */

@keyframes titleBerjalan {

    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }

}

/* =========================================================
   BANNER
========================================================= */

.banner {
    width: 100%;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid rgba(255, 210, 0, 0.45);

    background: #111111;

    margin-bottom: 15px;

    box-shadow:
        0 0 12px rgba(255, 200, 0, 0.05);
}

.banner a {
    display: block;

    width: 100%;
}

.banner img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;
}


/* =========================================================
   BUTTON UMUM
========================================================= */

.btn {
    position: relative;

    display: flex;

    width: calc(100% - 38px);
    min-height: 61px;

    margin: 0 auto 15px;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: 1px;

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;

    clip-path: polygon(
        10% 0,
        100% 0,
        90% 100%,
        0 100%
    );
}

.btn:hover {
    transform: translateY(-2px);

    filter: brightness(1.15);
}

.btn:active {
    transform: translateY(1px);
}


/* =========================================================
   LOGIN
========================================================= */

.btn-login {
    color: #ffffff;

    background:
        repeating-linear-gradient(
            0deg,
            #181818 0px,
            #181818 2px,
            #151515 2px,
            #151515 4px
        );

    border-top: 1px solid #e8c900;
    border-bottom: 1px solid #e8c900;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   DAFTAR
========================================================= */

.btn-register {
    color: #050505;

    background:
        repeating-linear-gradient(
            0deg,
            #ffe600 0px,
            #ffe600 2px,
            #ffc400 2px,
            #ffc400 4px
        );

    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.15),
        0 5px 15px rgba(255, 174, 0, 0.08);
}


/* =========================================================
   LIVE CHAT
========================================================= */

.btn-chat {
    color: #050505;

    background:
        repeating-linear-gradient(
            0deg,
            #ffe600 0px,
            #ffe600 2px,
            #ffbd00 2px,
            #ffbd00 4px
        );

    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.15),
        0 5px 15px rgba(255, 174, 0, 0.08);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    text-align: center;

    margin-top: 32px;
}

footer p {
    font-size: 11px;

    color: #777777;

    letter-spacing: 0.5px;
}

.footer-brand {
    color: #e50000;

    font-weight: 700;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .landing-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .top-logo {
        gap: 20px;
        margin-bottom: 24px;
    }

    .logo-item {
        width: 100px;
        height: 85px;
    }

    .title-bar {
        height: 35px;
    }

    .banner {
        border-radius: 15px;
    }

    .btn {
        width: calc(100% - 35px);

        min-height: 60px;

        font-size: 17px;
    }
}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {

    .landing-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .top-logo {
        gap: 12px;
    }

    .logo-item {
        width: 90px;
        height: 78px;
    }

    .title-bar span {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .btn {
        width: calc(100% - 25px);

        min-height: 55px;

        font-size: 16px;
    }

    footer p {
        font-size: 10px;
    }
}