/* SPLASHSCREEN */
#splashScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../Game/Graphics/Images/Backgrounds/GFX_ambientBackground_splash.jpg?_t=20260202131055);
    background-size: cover;
    background-position: center;
    z-index: 9999999;
    opacity: 1;
    overflow: hidden;
    transition: opacity 1s;
    transform: translate3d(0, 0, 0);
}

#splashScreen .screenOverlay {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 1px);
    height: calc(100% + 1px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(6, 17, 53, 0.9) 85%, rgba(6, 17, 53, 0.95) 100%);
}

#splashScreen._disabled {
    opacity: 0;
}

#splashScreen._loaded {
    opacity: 1;
    transition: none;
}

#root:has(#splashScreen) #screen {
    display: none;
}

#splashScreen .paytablePage {
    position: unset;
    width: 100%;
    height: calc(100% - 188px);
    box-sizing: border-box;
    padding: 0 56px;
}

#splashScreen .paytablePage .customContent {
    height: 100%;
}

#splashScreen .splashLoadingInfo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 140px;
    text-align: center;
    margin: 0 auto;
}

#splashScreen .splashProgressBarHolder {
    margin-top: 22px;
}

#splashScreen._loaded .splashProgressBarHolder {
    display: none;
}

#splashScreen._error .splashProgressBarHolder {
    margin-top: 12px;
}

#splashScreen .splashProgressBar {
    width: 504px;
    height: 8px;
    background: #112357;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}

#splashScreen._error .splashProgressBar {
    display: block;
    width: 100%;
    height: auto;
    font-size: 24px;
    line-height: 28px;
    color: #e4161a;
    letter-spacing: 1px;
    background: none;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0 20px;
}

#splashScreen .splashProgressBarOverlay {
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#84b0e5+0,e2e9ff+48,9bccf4+50,62b9eb+58,71b4ed+60,71b4ed+60,84b0e5+100 */
    background: rgb(132, 176, 229); /* Old browsers */
    background: -moz-linear-gradient(
        top,
        rgba(132, 176, 229, 1) 0%,
        rgba(226, 233, 255, 1) 48%,
        rgba(155, 204, 244, 1) 50%,
        rgba(98, 185, 235, 1) 58%,
        rgba(113, 180, 237, 1) 60%,
        rgba(113, 180, 237, 1) 60%,
        rgba(132, 176, 229, 1) 100%
    ); /* FF3.6-15 */
    background: -webkit-linear-gradient(
        top,
        rgba(132, 176, 229, 1) 0%,
        rgba(226, 233, 255, 1) 48%,
        rgba(155, 204, 244, 1) 50%,
        rgba(98, 185, 235, 1) 58%,
        rgba(113, 180, 237, 1) 60%,
        rgba(113, 180, 237, 1) 60%,
        rgba(132, 176, 229, 1) 100%
    ); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(
        to bottom,
        rgba(132, 176, 229, 1) 0%,
        rgba(226, 233, 255, 1) 48%,
        rgba(155, 204, 244, 1) 50%,
        rgba(98, 185, 235, 1) 58%,
        rgba(113, 180, 237, 1) 60%,
        rgba(113, 180, 237, 1) 60%,
        rgba(132, 176, 229, 1) 100%
    ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84b0e5', endColorstr='#84b0e5',GradientType=0 ); /* IE6-9 */
}

#splashScreen._error .splashProgressBarOverlay {
    background: none;
}

#splashScreen #splashContinueButton {
    display: none;
    height: 40px;
    line-height: 40px;
    font-size: 26px;
    font-weight: bold;
    color: #072543;
    text-shadow: 0 1px 1px #fff;
    text-align: center;
    letter-spacing: 1px;
    border-radius: 33px;
    border: 2px solid #fff;
    box-shadow: 0 0 1px #fff;
    background-image: -ms-linear-gradient(top, #f4f6fa 0%, #809fc9 50%, #809fc9 75%, #f4f6fa 100%);
    background-image: -moz-linear-gradient(top, #f4f6fa 0%, #809fc9 50%, #809fc9 75%, #f4f6fa 100%);
    background-image: -o-linear-gradient(top, #f4f6fa 0%, #809fc9 50%, #809fc9 75%, #f4f6fa 100%);
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #f4f6fa),
        color-stop(50, #809fc9),
        color-stop(75, #809fc9),
        color-stop(100, #f4f6fa)
    );
    background-image: -webkit-linear-gradient(top, #f4f6fa 0%, #809fc9 50%, #809fc9 75%, #f4f6fa 100%);
    background-image: linear-gradient(to bottom, #f4f6fa 0%, #809fc9 50%, #809fc9 75%, #f4f6fa 100%);
    padding: 0 60px;
    margin: 4px 16px;
    cursor: pointer;
    animation: teaseContinueBtn 1s infinite 0.5s;
}

#splashScreen._loaded #splashContinueButton {
    display: inline-block;
}

#splashScreen #splashContinueButton:hover {
    box-shadow: 0 0 8px #ffffff;
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
    animation: none;
}

#splashScreen #splashContinueButton:active {
    line-height: 41px;
}

@-webkit-keyframes teaseContinueBtn {
    50% {
        box-shadow: 0 0 8px #ffffff;
        -webkit-filter: brightness(1.3);
        filter: brightness(1.3);
    }
}

@keyframes teaseContinueBtn {
    50% {
        box-shadow: 0 0 8px #ffffff;
        -webkit-filter: brightness(1.3);
        filter: brightness(1.3);
    }
}

#splashScreen #splashContinueButton,
#splashScreen #splashContinueButton div {
    transform: translate3d(0, 0, 0);
}

#splashScreen .synotLogo {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    pointer-events: none;
}

/* custom */
#splashScreen .splashContent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: min-content max-content min-content;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: calc(100% - 190px);
    max-width: 1280px;
    margin: 0 auto;
    gap: 4px 0;
}

#splashScreen .splashContent > * {
    grid-row: 1 / span 3;

    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;

    flex-direction: column;
    align-items: center;
    justify-items: center;
}

#splashScreen .splashContent > *:nth-child(1) > *,
#splashScreen .splashContent > *:nth-child(3) > * {
    scale: 0.9;
    transform-origin: bottom;
}

#splashScreen .gameLogo {
    margin: 0 auto;
}

#splashScreen .wildContainer > *:nth-child(n + 2) {
    margin-top: -72px;
}

#splashScreen .symbolDescription {
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    grid-row-start: 2;
    letter-spacing: 2px;
}

#splashScreen .symbolDescription:not(.stroke) {
    color: #fff;
}

#splashScreen .symbolDescription.stroke {
    --offset: 3px;
    --size: 5px;
    -webkit-text-stroke: 4px #000;
    /*text-shadow:*/
    /*    0 calc(var(--offset) * -1) var(--size) #000,*/
    /*    calc(var(--offset) * 1) 0 var(--size) #000,*/
    /*    0 calc(var(--offset) * 1) var(--size) #000,*/
    /*    calc(var(--offset) * -1) 0 var(--size) #000;*/
}

#splashScreen .multiplier {
    margin-top: -4px;
}

.wildContainer > * {
    max-width: 90%;
    margin: 0 auto;
}

.portrait #splashScreen .gameLogo {
    max-width: 90%;
    margin-bottom: -80px;
}

.portrait.extendPortrait:not(.mobile-xs) #splashScreen .gameLogo {
    margin-bottom: calc(-80px - 4vh);
    margin-top: 4vh;
}

.portrait #splashScreen .splashContent {
    grid-template-rows: repeat(6, min-content);
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    align-content: center;
}

.portrait #splashScreen .splashContent > * {
    grid-row: auto / span 2;
    grid-column: 1 / span 2;
    margin-bottom: 40px;
}

.portrait #splashScreen .splashContent > *:last-child {
    margin: 0;
}

.portrait #splashScreen .splashContent > * > *:is(.splScr, .wildContainer) {
    grid-row: 2 / span 1;
}
.portrait #splashScreen .splashContent > * > .symbolDescription {
    grid-row: 1 / span 1;
    grid-column: 1 / span 2;
    margin-bottom: -20px;
}

/****************** splashScreen ********************/

:root {
    --splWild_position: 0.06844626967830253% 1.2195121951219512%;
    --splWild_size: 631.2727272727273% 147.953216374269%;
    --splWild_ratio: 275 / 171;
    --splWild_width: 275px;
    --splWild_height: 171px;

    --synotLogo_position: 0.06983240223463687% 90.10416666666667%;
    --synotLogo_size: 571.0526315789474% 414.75409836065575%;
    --synotLogo_ratio: 304 / 61;
    --synotLogo_width: 304px;
    --synotLogo_height: 61px;

    --splDoubleWild_position: 18.998628257887518% 1.1904761904761905%;
    --splDoubleWild_size: 624.4604316546763% 149.7041420118343%;
    --splDoubleWild_ratio: 278 / 169;
    --splDoubleWild_width: 278px;
    --splDoubleWild_height: 169px;

    --splGameLogo_position: 99.82046678635548% 0.9523809523809523%;
    --splGameLogo_size: 147.2434266327396% 170.94594594594594%;
    --splGameLogo_ratio: 1179 / 148;
    --splGameLogo_width: 1179px;
    --splGameLogo_height: 148px;

    --splX8-32_position: 39.40467753366407% 99.33774834437087%;
    --splX8-32_size: 534.1538461538462% 248.0392156862745%;
    --splX8-32_ratio: 325 / 102;
    --splX8-32_width: 325px;
    --splX8-32_height: 102px;

    --splX4-16_position: 64.14545454545454% 98.6842105263158%;
    --splX4-16_size: 480.88642659279776% 250.4950495049505%;
    --splX4-16_ratio: 361 / 101;
    --splX4-16_width: 361px;
    --splX4-16_height: 101px;

    --splX2-8_position: 85.03075871496924% 96.15384615384616%;
    --splX2-8_size: 635.8974358974359% 260.82474226804123%;
    --splX2-8_ratio: 273 / 97;
    --splX2-8_width: 273px;
    --splX2-8_height: 97px;
}

.splScr:is(.splGameLogo, .splWild, .splDoubleWild, .splX8-32, .splX4-16, .synotLogo, .splX2-8) {
    background-image: url(../Game/Graphics/SpriteSheets/CSS_splashScreen-0.png?_t=20260202131055);
}

/*******************************************************/

.splScr.splGameLogo {
    background-position: var(--splGameLogo_position);
    background-size: var(--splGameLogo_size);
    aspect-ratio: var(--splGameLogo_ratio);
    width: var(--splGameLogo_width);
}

.splScr.splWild {
    background-position: var(--splWild_position);
    background-size: var(--splWild_size);
    aspect-ratio: var(--splWild_ratio);
    width: var(--splWild_width);
}

.splScr.splDoubleWild {
    background-position: var(--splDoubleWild_position);
    background-size: var(--splDoubleWild_size);
    aspect-ratio: var(--splDoubleWild_ratio);
    width: var(--splDoubleWild_width);
}

.splScr.splX8-32 {
    background-position: var(--splX8-32_position);
    background-size: var(--splX8-32_size);
    aspect-ratio: var(--splX8-32_ratio);
    width: var(--splX8-32_width);
}

.splScr.splX4-16 {
    background-position: var(--splX4-16_position);
    background-size: var(--splX4-16_size);
    aspect-ratio: var(--splX4-16_ratio);
    width: var(--splX4-16_width);
}

.splScr.synotLogo {
    background-position: var(--synotLogo_position);
    background-size: var(--synotLogo_size);
    aspect-ratio: var(--synotLogo_ratio);
    width: var(--synotLogo_width);
}

.splScr.splX2-8 {
    background-position: var(--splX2-8_position);
    background-size: var(--splX2-8_size);
    aspect-ratio: var(--splX2-8_ratio);
    width: var(--splX2-8_width);
}

/* ************************* LANGUAGE OVERRIDES ************************* */

/* el-GR */
body[language='el'] #splashContinueButton,
body[language='el-GR'] #splashContinueButton,
body[language='el'] #splashScreen._error .splashProgressBar,
body[language='el-GR'] #splashScreen._error .splashProgressBar {
    font-family: 'Bebas Neue Greek';
}

/* vi-VN */
body[language='vi'] #splashContinueButton,
body[language='vi-VN'] #splashContinueButton,
body[language='vi'] #splashScreen._error .splashProgressBar,
body[language='vi-VN'] #splashScreen._error .splashProgressBar {
    font-family: 'Bison Demi Bold';
}

/* MOBILE PORTRAIT OVERRIDES */
.portrait #splashScreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portrait #splashScreen .splashContent {
    margin: 0 0 200px;
}

.portrait #splashScreen .paytablePage {
    bottom: unset;
    height: auto;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.portrait #splashScreen .splashLoadingInfo {
    width: 100%;
    height: 200px;
    z-index: 1;
}

.portrait #splashScreen .synotLogo {
    bottom: 56px;
}

/* special resolutions fix */




.portrait #splashScreen .splashContent {
    transform: scale(0.9);
}

.portrait.mobile-xs #splashScreen .splashContent {
    transform: scale(0.8);
}

.portrait.tablet #splashScreen .splashContent {
    transform: scale(0.62);
}

.portrait.tablet-xs #splashScreen .splashContent {
    transform: scale(0.62);
}

.portrait.safari:not(.mobile-xs):not(.tablet):not(.tablet-xs) #splashScreen .splashContent {
    transform: scale(0.8);
}

/* MOBILE PORTRAIT LANUGAGE OVERRIDES */
body[language='ka'].portrait #splashScreen #splashContinueButton,
body[language='ka-GE'].portrait #splashScreen #splashContinueButton,
body[language='ja'].portrait #splashScreen #splashContinueButton,
body[language='ja-JP'].portrait #splashScreen #splashContinueButton {
    font-size: 20px;
}

body[language='ka-GE'].portrait #splashScreen .splashContent > * > .symbolDescription,
body[language='ka'].portrait #splashScreen .splashContent > * > .symbolDescription {
    margin-left: 70px;
}

body[language='ka-GE'].portrait #splashScreen .splashContent > *:nth-child(2) > .symbolDescription,
body[language='ka'].portrait #splashScreen .splashContent > *:nth-child(2) > .symbolDescription {
    margin-bottom: -6px;
}