* {
    padding: 0;
    margin: 0;
}

html,
body {
    overflow: hidden;
}

body {
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: #010101;
}

#whole-page-wrapper {
    height: 100dvh;
    width: 100%;
    max-width: calc(100vh * 2 / 3);
    margin: 0 auto;
}

@font-face {
    font-family: "Roboto";
    src: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/fonts/Roboto-Black.ttf');
}

@font-face {
    font-family: "Cygre-Black";
    src: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/fonts/Cygre-Black.ttf');
}

#unity-canvas {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: calc(100vh * 2 / 3);
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/loading_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#main-loading-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/loading_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#star-riser-logo {
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/logo.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#progress-text {
    color: #FAFAFA;
    text-align: center;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    font-size: 24px;
    width: 95%;
    -webkit-text-stroke: 0.8px black;
    text-shadow: 0px 2.5px 0px #000000;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

#progress-label {
    color: #FAFAFA;
    text-align: center;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    font-size: 24px;
    width: 95%;
    -webkit-text-stroke: 0.8px black;
    text-shadow: 0px 2.5px 0px #000000;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
}

#progress-cat {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/loading-cat.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@keyframes spin {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

#progress-cat-ring {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/loading-cat-ring.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: spin 2s linear infinite;
}


#progress-wrapper {
    width: 80%;
    height: 20px;
    background-color: #221328;
    border-radius: 10px;
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    outline-style: solid;
    outline-color: #0F080B;
    outline-width: 3px;
}

#progress-bar {
    width: 99.4%;
    margin: 1px;
    height: calc(100% - 2px);
    border-radius: 10px;
    background-color: #FCCA24;
    transition: width 0.3s ease;
    position: absolute;
    top: 0px;
    left: 0px;
}

#login-panel-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/early-access/loading_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#login-panel-logo {
    background-image: url('https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/login-panel/login-logo.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 70%;
    height: 100%;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
}

#login-panel-label {
    color: #FAFAFA;
    text-align: center;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    font-size: 24px;
    width: 95%;
    -webkit-text-stroke: 0.8px black;
    text-shadow: 0px 2.5px 0px #000000;
    position: absolute;
    bottom: 270px;
    left: 50%;
    transform: translateX(-50%);
}

#telegram-container {
    position: absolute;
    left: 50%;
    bottom: 170px;
    transform: translateX(-50%);

    width: 300px;
    height: 70px;
}

button#login-panel-telegram {
    all: unset;
    cursor: pointer;

    position: absolute;
    left: 50%;
    bottom: 170px;
    transform: translateX(-50%);

    width: 300px;
    height: 70px;

    background: url("https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/login-panel/telegram_button.png") no-repeat center/contain;

    z-index: 10;
    pointer-events: none;
}


button#login-panel-line {
    all: unset;
    cursor: pointer;

    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);

    width: 300px;
    height: 70px;

    background: url("https://starriser.fra1.cdn.digitaloceanspaces.com/global/imgs/login-panel/line_button.png") no-repeat center/contain;
}


.dapp-connect-btn {
    all: unset;
    cursor: pointer;

    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);

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

    height: 52px;
    padding: 0 24px;
    min-width: 280px;

    background-color: #06C755;
    color: #FFFFFF;
    font-family: Cygre-Black;
    font-size: 18px;
    border: none;
    border-radius: 13px;

    z-index: 999;



    -webkit-tap-highlight-color: transparent;
}

.dapp-connect-btn:hover {
    background-color: #05b64c;
}

.dapp-connect-btn:active {
    background-color: #049e41;
}

.dapp-connect-icon {
    width: 24px;
    height: 24px;
    background: url('https://cdn.starriser.game/global/imgs/login-panel/dapp_icon.png') no-repeat center / contain;
    margin-right: 8px;
}

.dapp-connect-text {
    display: inline-block;
    line-height: 1;
}
