* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --text_color: #cbd5e0;
    --btn-rounded: 393px;
    --rounded: 15px;
    --border-color: rgba(255, 255, 255, 0.08);
    --btn_bg: linear-gradient(135deg, #ff5e00 0%, #ff9500 100%);
    --btn-text-color: #ffffff;
    --btn-boxShadow: 0 4px 15px rgba(255, 94, 0, 0.35);
    --div-boxShadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --ff-orange: #ff5e00;
    --ff-orange-hover: #ff7820;
    --ff-orange-glow: rgba(255, 94, 0, 0.45);
    --ff-gold: #ffc107;
    --ff-gold-glow: rgba(255, 193, 7, 0.3);
    --ff-dark-bg: #08090d;
    --ff-card-bg: rgba(22, 24, 33, 0.7);
    --ff-card-border: rgba(255, 255, 255, 0.06);
    --box-color: rgba(22, 24, 33, 0.7);
}

img,
video {
    height: auto;
    max-width: 100%;
}

main {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 15%, rgba(255, 94, 0, 0.15), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.08), transparent 50%),
                var(--ff-dark-bg) !important;
    overflow-x: hidden;
}

/* Grid Matrix Procedural Overlay */
main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.bg-top,
.bg-bottom {
    display: none !important;
}

.main_div {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    background-color: rgba(11, 12, 16, 0.95) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    color: var(--text_color);
    gap: 16px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 24px 18px !important;
    z-index: 1;
}

.fff_game_section {
    text-align: center;
    width: 100%;
}

.play_btn {
    background-color: var(--ff-card-bg);
    margin: 16px 16px 0 16px;
    padding: 18px;
    width: 370px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: var(--rounded);
    border: 1px solid var(--ff-card-border);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.play_btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 193, 7, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 193, 7, 0.1);
}

.play_btn:active {
    transform: translateY(1px) scale(0.98);
}

.play_btn_txt {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    text-wrap: wrap;
}

.click_btn {
    background: var(--btn_bg);
    margin-top: 15px;
    padding: 12px 32px 12px 32px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    color: var(--btn-text-color);
    border-radius: var(--rounded);
    box-shadow: var(--btn-boxShadow);
    border: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.click_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.55);
}

.click_btn:active {
    transform: translateY(1px);
}

.play-btn {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.play-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.play-btn:active {
    transform: translateY(1px) scale(0.98);
}

.more_game {
    width: 370px;
}

.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: var(--ff-card-bg);
    padding: 16px;
    width: 370px;
    border-radius: var(--rounded);
    border: 1px solid var(--ff-card-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--div-boxShadow);
    transition: all 0.25s ease;
}

.choose_game:hover {
    border-color: rgba(255, 94, 0, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 94, 0, 0.05);
}

.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: var(--rounded);
    background-color: var(--ff-card-bg);
    border: 1px solid var(--ff-card-border);
    box-shadow: var(--div-boxShadow);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.game_section2:hover {
    border-color: rgba(255, 193, 7, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 193, 7, 0.05);
}

.game_section3 {
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.game_section3:hover {
    transform: translateY(-4px) scale(1.025);
    border-color: rgba(255, 94, 0, 0.25);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.2);
}

.game_section3:active {
    transform: translateY(1px) scale(0.98);
}

.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;
    -webkit-tap-highlight-color: transparent !important;
}

/* .title {
    font-size: 26px;
    margin-left: 15px;
    color: #f4a300;
} */

.title {
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 40%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(255, 193, 7, 0.2);
    margin-left: 15px !important;
}

.indextitle {
    font-size: 23px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    background: linear-gradient(135deg, #ffffff 40%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(255, 193, 7, 0.25);
    margin: 0 auto !important;
    text-align: center;
}

.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: #474747;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px 10px 5px 10px;
}

.countryP {
    font-size: 17px;
    color: #ffffff;
    text-wrap: wrap;
    margin: 10px 0 10px 0;
}

.dialog-button {
    /* width: 100%; */
    width: 65%;
}

/* 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;
}

.game_section_index {
    margin: 16px 16px 0 16px;
    /* border: 1px solid var(--border-color); */
    border-radius: var(--rounded);
    /* padding: 20px; */
}

.game_section_index1 {
    padding: 4px 0 4px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    justify-items: center;
}

.game_section_home {
    margin: 16px 16px 0 16px;
    /* border: 1px solid var(--border-color); */
    border-radius: var(--rounded);
    /* padding: 20px; */
}

.game_section_home1 {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    justify-items: center;
}

.game_section_home2 {
    border-radius: 25px;
    background-color: transparent;
    box-shadow: var(--div-boxShadow);
}

.game_section_emote1 {
    /* padding: 4px 4px 4px 4px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    justify-items: center;
}

.game_section_pets {
    margin: 4px 4px 0 4px;
    /* border: 1px solid var(--border-color); */
    border-radius: var(--rounded);
    /* padding: 20px; */
}

.input-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
    color: white;
    border: none;
    text-align: center;
    width: 100%;
}

.output-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
    color: white;
    width: 100%;
    margin: 20px auto;
}

.output-dollar {
    background-image: url(../assets/images/dollars_bg_1.webp);
    height: 80px;
    background-repeat: no-repeat;
    background-size: cover;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 60%;
    height: auto;
    margin-top: 10px;
}

.image-container .btn-Dollars {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    font-size: 20px;
    border: none;
    cursor: pointer;
    color: #ffff;
}

.game_section a {
    -webkit-tap-highlight-color: transparent !important;
}

.game_section_index a {
    -webkit-tap-highlight-color: transparent !important;
}

.game_section_home a {
    -webkit-tap-highlight-color: transparent !important;
}

.fff_game_section a {
    -webkit-tap-highlight-color: transparent !important;
}

.contentButton a {
    -webkit-tap-highlight-color: transparent !important;
}

.getstartbtn {
    -webkit-tap-highlight-color: transparent !important;
}

.resp_choose_game {
    margin-bottom: 4px;
}

.choose_game {
    margin: 12px 16px 0 16px;
    background-color: var(--box-color);
    padding: 16px;
    width: 370px;
    border-radius: var(--rounded);
    /* border: 1px solid var(--border-color); */
    border: 1px solid #e5e7eb9c;
    /* box-shadow: var(--div-boxShadow); */
}

.redeem-coin {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 12px; */
}

#coin {
    font-weight: 600;
    color: #ffffff;
}

.earn-coin-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.earn-coin-btn button {
    cursor: pointer;
    background: #ff765578;
    color: #fff;
    border: none;
    height: 42px;
    padding: 10px 0px;
    width: 100%;
    border-radius: var(--btn-rounded);
    border-color: var(--border-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.earn-coin-btn button img {
    width: 24px;
    height: 24px;
}

.earn-coin-btn button::before,
.earn-coin-btn button::after {
    content: '';
    position: absolute;
    cursor: pointer;
    top: 0;
    left: -150%;
    height: 100%;
    width: 10%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.ad-tag-earn {
    position: absolute;
    top: 0;
    right: -10px;
    color: #8a8e91;
    font-size: 10px;
    letter-spacing: 0px;
    text-transform: capitalize;
    color: #ffffff;
}

.resp_play_btn,
.resp_choose_game,
.resp_more_game,
.resp_about_section,
.resp_footer,
.resp_play_btn {
    display: flex;
    justify-content: center;
}

.toast-message {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #000;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px #0000001a;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    max-width: 90vw;
    width: max-content;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    text-align: center;
    text-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.toast-message.show {
    display: flex;
    animation: fadeOut 3s forwards;
}

.timer-toast-message {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #000;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px #0000001a;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    max-width: 90vw;
    width: max-content;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    text-align: center;
    text-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.timer-toast-message.show {
    display: flex;
    animation: fadeOut 8s forwards;
}

@keyframes fadeOut {

    0%,
    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-data {
    background: #262626;
    padding: 20px 20px 20px;
    border-radius: 15px;
    text-align: center;
    max-width: 370px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.popup-data .oops-img {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: auto;
}

.popup-data .main-text {
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    margin: 50px 0 10px;
}

.popup-data .sub-text {
    font-size: 14px;
    color: #ffffffab;
    margin-bottom: 20px;
}

.watch-btn-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.watch-btn {
    background: #ff7655;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: var(--btn-rounded);
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    height: 42px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    /*neededforshimmer*/
    z-index: 1;

}

.watch-btn::before,
.watch-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 10%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);

    animation: shimmer 2s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.ad-tag {
    position: absolute;
    top: 0;
    right: -15px;
    color: #e3e3e3;
    font-size: 10px;
    letter-spacing: 0px;
    text-transform: capitalize;
}

.popup-data .watch-btn .play-icon {
    font-size: 18px;
}

.popup-data .skip-btn {
    margin-top: 8px;
    background: none;
    border: none;
    color: #ffffffa3;
    width: fit-content;
    margin: 8px auto 0px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.popup-data .congrats-stars {
    width: 80px;
    margin-bottom: 10px;
}

/* @keyframes topToBottom {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.game_section_home2 {
    animation: topToBottom 0.8s ease-in-out forwards;
}

.animationtop {
    animation: topToBottom 0.8s ease-in-out forwards;
} */

@keyframes bounceBottomToTop {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }

    70% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

.anima {
    animation: bounceBottomToTop 1s ease-in-out forwards;
}

/* @keyframes bounceTopToBottom {
    0% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.anima {
    animation: bounceTopToBottom 1.5s ease-in-out infinite;
} */


/* -------------------------------------------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,
    .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);
    }
}

/* --- Global Subpage Interactive Styling & Card Utilities --- */

.animationtop {
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animationtop:hover {
    transform: translateY(-4px) scale(1.025);
    filter: drop-shadow(0 8px 15px rgba(255, 94, 0, 0.15));
}

.animationtop:active {
    transform: translateY(1px) scale(0.98);
}

.earnCoin_section2 {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 12px !important;
    padding: 14px 10px !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.earnCoin_section2:hover {
    background: rgba(255, 193, 7, 0.04) !important;
    border-color: rgba(255, 193, 7, 0.15) !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 193, 7, 0.08) !important;
}

.earnCoin_section2 a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.earnCoin_section2 img {
    margin-bottom: 8px;
    transition: transform 0.25s ease;
}

.earnCoin_section2:hover img {
    transform: scale(1.05);
}

/* Forms & Calculator inputs visual polish */
.input-box, .output-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    font-family: "Montserrat", sans-serif !important;
}

.input-box:focus {
    outline: none;
    border-color: var(--ff-orange) !important;
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.2);
}

/* Premium dynamic reward boxes */
.reward-box {
    background: rgba(11, 12, 16, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
    color: #e2e8f0 !important;
}

/* --- Premium Apply Now Page Styling --- */

.image-presentation-card {
    margin: 30px 15px;
    padding: 25px;
    background: linear-gradient(145deg, rgba(30, 32, 41, 0.6) 0%, rgba(15, 16, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.image-presentation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.15), transparent 60%);
    pointer-events: none;
}

.image-presentation-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 40px rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
}

.image-presentation-card img {
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    max-height: 200px;
    object-fit: contain;
}

.premium-apply-btn {
    position: relative;
    background: linear-gradient(135deg, #ffc107 0%, #ff5e00 100%);
    border: none;
    border-radius: 16px;
    padding: 18px 45px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255, 94, 0, 0.4), inset 0px 2px 0px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    width: 85%;
    max-width: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.premium-apply-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.6), inset 0px 2px 0px rgba(255, 255, 255, 0.5);
}

.premium-apply-btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(255, 94, 0, 0.4);
}

.premium-apply-btn .btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.premium-apply-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: shine-btn 3s infinite;
}

@keyframes shine-btn {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}