@import url("./game-interruption-popup.css");
@import url("./tournament/index.css");
@import url("./tournament.css");

html {
    font-size: 10px;
}

.global-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2000;
}

    .global-loader-wrapper svg {
        width: 18.3rem;
        height: auto;
        display: block;
        margin-bottom: 1.5rem;
        transition: width 240ms, margin-bottom 240ms;
    }

.global-loader-line {
    width: 23.3rem;
    height: 0.5rem;
    position: relative;
    transition: width 240ms;
}

    .global-loader-line:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        animation: roling 1.5s linear infinite;
        background-image: linear-gradient(90deg, rgba(255, 195, 62, 0) 3.43%, #FFC33E 51.01%, rgba(255, 195, 62, 0) 96.8%);
        background-size: 200% 100%;
    }

    .global-loader-line:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg, #000000, transparent, #000000);
        z-index: 1;
    }

@media screen and (max-width: 500px) {
    html {
        font-size: 2.6667vmin;
    }

    .global-loader-wrapper svg {
        width: 8.8rem;
        margin-bottom: 0.7rem;
    }

    .global-loader-line {
        width: 11.2rem
    }
}

@keyframes roling {
    0% {
        background-position: 0% 0;
    }

    50% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

/* START: -----------------CRYPTO LOADER----------------- */
.crypto-loading-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #232333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2000;
}

.crypto-loading-logo {
    display: block;
    width: 141px;
    height: 92px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 26px;
    margin-left: auto;
    margin-right: auto;
}

[class*="is-mobile"] .crypto-loading-logo {
    width: 49px;
    height: auto;
    margin-bottom: 15px;
}

.crypto-loading-thumb {
    width: 250px;
    height: 13px;
    background-image: url("/Images/topc-loader-sprite.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    animation: crypto-loading-animation 3s steps(95) infinite;
}

[class*="is-mobile"] .crypto-loading-thumb {
    width: 100px;
    height: 5.3px;
}

@keyframes crypto-loading-animation {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}
/* END: -------------------CRYPTO LOADER----------------- */

/* START: -----------------GRAVITY LOADER----------------- */

.gravity-loader-wrapper {
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #1b1b1b;
    display: flex;
    inset-inline-start: 0;
    z-index: 2000;
  }
  .gravity-loader-container {
    margin: auto;
    text-align: center;
  }
  .gravity-loading-icon {
    height: 7.5rem;
    width: 7.5rem;
    display: inline-block;
    animation: gravity-loading 1s linear infinite;
    -webkit-animation: gravity-loading 1s linear infinite;
  }
  @keyframes gravity-loading {
    0% {
        transform: rotate(0);
        -webkit-transform: rotate(0);
    }
    100% {
        transform: rotate(1turn);
        -webkit-transform: rotate(1turn);
    }
  }
/* END: -------------------GRAVITY LOADER----------------- */

/* START: -----------------ROTATE DEVICE----------------- */
.rotate-device-wr {
    display: none;
}

@media screen and (max-width: 1366px) and (min-aspect-ratio: 4 / 3) and (orientation: landscape)  {
    [class='is-mobile'] .rotate-device-wr {
        width: 100%;
        height: 100%;
        background: #000;
        position: fixed;
        display: block;
        z-index: 9999;
    }
    [class='is-mobile'] .rotate-device-wr img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    [class='is-mobile'] .rotate-device-wr .device.fixed {
        opacity: 0.5;
    }
    [class='is-mobile'] .rotate-device-wr .device {
        width: 15%;
        transform: rotate(-90deg);
    }
    [class='is-mobile'] .rotate-device-wr .rotate-arrows {
        width: 30%;
        animation: 2.5s rotate-device ease-in-out forwards infinite;
    }
    [class='is-mobile'] .rotate-device-wr .rotate-device {
        animation: 2.5s rotate-device ease-in-out forwards infinite;
    }
}

@keyframes rotate-device {
    0% {
        opacity: 0;
        transform: rotate(-90deg) ;
    }
    60% {
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: rotate(0deg);
    }
  }
/* END: -------------------ROTATE DEVICE----------------- */

.powered-by-image {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
}

[class='is-mobile'] .global-loader-wrapper.tronix img {
    width: 380px;
}

[class='is-mobile'] .powered-by-image {
    width: 46%;
    max-width: 200px;
}
