html {
    width: 100%;
    height: 100%;
    font-family: Inter;
    overscroll-behavior: none;
    touch-action: none;
}

body {
    overscroll-behavior: none;
    touch-action: none;
    margin: 0 auto;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    color: #fff;
}

#appLoader {
    display: flex !important;
    grid-template-columns: 1fr;
    flex-direction: column;
    grid-template-rows: 48px 93px 16px 40px auto 50vh;
    position: absolute;
    background: url('/images/preloader/background-main.webp');
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    box-sizing: border-box;
    flex-direction: column;
    z-index: 1000;
    align-items: center;
    overflow: hidden;
    will-change: opacity, transform;
    transition: opacity 0.2s linear;
}

#appLoader.leagues {
    background: url('/images/preloader/background-leagues.webp');
    background-size: 100% 100%;
}

@media only screen and (max-height: 600px) {
    #appLoader {
        grid-template-rows: 48px 93px 16px 40px auto 40vh;
    }
}

@media only screen and (max-height: 500px) {
    #appLoader {
        grid-template-rows: 48px 93px 16px 40px auto 30vh;
    }
}

#appLoader .spinner {
    width: 24px;
    height: 24px;
    min-height: 24px;
    border: 3px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 24px auto 0;
    z-index: 10;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preloaderHeaderContainer {
    display: flex;
    width: 100%;
    justify-content: center;
    align-self: end;
    margin-top: 20px;
}

.oneWinImage {
    top: 0;
    height: 73px;
}

.brightHr {
    opacity: 0.5;
    width: 213px;
    height: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to left, #ffffff00, #ffffff, #ffffff00);
    margin: 0 auto;
    margin-top: 8px;
}

#appLoader.leagues .brightHr {
    display: none;
}

.hrCenter {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 149px;
    z-index: 2;
}

#appLoader.leagues .hrCenter {
    display: none;
}

.hrCenter::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
    filter: blur(1px);
}

.hrCenter::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    filter: blur(3px);
}

.newAreaGamingLabel {
    font-family: HalvarBreit, sans-serif;
    font-weight: 700;
    font-size: 19.95px;
    letter-spacing: -0.02em;
    line-height: 23.1px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-top: 8px;
}

#appLoader.leagues .newAreaGamingLabel {
    display: none;
}

.descriptionMain {
    margin-top: 20px;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

#appLoader.leagues .descriptionMain {
    margin-top: 20px;
}


#appLoader.leagues .preloaderDescriptionWrapper {
    background: none;
}

.preloaderDescription {
    display: flex;
    width: 230px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 0 auto;
}

#appLoader.leagues .preloaderDescription {
    height: auto;
    font-weight: 400;
    width: 100%;
}

.preloaderDescriptionHR {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    margin: 0 auto;
    width: 287px;
    height: 1px;
    background: linear-gradient(to left, #ffffff00, #ffffff57, #ffffff00);
}

#appLoader.leagues .preloaderDescriptionHR {
    display: none;
}

.preloaderDescriptionHR:last-child {
    top: auto;
    bottom: 0;
}

.preloaderDownImageContainer {
    display: flex;
    width: 170vw;
    height: 100%;
    max-height: min(60vh, 900px);
    margin-top: 10px;
    justify-content: center;
    align-items: end;
    position: relative;
}

.preloaderDownImageContainer .preloader-bg {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: -1;
    transform-origin: bottom center;
    transform: scale(1.2);
}

.preloaderDownImageContainer .preloader-bg-leagues {
    background: url('/images/preloader/rays-bg.webp');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.preloaderDownImageContainer .preloader-bg-web2 {
    width: 120%;
    background-image: url('/images/preloader/web2/web2-cat.webp');
    transform: scale(1.06) translate(0, 3%);
}

.preloaderDownImageContainer .preloader-img {
    display: block;
    max-width: 70vh;
    min-width: 70vh;
    width: 100%;
    height: calc(100% + 5vh);
    content: '';
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 0;
    bottom: -2vh;
    position: absolute;
}

.preloaderDownImageContainer .preloader-img-leagues {
    bottom: 0;
    background-size: contain;
}

.preloaderDownImageContainer .preloader-img-web2 {
    bottom: -0.3vh;
    transform-origin: bottom center;
}

.screen {
    left: 0;
    display: flex;
    content: '';
    width: 100%;
    height: calc(100vh - 200px);
    position: absolute;
    opacity: 0.4;
    background: linear-gradient(transparent, lightblue);
    mix-blend-mode: color-burn;
    bottom: 0;
}

.allRightsText {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.1px;
    font-weight: 400;
    padding: 25vh 0 24px 0;
    font-family: Inter, sans-serif;
    color: #fffffff5;
    z-index: +1;
}

.allRightsText::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 9, 43, 0) 0%, #00092b 100%);
    height: 98px;
    z-index: -1;
}

#appLoader.leagues .allRightsText::before {
    background: radial-gradient(242.08% 100% at 50.13% 0%, rgba(0, 5, 49, 0) 22.03%, rgba(0, 13, 58, 0.66) 64.31%, #000516 100%);
    height: 193px;
}

/* Leagues money animation */
#appLoader.leagues .money-item {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
}

.money .money-item:nth-child(1) {
    width: 36px;
    height: 34px;
    background-image: url('/images/money/web2-1.webp');
    right: 13%;
    bottom: 63%;
}

.money .money-item:nth-child(2) {
    width: 47px;
    height: 46px;
    background-image: url('/images/money/web2-2.webp');
    left: 6%;
    bottom: 38%;
}

.money .money-item:nth-child(3) {
    width: 75px;
    height: 75px;
    background-image: url('/images/money/web2-3.webp');
    right: 11%;
    bottom: 24%;
} 


#appLoader.city {
    background-image: url('/images/preloader/background-city2.webp');
    background-size: cover;
    background-position: bottom center;
}

#appLoader.city .preloader-img {
    background-size: 50%;
    bottom: -8vh;
}