body {
    background-color: #1a1925;
    font-family: sans-serif;
    scroll-behavior: smooth;
    overflow: none;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #FFC700;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #FFC700;
}

:root { 
    --default-theme-color: #FFC700;
    --layer-1-bg-color: #1d1d1d;
    --border-color: #ffffff6e;
    --box-1-bg-color: #2c2c2c;
    --mobile-bg-color: #171717;
}

.mobile {
    margin: auto;
    max-width: 425px;
    background: #171717;
    /* background: linear-gradient(180deg, rgba(195, 221, 151, 1) 1%, rgba(149, 215, 171, 1) 52%, #6dd0b8 100%); */
    overflow-x: hidden;
    height: 100vh;
    scroll-behavior: smooth;

}

.fist_layer {
    background: var(--layer-1-bg-color);
    /* background: linear-gradient(130deg, rgba(247, 239, 189, 1) 1%, rgba(245, 245, 222, 1) 41%, rgba(244, 250, 244, 1) 100%); */
    border-radius: 25px 25px 0px 0px;
    height: 100vh;
}

.first_layer_home{
    background-color: var(--layer-1-bg-color);
    border-radius: 25px 25px 0px 0px;
    height: auto;
}

.native_ad_slot1 {
    width: 100%;
    height: auto;
    background-color: white;
    margin-bottom: 20px;
}

.option {
    background-color: var(--box-1-bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: #bbc2cf;
    cursor: pointer;
}

.ft_area {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--box-1-bg-color);
}

.QA_rules ul {
    text-align: left;
    list-style: disc;
}

.QA_rules ul li {
    margin-top: 8px;
}

.popup_model {
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(180deg, rgba(195, 221, 151, 1) 1%, rgba(149, 215, 171, 1) 52%, rgba(109, 208, 184, 1) 100%); */
    background: var(--mobile-bg-color);
    z-index: 10;
    position: absolute;
    transition: opacity 0.3s ease-in-out;
    opacity: 0; /* Initially hidden */
}

.popup_model.show {
    opacity: 1; /* Make visible */

}

.usr_reward {
    height: 410px;
    width: 450px;
    background: var(--layer-1-bg-color);
    border: 2px solid var(--border-color);
    border-radius: 40px;
    transition: transform 0.3s ease-in-out;
    transform: scale(0.8); /* Initially smaller */
}

.usr_reward.show {
    transform: scale(1); /* Make normal size */
}


.default_btn {
    background: white;
    padding: 10px;
    border-radius: 10px;
    /* border: 2px solid #c0dd99; */
    color: #4b5745;
    font-weight: 700;
    font-size: 15px;
    width: 70%;
}

.q_tile{
    background-color: var(--box-1-bg-color);
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 15px;
}

.quiz_play_fwd_btn{
    height: 50px;
    width: 50px;
    background: white;
    border-radius: 10px;
    text-align: center;
    font-size: 25px;
}

.entry_fee{
    border-radius: 20px;
    background: #ffffff;
    width: 70%;
    max-width: 120px;
}

.bottom_bar{
    max-width: 425px;
}

.user_wallet span{
    background-color: #ffffff;    
}

.quiz_cat_tile {
    background-color: var(--box-1-bg-color);
    height: auto;
    min-height: 130px;
    height: auto;
    word-wrap: break-word;
}

.quiz_cat_tile img{
    background-color: #F1FAF8;
    box-shadow: gray 3px 2px 5px ;
}

.profile_cirlcle_bg{
    background-color: #F1FAF8;
    height: 200px;
    width: 200px;
    border-radius: 100%;
}

.user_coin_show{
    background-color: #F1FAF8;
    height: 40px;
    border-radius: 10px;
    width: 40%;
}


.progress-bar-container {
    width: 290px;
    height: 7px;
    overflow: hidden;
    position: relative;
    background-color: #9b999956;
    border-radius: 15px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(130deg, rgba(247, 239, 189, 1) 1%, rgba(245, 245, 222, 1) 41%, rgba(244, 250, 244, 1) 100%);
    position: absolute;
}

.first_layer_result{
    /* background-color: #F1FAF8; */
    height: 100vh;
    background: var(--layer-1-bg-color);
}

#treasure-popup{
    z-index: 1111;
}   

.adslot_1 { width: 100%; height: 300px }

/* Here's start for media query */
@media only screen and (max-width: 576px) {
    .mobile {
        max-width: 576px;
    }

    .bottom_bar{
        max-width: 576px;
    }

    .usr_reward {
        width: 100%;
        height: 410px;
        margin: 15px;
    }

    /* .adslot_1 { width: 100%; height: 200px; } */
}

@media only screen and (max-width: 440px) {
    .mobile {
        max-width: 440px;
    }

    .bottom_bar{
        max-width: 440px;
    }

    .usr_reward {
        width: 100%;
        height: 410px;
        margin: 15px;

    }

    /* .adslot_1 { width: 100%; height: 200px; } */

}

@media only screen and (max-width: 400px) {
    .mobile {
        max-width: 400px;
    }

    .bottom_bar{
        max-width: 400px;
    }
    /* .adslot_1 { width: 100%; height: 200px; } */
}

@media only screen and (max-width: 360px) {
    .mobile {
        max-width: 360px;
    }
    /* .adslot_1 { width: 100%; height: 200px; } */

}

.adslot_1 { width: 100%; height: 300px }
@media (min-width: 500px) { .adslot_1 { width: 100%; height: 300px; } }
@media (min-width: 800px) { .adslot_1 { width: 100%; height: 300px; } }


/* Pop up for ads show in index page */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    opacity: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    pointer-events: none;
}

.popup-content {
    position: relative;
    height: auto;
    border: 1px solid #888;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    width: 600px;
    padding: 10px;
    position: absolute;
    pointer-events: auto;
    z-index: 1001;
}

.close-popup {
    outline: none;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 20%;
    color: #000;
    cursor: pointer;
    font-family: arial;
    font-size: 25px;
    font-weight: 700;
    height: 30px;
    line-height: 25px;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: 30px;
    z-index: 1003;
}



@media (max-width: 500px) {
    .popup-content {
        width: 100%;
    }
}

@media (max-width: 768px) and (min-width:501px) {
    .popup-content {
        width: 360px;
    }
}