
@font-face {
    font-family: "Rifton Norm";
    src: url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.eot");
    src: url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/31255a1d1395bb91aec77d16e2e26fdc.svg#Rifton Norm")format("svg");
}

:root {
    --black: #000;
    --white: #FFF;
    --primary: #5235cc;
    --border-color: #8C8C8C;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
    min-height: 100vh;
    color: #FFF;
}

body[data-lang=ar]{
    direction: rtl;
}

#root {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url("../img/magicboxae.01.games/main-background.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
}
#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255, 0.5);
    z-index: 100;
    flex-direction: column;
}
#loader img{
    vertical-align: middle;
    width: 50%;
}
#loader #errorMessage{
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}
#header {
    width: 95%;
    margin: 0 auto;
    max-width: 680px;
    min-width: 280px;
    z-index: 10;
}

#languages {
    display: flex;
    flex-direction: row;
    float: right;
    direction: ltr;

}

.language {
    border: solid 2px var(--white);
    padding: 3px 6px;
    margin: 5px;
    cursor: pointer;
    line-height: 100%;
    color: var(--white);
}

.language.active {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: text;
}

#content {
    max-width: 680px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    min-width: 280px;
}

#brand {
    width: 100%;
    min-height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    direction: ltr;
    color: #FFF;
    z-index: 10;
}
#brand img{
    margin: 0rem 1rem;
}
#brandContent h3{
    margin: 0;
    line-height: 100%;
}
#brandContent p{
    font-size: 11px;
    margin: 0px;
    line-height: 100%;
}

.step {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex: 50%;
    z-index: 1;
}
.step > div{
    width: 50%;
}
@media (max-width: 1024px){
    .step > div{
        width: 100%;
    }
}
@media (max-width: 1024px) and (orientation: portrait){
    .step {
        flex-direction: column;
    }
}

#title {
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-family: "Rifton Norm";
    letter-spacing: 0px;
    color: #fdfc47;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 11;
    position: relative;
    margin-top: -30px;
}

#subTitle {
    text-align: center;
}

#bullets {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

#bullets ol li{
    position:relative;
    font-size:16px;
    counter-increment: list-counter;
    padding-left: 20px;
}
[data-lang=ar] #bullets ol li{
    padding-left: 0;
    padding-right: 20px;
}
#bullets ol li::marker{
    content: ""
}
#bullets ol li:before {
    content: counter(list-counter);
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: var(--primary); /* Background color for numbers */
    color: white;
    text-align: center;
    line-height: 23px;
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 3px;
}
[data-lang=ar] #bullets ol li:before {
    right: -10px;
    left: unset;
    direction: rtl;
}

#inputWrapper {
    display: flex;
    flex-direction: row;
    border: 1px solid var(--border-color);
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    direction: ltr;
    border-radius: 5px;
    overflow: hidden;
}

#countryCode {
    color: #000;
    height: 50px;
    line-height: 48px;
    background: #FFF;
    text-align: end;
    margin-right: -1px;
    font-size: 28px;
    padding: 5px;
    padding-left: 50px;
    letter-spacing: 5px;
}

#phoneInput, #otpInput {
    outline: none;
    width: 100%;
    border: none;
    border-left: solid 1px var(--border-color);
    padding: 5px;
    text-align: center;
    font-size: 25px;
    letter-spacing: 5px;
}
#phoneInput{
    text-align: left;
    padding-left: 15px;
    border-left: 0px;
    padding-left: 0;
}
#phoneInput.valid{
    background: url(../img/magicboxae.07.games/input_check.png) no-repeat #FFF;
    background-size: 30px;
    background-position: calc(100% - 10px);
}
#otpInput{
    height: 40px;
    background: url(../img/magicboxae.07.games/pin.svg) left center no-repeat #FFF;
    background-size: 30px;
    background-position-x: 10px;
}
a#submitAction {
    max-width: 320px;
    width: 100%;
    margin: 10px auto;
    display: block;
    color: #000;
    text-align: center;
    font-size: 1.5em;
    line-height: 100%;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fdfb47 0%, #5dfd43 100%);
    padding: 10px 0px;
    border-radius: 5px;
    overflow: hidden;
    opacity: 1;
    animation: heartbeat 1.5s infinite;
}
a#submitAction[disabled=true]{
    opacity: 0.6 !important;
    animation: none;
}

a#submitAction p {
    font-size: 12px;
    line-height: 12px;
    margin-top: 5px;
    margin-bottom: 0px;
}
#underButtonText{
    color: var(--black);
    text-align: center;
}
#price{
    color: #FFF;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
}
#priceTop{
    text-align: center;
    font-size: 12px;
    color: #FFF;
}
#exit {
    text-align: center;
    background: #e329b0a3;
    width: 150px;
    margin: .1rem auto;
    height: 20px;
    line-height: 20px;
    font-size: 15px;
    border-radius: 5px;
}
#exit a {
    color: #FFF;
    text-decoration: none;
}
#disclaimer{
    color: #FFF;
    font-size: 12px;
    text-align: start;
    line-height: 1.5em;
    margin-top: 20px;
}
#disclaimer a{
    color: #FFF !important;
}

#footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: auto;
}
#footer .footerLink{
    text-align: center;
    margin: 5px;

}
#footer .footerLink a{
    color: #FFF !important;
}



@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.03);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

#featuredMedia {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -95px;
}
#featuredMedia #mediaBg{
    width: 90%;
}

#playIcon{
    position: absolute;
    top: 50%;
    width: 20%;
}

.blurred {
    filter: blur(2px) grayscale(0.5) saturate(0.5) brightness(0.6) !important;
}

.blurred.more {
    filter: blur(4px) grayscale(0.5) saturate(0.5) brightness(0.6) !important;
}