@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* @font-face {
    font-family: 'abdo_logoregular';
        src: url('../fonts/AbdoLogo.woff2') format('woff2'),
         url('../fonts/AbdoLogo.woff') format('woff'),
         url('../fonts/AbdoLogo.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
} */

@font-face {
    font-family: 'Graphik Arabic';
    src: url('GraphikArabic-Black.woff2') format('woff2'),
        url('GraphikArabic-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('../fonts/GraphikArabic-Light.woff2') format('woff2'),
        url('../fonts/GraphikArabic-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('../fonts/GraphikArabic-Bold.woff2') format('woff2'),
        url('../fonts/GraphikArabic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('../fonts/GraphikArabic-Medium.woff2') format('woff2'),
        url('../fonts/GraphikArabic-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Arabic';
    src: url('../fonts/GraphikArabic-Regular.woff2') format('woff2'),
        url('../fonts/GraphikArabic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



:root{
    /* --main-color: #D8B368; */
    --red: #E00800;
    --reddark: #A80600;
    --hard: #7C0124;
    --harddark: #5D011B;
    --mid: #D18D86;
    --midlight: #F2E6E9;
    --middark: #9D6A65;
    --easy: #181F4B;
    --easydark: #5D011B;
    --easydark: #121738;
    --black3: #1D1D1D;
    --black2: #0E0D0D;
    --blue: #181F4B;
    --bluedark: #121738;
    --green: #3E5A49;
    --gray: #D2D2D2;
    --gray3: #D9D9D9;
    --gray4: #B2B2B2;
    --gray5: #9C9C99;
    --gray6: #71716F;
    --gray7: #B4B4B4;
    --gray8: #DADAD7;
    --gray9: #E8E9ED;
    --gray10: #EFE8ED;
    --gray11: #B7BAC7;
    --black: #000000;
    --white: #FFFFFF;
    --offwhite: #F2F2F2;
    --green: #1F8D4A;
    --green2: #40B761;
    --greenlight: #EDF6F3;
    --greenbright: #47CB6C;
    --yellowdark: #CC9A4E;
    --yellow: #FFC161;
    --yellowlight: #FFF9EF;
}

body {
    font-family: "Tajawal", sans-serif;
    direction: rtl;
    color: var(--white);
    font-size: 14px;
    background: var(--black2);
}


*,
input::placeholder{
    font-family: "Tajawal", sans-serif;
}

section{
    overflow: hidden;
}

a{
    color: unset;
    text-decoration: none;
    font-size: 14px;
}



h1,h2,h3,h4,h5,h6 {
    line-height: 1.2;
}
h1,h2,h3,h4,h5,h6,.btn,
h3 span {
    font-family: "Tajawal", sans-serif;
}

h1,h2,h3,h4,h5,h6,p,span{
    margin: 0;
}

h1, .h1 { font-size: 24px; font-weight: 700; }
h1.large-title, .h1.large-title { font-size: 32px; font-weight: 700; }
h2, .h2 { font-size: 20px; font-weight: 700; }
h3, .h3 { font-size: 18px; font-weight: 700; }
h4, .h4 { font-size: 16px; font-weight: 700; }
h5, .h5 { font-size: 14px; font-weight: 700; }
h6, .h6 { font-size: 12px; font-weight: 700; }

p { font-size: 14px; font-weight: 400; margin-bottom: 0; line-height: 1.4; }
label {
    font-size: 14px;
    color: var(--black2);
}

.container {
    width: 100%;
    max-width: 768px;
}

.cloud-img {
    background: url('../images/home-banner-clouds.png') no-repeat center center / contain;
    width: 300px;
    height: 49px;
    display: block;
}

.banner-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 122px;
    max-width: 100%;
}
.banner-animation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.banner-content-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--white);
}
.banner-content-wrapper h1,
.banner-content-wrapper h4 {
    margin: 0;
}

.section-title {
    display: flex;
    align-items: center;
    padding: 0 4px 0 0;
    color: var(--red);
    border-right: 2px solid var(--white);
    margin: 0 0 12px;
    line-height: 1;
}

.badge {
    font-family: "Tajawal", sans-serif;
    font-size: 12px;
    padding: 1px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    line-height: 1;
}
.badge-success {
    color: var(--greenbright);
    border-color: var(--greenbright);
    background: var(--greenlight);
}
.badge-banner {
    color: var(--blue);
    border-color: var(--gray9);
    background: var(--gray9);
}

.login-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 155px;
    height: 155px;
    margin: 0 auto;
}
.login-animation img,
.login-animation-otp img,
.profile-done-animation-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.login-animation-otp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 446px;
    height: 100%;
    max-height: 323px;
    margin: 0 auto;
}

.page-title-bar {
    background: var(--white);
    padding: 13px 0 9px;
    box-shadow: 0 1px 4px rgba(12, 12, 13, .1);
    text-align: center;
    display: flex;
    align-items: center;
    border-radius: 0 0 8px 8px;
    position: relative;
}
.page-title-bar h1 {
    color: var(--black);
}
.page-title-bar .col-12 {
    position: relative;
}
.btn-header-back {
    background: none;
    border: 0;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-header-back:hover svg path {
    fill: var(--red);
}
.btn-header-back svg path,
.btn-header-back:hover svg path {
    transition: all .3s ease-in-out;
}
.page-title-bar .btn-header-back {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.profile-done-animation-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.alert-continue-play {
    display: flex;
    background: linear-gradient(86.53deg, rgba(224, 8, 0, 0.45) -190.99%, rgba(255, 255, 255, 0.5) 159.3%),
linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
    box-shadow: 0px 1px 3px 1px #00000026;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    
}
.alert-continue-play h2 {
    margin: 0;
    color: var(--red);
}


.global-game-table-wrapper {
    padding: 8px 15px;
    background: var(--white);
    border-radius: 8px;
}


.btn-action-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

/*  timer   */
.current-question-number {
    position: relative;
}
/* .digit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
} */
.digit {
  font-size: 18px;
  font-weight: 500;
  color: #1b7a34;
  text-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: color 0.3s ease, transform 0.3s ease;
}
.digit.tick {
  animation: pop 0.4s ease, flip 0.6s ease;
}
@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes flip {
  0%   { transform: rotateX(0deg); }
  50%  { transform: rotateX(25deg); }
  100% { transform: rotateX(0deg); }
}
.warning {
  color: red !important;
  font-weight: 700;;
  transform: scale(1.2);
}



.timer-ring {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 4px solid transparent;
    border-top-color: var(--yellow);                  /* visible animated border */
    animation: timerSpin 3s linear infinite;      /* 3s cycle */
}
.timer-ring.warning-spin {
    border-top-color: var(--red);  
}
@keyframes timerSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.timer-background-spin {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 45px;
    height: 45px;
}

.spinner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
}
.spinner-background {
    width: 100%;
    max-width: 280px;
}
.spinner-circle {
    max-width: 210px;
    position: absolute;
    top: 35px;
    left: 35px;
    transform-origin: 50% 50%;   /* rotate around true center */
    transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1);
}
.spinner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50px;
}
.spinner-pointer {
    max-width: 80px;
    position: absolute;
    top: 114px;
    right: -20px;
    /* transform: translateY(-50%); */

    /* transform-origin: -50% 0%; */
    transform-origin: 100% 50%;
    /* animation: pointerShake 0.3s ease-in-out infinite; */
}
@keyframes pointerFlick {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-12deg); } /* tip goes up */
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }   /* small settle down */
}
.spinner-pointer.active {
    animation: pointerFlick 0.25s ease-in-out infinite;
}

.showLetterModal.active-modal-letter {
    display: block;
}
.single-show-letter-modal h2 {
    color: var(--bluedark);
}
.single-show-letter-modal h2.modal-title {
    color: var(--white);
}
.hero-letter {
    color: var(--red);
    font-size: 24px;
}

.main-content-center-wrapper {
    justify-content: center;
    min-height: calc(100vh - 147px);
    padding-top: 0;
}


.accordion-item {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--red);
    background: transparent;
    padding: 12px 0;

}
.accordion-button {
    background: transparent;
    border: 0;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--red);
    padding: 0;
    justify-content: space-between;
}
.accordion-item:first-of-type>.accordion-header .accordion-button {
    border: 0;
    border-radius: 0;
}
.accordion-button::after {
    display: none;
}
.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--white);
    border: 0;
    box-shadow: none;
}

.accordion-button i {
    color: var(--white);
    transform: rotate(0);
    transition: all .3s ease-in-out;
}
.accordion-button:not(.collapsed) i {
    transform: rotate(180deg);
    transition: all .3s ease-in-out;
}
.accordion-body {
    padding: 6px 0 0;
}
.accordion-item:last-of-type {
    border-radius: 0;
}