* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}


/* =========================
   LOADER
========================= */

#loader {
    position: fixed;
    inset: 0;
    background: #000;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999999;

    transition: opacity .6s ease;
}


.loading-box {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
}


/* =========================
   INTRO
========================= */

#intro {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    transition: .4s;
}


/* POWERED BY */

.powered {
    color: #777;

    font-size: 10px;
    letter-spacing: 1.5px;

    margin-bottom: 12px;

    font-weight: 600;
}


/* =========================
   BRAND
========================= */

.brand {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* LOGO */

.logo {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #fff 1.4px,
            transparent 2px
        );

    background-size: 7px 7px;

    animation: spin 10s linear infinite;
}


/* TEXT */

.text {
    text-align: left;
}


.text h1 {
    color: #fff;

    font-size: 22px;

    line-height: 1;

    font-weight: 700;
}


.text p {
    color: #888;

    font-size: 6px;

    letter-spacing: 1.5px;

    margin-top: 4px;
}


/* =========================
   LOADING DOTS
========================= */

.dots {
    position: relative;

    width: 58px;
    height: 20px;

    margin-top: 42px;
}


.dots span {
    position: absolute;

    border-radius: 50%;
}


/* LEFT */

.dots span:nth-child(1) {
    width: 7px;
    height: 7px;

    left: 0;
    top: 6px;

    background: #780000;

    animation:
        leftDot 2.4s infinite ease-in-out;
}


/* CENTER */

.dots span:nth-child(2) {
    width: 20px;
    height: 20px;

    left: 19px;
    top: 0;

    background: #ff1b1b;

    box-shadow:
        0 0 9px red,
        0 0 18px rgba(255, 0, 0, .5);

    animation:
        centerDot 2.4s infinite ease-in-out;
}


/* RIGHT */

.dots span:nth-child(3) {
    width: 7px;
    height: 7px;

    left: 51px;
    top: 6px;

    background: #780000;

    animation:
        rightDot 2.4s infinite ease-in-out;
}


/* =========================
   CONNECTING
========================= */

#connecting {
    display: none;

    width: 100%;

    justify-content: center;
    align-items: center;
}


.connectText {
    color: #fff;

    font-size: 16px;

    font-weight: 600;
}


#loadingDots {
    display: inline-block;

    width: 22px;
}


/* =========================
   GAME
========================= */

#game {
    display: none;

    width: 100%;
    height: 100vh;

    opacity: 0;

    transition: opacity .6s;
}


iframe {
    width: 100%;
    height: 100%;

    border: none;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* LEFT DOT */

@keyframes leftDot {

    0%,
    100% {

        left: 0;

        width: 7px;
        height: 7px;

        top: 6px;

        background: #780000;
    }


    50% {

        left: 19px;

        width: 20px;
        height: 20px;

        top: 0;

        background: #ff1b1b;
    }

}


/* CENTER DOT */

@keyframes centerDot {

    0% {

        left: 19px;
    }


    50% {

        left: 51px;

        width: 7px;
        height: 7px;

        top: 6px;

        background: #780000;

        box-shadow: none;
    }


    100% {

        left: 0;

        width: 7px;
        height: 7px;

        top: 6px;

        background: #780000;

        box-shadow: none;
    }

}


/* RIGHT DOT */

@keyframes rightDot {

    0% {

        left: 51px;
    }


    50% {

        left: 0;
    }


    100% {

        left: 19px;

        width: 20px;
        height: 20px;

        top: 0;

        background: #ff1b1b;

        box-shadow:
            0 0 9px red,
            0 0 18px rgba(255, 0, 0, .5);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .logo {
        width: 45px;
        height: 45px;
    }


    .brand {
        gap: 9px;
    }


    .text h1 {
        font-size: 20px;
    }


    .text p {
        font-size: 5.5px;

        letter-spacing: 1.2px;
    }


    .powered {
        font-size: 9px;

        letter-spacing: 1.3px;

        margin-bottom: 10px;
    }


    .connectText {
        font-size: 15px;
    }


    .dots {
        margin-top: 38px;
    }

}


/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 360px) {

    .logo {
        width: 40px;
        height: 40px;
    }


    .text h1 {
        font-size: 18px;
    }


    .text p {
        font-size: 5px;
    }


    .powered {
        font-size: 8px;
    }


    .connectText {
        font-size: 14px;
    }

}