#unity-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

#unity-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

#unity-loading-bar,
#AdsInGame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
}

#unity-loading-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#AdsInGame {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    opacity: 0.95;
}

#unity-loading-bar .row_loadding,
#AdsInGame .row_loadding {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: #000;
}

#unity-loading-bar .ads_loadding,
#AdsInGame .ads_inGame {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

#unity-loading-bar .ads_loadding_text,
#AdsInGame .ads_loadding_text {
    width: 100%;
    margin-top: 10px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.no-stage-ad #unity-loading-bar .ads_loadding_text {
    display: none !important;
}

#unity-loading-bar .ads_loadding_content,
#AdsInGame .ads_loadding_content {
    min-width: 300px;
    min-height: 250px;
    margin-top: 10px;
    overflow: hidden;
    text-align: center;
}

#unity-loading-bar .ads_loadding_content div,
#AdsInGame .ads_loadding_content div {
    background: #000 !important;
    color: #000 !important;
}

#unity-loading-bar .tilte-game {
    display: inline-block;
    margin: 12px 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

#unity-loading-bar .unity-box {
    width: 100%;
}

#unity-progress-bar-empty {
    width: 250px;
    height: 20px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #444;
    border: 2px solid #aeb5bd;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #4ade80);
    border-radius: 8px;
    transition: width 0.1s linear;
}

#div_btn,
#btn_close {
    width: 100%;
    display: none;
    text-align: center;
}

#unity-loading-bar .btn_play,
#AdsInGame .btn_play {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    margin: 10px auto;
    padding: 15px 31px;
    border: 0;
    border-radius: 35px;
    outline: 0;
    background: #4ade80;
    box-shadow: 0 5px 0 #16a34a, 0 20px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
    font-family: Nunito, Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #16a34a;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#unity-loading-bar .btn_play:active,
#AdsInGame .btn_play:active {
    transform: translateY(10px);
    box-shadow: 0 0 0 #16a34a, 0 10px 15px rgba(0, 0, 0, 0.4);
}

#unity-loading-bar .btn_play::before,
#AdsInGame .btn_play::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 11px;
    width: 15px;
    height: 8px;
    background-color: #bbf7d0;
    border-radius: 10px;
    transform: rotate(-25deg);
    opacity: 0.9;
}

#AdsInGame #vaule_countdown {
    width: 100%;
    margin-top: 15px;
    color: #fff;
    text-align: center;
}

#unity-loading-bar .box-full,
#AdsInGame .box-full {
    display: none;
}

@media (max-width: 991px) {
    #AdsInGame .ads_loadding_text {
        display: block;
        margin-top: 3px;
    }

    #unity-loading-bar .tilte-game {
        margin-top: 0;
        font-size: 21px;
    }

    #unity-loading-bar .btn_play,
    #AdsInGame .btn_play {
        height: 39px;
        margin-top: 8px;
    }

    #AdsInGame .ads_inGame,
    #unity-loading-bar .ads_loadding_content,
    #AdsInGame .ads_loadding_content {
        margin-top: 3px;
    }
}

@media (max-width: 767px) and (orientation: portrait),
(max-width: 991px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
    #unity-loading-bar .ads_loadding,
    #unity-loading-bar .ads_loadding_text {
        display: none !important;
    }
}
