* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Dosis", sans-serif;
    text-decoration: none;
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --text_color: #888;
    --rounded: 15px;
    --border-color: #e5e7eb;
    --btn_bg: #3B82F6;
    --btn-text-color: #f4f4f8;
    --btn-boxShadow: 2px 2px 14px rgb(0 0 0 / 40%);
    --div-boxShadow: rgba(0, 0, 0, 0.25) 0px 12px 22px -12px;
}

img,
video {
    height: auto;
    max-width: 100%;
}

main {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    /* background-image: url(../assets/grid_Frame.svg); */
    /* background-color: white; */
    background-color: #fe980018;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* .bg-top {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, white, rgba(30, 31, 34, 0));
}

.bg-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, white, rgba(30, 31, 34, 0));
} */

.main_div {
    max-width: 400px;
    margin: 3px;
    text-wrap: nowrap;
    width: 100%;
    height: 100%;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    position: relative;
    background-color: white;
    color: var(--text_color);
    /* overflow-y: scroll; */
    /* padding: 12px 8px; */
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fff_game_section {
    text-align: center;
    width: 100%;
}

.play_btn {
    background-color: transparent;
    margin: 16px 16px 0 16px;
    padding: 16px;
    width: 370px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 12px 22px -12px;
    border-radius: var(--rounded);
    border: 1px solid var(--border-color);
}

.play_btn_txt {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    text-wrap: wrap;
}

.click_btn {
    background-color: var(--btn_bg);
    margin-top: 15px;
    padding: 10px 28px 10px 28px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--btn-text-color);
    border-radius: var(--rounded);
    box-shadow: var(--btn-boxShadow);
    border: none;
    -webkit-transition: all 0.3s ease-in-out;
}

.play-btn {
    -webkit-transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.click_btn:hover,
.play-btn:hover {
    background-color: #0072d1;
    animation-name: shimmer;
    -moz-animation-duration: 2s;
    animation-duration: 2s;
}

@keyframes shimmer {
    0% {
        background-position: top left;
    }

    100% {
        background-position: top right;
    }
}

.more_game {
    width: 370px;
}

/* .click_btn_option {
    font-size: 14px;
    margin-top: 20px;
    color: var(--btn-text-color);
    padding: 10px 28px 10px 28px;
    background-color: #20213f;
    border: 1px solid #404380;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    min-height: 32px;
} */
.click_btn_option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;

}

.cat_img {
    width: 20px;
    height: 20px;
}

.choose_game {
    margin: 16px 16px 0 16px;
    background-color: transparent;
    padding: 16px;
    width: 370px;
    border-radius: var(--rounded);
    border: 1px solid var(--border-color);
    box-shadow: var(--div-boxShadow);
}

.class_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.class_flex a {
    width: 100%;
}

.game_section {
    margin: 16px 16px 0 16px;
    /* border: 1px solid var(--border-color); */
    border-radius: var(--rounded);
    /* padding: 20px; */

}

.game_section1 {
    padding: 4px 0 4px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    justify-items: center;
}

.game_section2 {
    border-radius: 25px;
    background-color: transparent;
    border: 1px solid #ebecf2;
    box-shadow: var(--div-boxShadow);
}

.game_section3 {
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.game_section4 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.game_section_img {
    width: 100%;
    /* height: 160px; */
    height: unset;
    /* border-radius: 4px; */
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.game_section5 {
    background-color: transparent;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    padding: 0px 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.game_section6 {
    color: var(--text_color);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.play_btn_txt1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.game_section6 p {
    margin-bottom: 0px;
    text-align: start;
    color: #000000;
    text-transform: uppercase;
}

.game_section5 button {
    background-color: var(--btn_bg);
    padding: 10px 50px 10px 50px;
    font-size: 14.4px;
    font-weight: 600;
    color: var(--btn-text-color);
    border-radius: var(--rounded);
    margin-bottom: 4px;
    border: none;
}

.main_logo {
    color: var(--text_color);
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    /* gap: 1.5rem; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_img {
    width: 50%;

}

.logo_content {
    font-weight: 700;
}

.logo_content .title {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    padding-top: 1rem;
}

.about_section {
    margin-top: 40px;
    width: 316px;
}

/* .about_section h1 {
    margin: auto;
    color: var(--text-color);
} */

.about_section h1 {
    margin: 10px 0 10px 0;
    text-wrap: wrap;
    text-align: left;
    color: var(--text-color);
    font-size: 22px;
}

.about_section p {
    text-wrap: wrap;
    text-align: start;
    color: #888;
    font-size: 16px;
}

.about_section ul {
    padding-left: 10px;
    text-wrap: wrap;
    text-align: left;
    color: #888;
    font-size: 16px;
}

footer {
    display: flex;
    width: 370px;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0px;
    color: white !important;
    /* width: 100%; */
}

.anchor_text {
    color: black;
}

.anchor_text:hover {
    text-decoration: underline;

}

.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;
}

.popup {
    align-items: center;
}

.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;
}

.bottom-ad {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    background-color: transparent;
    color: white;
    padding: 10px 16px 0px 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: none;
    animation: slideUp 0.5s ease-out forwards;
}

.close_ub {
    background-color: #ffffff;
    padding: 0 5px;
    position: absolute;
    top: -20px;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 20px;
    border-top-right-radius: 8px;
    cursor: pointer;
}

.btn1,
.click_btn1 {
    width: 100%;
}

.resp_footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 10px;
}

.resp_play_btn,
.resp_choose_game,
.resp_more_game,
.resp_about_section,
.resp_footer,
.resp_play_btn {
    display: flex;
    justify-content: center;
}

.imgBanner {
    height: 30px;
    margin-top: 20px;
}

.header {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.back-button {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    cursor: pointer;
    margin-left: 20px;
}

.title {
    font-size: 26px;
    margin-left: 15px;
    color: #f4a300;
}

.imgTitle {
    width: 50%;
}

.image {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.images {
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}


.image-container {
    display: flex;
    /* Enables flexbox */
    justify-content: space-between;
    margin-top: 10px;
    /* Adds space between the images */
}

.image-container img {
    width: 45%;
    /* Adjust image width to fit nicely */
    max-width: 100%;
    /* Ensure the images scale properly */
    height: auto;
    /* Maintain aspect ratio */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contentButton {
    font-size: 15px;
    color: #f4a300;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px 10px 5px 10px;
}

.countryP {
    font-size: 17px;
    color: #000000;
    text-wrap: wrap;
    margin: 10px 0 10px 0;
}

.dialog-button {
    width: 100%;
}

/* Dialog Overlay */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Dialog Box */
.dialog-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dialog Icon */
.dialog-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Dialog Title */
.dialog-box h2 {
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

/* Dialog Message */
.dialog-box p {
    font-size: 16px;
    color: #555;
    margin: 10px 0 20px;
}

#spin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 65%;
    left: 50%;
    height: 11%;
    width: 24%;
    border-radius: 50%;
    cursor: pointer;
    border: 0;
    background: radial-gradient(#fdcf3b 50%, #d88a40 85%);
    color: #c66e16;
    text-transform: uppercase;
    font-size: 1.8em;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.imgspin {
    position: absolute;
    width: 4em;
    top: 62%;
    right: -8%;
}

#final-value {
    font-size: 1.5em;
    text-align: center;
    margin-top: 1.5em;
    color: #202020;
    font-weight: 500;
}


.scratchCanvas {
    background: radial-gradient(circle, #cccccc, #999999);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s;
}

.scratchCanvas:hover {
    transform: scale(1.05);
}

#reward {
    /* margin-top: 20px; */
    margin: 20px 0 10px 0;
    animation: fadeIn 1s ease-in-out;
}

.reward-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: popUp 0.5s ease-in-out;
}

.reward-box p {
    font-size: 1.5rem;
    color: #4caf50;
    margin-bottom: 10px;
}

.reward-box h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff5722;
}

.h1scratch {
    font-size: 2.3rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.uldi {
    list-style-type: none;
    padding: 0;
}

.uldi li {
    cursor: pointer;
    padding: 10px 15px;
    margin: 5px 0;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.uldi li:hover {
    background-color: #0056b3;
}

.current-day {
    background-color: #28a745 !important;
    font-weight: bold;
    cursor: pointer;
}

.current-day:hover {
    background-color: #218838;
}

.gadsbanner {
    margin-top: 16px;
}

.imgnotaval {
    /* height: 30px; */
    width: 25%;
}

.centernotaval {
    text-align: center;
}

/* -------------------------------------------media----------------------------------------------- */



@media (min-width:500px) and (max-width:870px) {
    .logo_content {
        font-size: .875rem;
        line-height: 1.25rem;
    }
}

@media(max-width:500px) {
    .main_div {
        min-width: 100%;
        width: 100%;
        padding: 0px;
    }

}

@media(max-width:500px) and (min-width:420px) {

    /* .resp_play_btn, .resp_choose_game, .resp_more_game {
        margin: 0px 40px;
    } */
    .game_section1 {
        width: fit-content;
        margin: 0px auto;
    }
}

@media(max-width:400px) {
    .game_section5 button {
        padding: 10px 45px;
    }

    .about_section {
        padding: 0 16px 16px 16px;
    }

    footer {
        padding: 7px 16px;
    }
}

@media(max-width:768px) {
    .main_img {
        width: 100%;
    }
}

@media(max-width:360px) {
    .game_section5 button {
        padding: 10px 35px;
    }
}

@media(max-width:320px) {
    .game_section5 button {
        padding: 10px 20px;
    }
}

@media (max-width: 280px) {
    .game_section {
        margin: 16px 12px 0 12px;
    }

    .click_btn {
        text-wrap: nowrap;
        font-size: 12px;
    }

    .class_flex {
        gap: 4px;
    }
}

@media (max-width: 346px) {
    .cat_img {
        width: 15px;
        height: 15px;
    }

    .game_section1 {
        gap: 0.5rem;
    }


}

/* @media(max-width:860px) {
    .game_section5 button {
        text-wrap: nowrap;
        padding: 10px 30px 10px 30px;
    }
} */

@media(max-width:450px) {
    .game_section {
        border: none;
        padding: 0;
    }

    .game_section5 button {
        text-wrap: nowrap;
        /* padding: 10px 40px; */
    }

    .click_btn {
        font-size: 14px;
        text-wrap: nowrap;
    }

    .click_btn_option {
        padding: 10px 15px;
    }

}

@media (max-width: 500px) {
    .game_section2 {
        width: 180px;
    }

    .main_logo {
        display: none;
    }
}

@media (max-width: 420px) {

    .game_section2,
    .choose_game,
    .play_btn,
    .more_game {
        width: 100%;
    }


}

@media screen and (max-width: 640px) {
    .popup-content {
        width: 350px;
    }
}

@media screen and (max-width: 470px) {
    .popup-content {
        width: 100%;
    }
}

@media screen and (max-width: 386px) {
    .bottom-ad {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
    }

    to {
        transform: translateX(-50%) translateY(0);
    }
}