/* =============================================
   Enligne Custom CSS - Extracted from inline styles
   ============================================= */

/* --- Override Tabler variables --- */
:root, [data-bs-theme="dark"] {
    --tblr-bg-surface-secondary: #1c253100;
}
.page {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
}

/* --- AdSense overflow fix (mobile) --- */
ins.adsbygoogle, .adsbygoogle { max-width: 100%; overflow: hidden; }
iframe[src*="ad"], iframe[src*="pub"] { max-width: 100%; }

/* --- Horizontal slider --- */
.horizontal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-horizontal {
    width: 100%;
    height: fit-content;
    padding: 20px 0;
    overflow: auto;
}
.slider-horizontal::-webkit-scrollbar {
    width: 80px;
    height: 5px;
}
.slider-horizontal::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}
.slider-horizontal::-webkit-scrollbar-track {
    background: rgba(224, 224, 224, 0.2);
}

.hhcards-holder {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hcard {
    min-width: 280px;
    max-width: 100%;
    height: 300px;
    background: white;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    margin: 0 20px;
    border-radius: 20px;
}

.last_players {
    animation: scroll 5s linear infinite;
}
.title {
    font-size: 40px;
    font-weight: 600;
}
.subtitle {
    font-size: 14px;
}
.hcard span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 30px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

#countholder .link {
    margin-top: 40px;
}

input#select-countries-ts-control {
    color: wheat;
    font-weight: 600;
}

.bg-none {
    background: none;
}

.border-ronded {
    border-radius: 90px;
}

.img-badge-bottom {
    margin-top: -30px;
    text-align: center;
    position: relative;
}

.dot-black {
    border: 3px dotted #09121d;
}

#countholder a {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    padding: 20px;
    background: #265;
    border-radius: 10px;
    text-decoration: none;
}

#countholder a:hover {
    background: #487;
}

#countholder {
    font-family: sans-serif;
    color: #fff;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 48px;
    background-color: #333;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    line-height: 1.4;
}

#countholder > div {
    padding: 4px 10px;
    border-radius: 3px;
    background: #cc3300;
    display: inline-block;
}

#countholder div > span {
    border-radius: 3px;
    background: #cc3300;
    display: inline-block;
}

#countholder .smalltext {
    padding-top: 5px;
    font-size: 16px;
}

/* --- Fonts & Theme --- */
:root {
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}
body {
    font-feature-settings: "cv03", "cv04", "cv11";
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.6; }
}
@-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.4; }
}

/* --- Responsive breakpoints (standard 768px) --- */
@media only screen and (max-width: 768px) {
    .notmobile {
        display: none;
    }

    #chat_section {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) {
    #chat_section {
        width: 100%;
    }
}

.user_list {
    text-decoration: Capitalize;
}

/* --- Dark theme --- */
.theme-dark {
    --tblr-body-color: #f8fafc;
    --tblr-body-color-rgb: 248,250,252;
    --tblr-muted: rgba(153, 159, 164, 1);
    --tblr-body-bg: #1a2234;
    --tblr-body-bg-rgb: 26,34,52;
    --tblr-bg-forms: #1c2531;
    --tblr-bg-surface: #1c2531;
    --tblr-bg-surface-dark: #1c2531;
    --tblr-bg-surface-secondary: #1c2531;
    --tblr-bg-surface-tertiary: #0d131c;
    --tblr-link-color: #307fdd;
    --tblr-link-hover-color: #206bc4;
    --tblr-active-bg: #202c42;
    --tblr-disabled-color: var(--tblr-gray-700);
    --tblr-card-bg: #1a2234;
    --tblr-card-bg-hover: #1a2234;
    --tblr-card-bg-rgb: 26,34,52;
    --tblr-card-color: none;
    --tblr-border-color: none;
    --tblr-border-color-light: var(--tblr-dark-mode-border-color-light);
    --tblr-border-color-active: var(--tblr-dark-mode-border-color-active);
    --tblr-btn-color: #0d131c;
    --tblr-code-color: #0d131c;
    --tblr-code-bg: #0d131c;
    color: #f8fafc;
    background-color: #0d131c;
}

dark .card {
    background-color: #1c2531;
    color: inherit;
}

#card-body-placeholder {
    background: #0d131c;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: gainsboro;
    background: #0b0f14;
    border-color: none;
    border-radius: 10px;
    filter: drop-shadow(0 17px 13px #0d131cc7);
}

.nav-tabs {
    --tblr-nav-tabs-border-width: none;
    --tblr-nav-tabs-border-color: none;
    --tblr-nav-tabs-border-radius: none;
    --tblr-nav-tabs-link-hover-border-color: none;
    --tblr-nav-tabs-link-active-color: none;
    --tblr-nav-tabs-link-active-bg: none;
    --tblr-nav-tabs-link-active-border-color: none;
    border-bottom: var(--tblr-nav-tabs-border-width) solid var(--tblr-nav-tabs-border-color);
}

.navbar {
    --tblr-navbar-border-width: var(--tblr-border-width);
    --tblr-navbar-active-border-color: var(--tblr-primary);
    --tblr-navbar-active-bg: rgba(0, 0, 0, 0.06);
    --tblr-navbar-bg: transparent;
    align-items: stretch;
    min-height: 3.5rem;
    box-shadow: none;
    background: var(--tblr-navbar-bg);
    color: var(--tblr-body-color);
}

.avatar {
    --tblr-avatar-shadow: indianred;
}

.active_btn_switch {
    background: #0d131c;
    color: #e0e8ff;
}

.inative_btn_switch {
    background: #0d131c;
    color: #4c535d;
}

.tab-content {
    background: #0d131c;
}

#quick_view {
    background: #0d131c;
}

.sub_menu {
    background: #0d131c;
    height: auto;
    box-shadow: none;
    border: none;
    font-weight: 500;
    color: #c7c7c7;
    display: inline-flex;
}

.sub_menu_active {
    height: auto;
    color: #93a5e3;
}

.sub_menu:hover, .sub_menu:active {
    background: #3F51B5;
}

#chat_section {
    border: none;
    position: fixed;
    top: 70px;
    right: 15px;
    width: calc(25% - 30px);
    max-width: 300px;
    z-index: 100;
    background: none;
    height: fit-content;
}
@media (max-width: 767px) {
    #chat_section {
        position: static;
        width: 100%;
        max-width: 100%;
        right: auto;
    }
}

.chat_msg {
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    padding: 10px;
}

.in_chat_msg {
    width: 88%;
}

.msg_list {
    background: #242b35;
    padding: 5px;
    border-radius: 10px;
}

.chat_action_bg {
    background: #242b35;
    border-radius: 15px;
}

#mob_menu {
    background: #1c2531;
}

.bottom_menu {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    margin: 0px auto;
    background: #1c2531;
    bottom: 10px;
    height: 45px;
    max-width: 320px;
    width: 100%;
    border-radius: 20px;
    line-height: 20px;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.3);
}

.bottom_icon.active {
    background: #ffffff3d;
    padding: 2px;
    border-radius: 20px;
    box-shadow: 1px -5px 30px #ffe78c;
}

.mobile_m {
    text-align: center;
    margin-left: -5px;
    display: inline-flex;
}

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desc_features_offers {
    height: 50px;
    background: #1c2531;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 0px;
    border-radius: 0px 0px 10px 10px;
}

.desc_feature_coins {
    margin-right: 5px;
    background: #171e28;
    padding: 3px;
    font-weight: 700;
    border-radius: 5px;
}

.title_action {
    font-weight: 700;
    font-size: 27px;
    margin: 0;
    padding: 0;
}

.title_action_in {
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.title_action_ucontry {
    padding: 0px 10px;
    border-radius: 20px;
    font-size: 13px;
}

span.devices_select {
    --tblr-avatar-size: 2.25rem;
    --tblr-avatar-shadown: ouset rgba(var(--tblr-body-color-rgb), 0.0) 0 0 0 1px;
    font-weight: 900;
    color: white;
    --tblr-avatar-shadow: inset rgba(var(--tblr-bg-surface), 0.04) 0 0 0 1px;
    border-radius: 20px;
}

.offer_id:hover {
    background: #0d1623;
}

div.offer_id:hover .offers_img {
    filter: blur(0.7px);
}

.filter_hot {
    padding: 2px 5px;
    margin-left: 15px;
}

.bg-image {
    filter: blur(13px);
    -webkit-filter: blur(13px);
    height: 90%;
    background-position: left center;
    background-size: cover;
}

.bg-text {
    color: white;
    font-weight: bold;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 20px;
    text-align: center;
}

.offers_card {
    position: absolute;
    z-index: 100;
    height: 20px;
    left: 0;
    right: 0;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
    color: white;
    width: 100px;
    height: 20px;
}

.offer-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 2rem;
    max-width: 320px;
    text-align: left;
}
.offer-desc-short {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.offer_player {
    font-weight: bold;
    color: #1c2531;
    font-size: 11px;
    border-radius: 20px;
}

.offer_player.nb {
    color: #1c2531;
    background: #e5e5e5;
    font-weight: 700;
    font-size: 10px;
}

.nbr_player_txt {
    margin-left: 11px;
    font-size: 0.8em;
}

.address_txt {
    font-size: 12px;
    color: #6c7a91;
    font-weight: 400;
}

.copy_txt {
    background: #1c2531;
}

.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
    --tblr-offcanvas-height: 80vh;
}

.offcanvas-title {
    font-size: 1.1rem;
}

svg.icon.icon-tabler.icon-tabler-arrow-big-down-filled {
    height: 11px;
}

svg.icon.icon-tabler.icon-tabler-send {
    height: 11px;
}

#withdraw_btn, #send_btn {
    color: whitesmoke;
    font-size: 13px;
}

.withdraw_row {
    background: #171e28;
    border-radius: 5px;
}

.withdraw_step_0 {
    display: none;
}

.withdraw_step_2 {
    display: none;
}

.withdraw_step_3 {
    display: none;
}

.withdraw_next_step {
    display: none;
}

#unload_placeholder {
    display: none;
}
#load_placeholder {
    display: block;
}

.wallet_row_list {
    margin-left: -10px;
}

.wallet_row_coin {
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #171E29;
}

.add_coin {
    background: #2d343f;
    border-radius: 25px;
    width: 15px;
    height: 15px;
    text-align: center;
    color: #c6cbdc;
    margin-left: -50px;
    position: absolute;
    top: 5px;
    font-weight: 100;
    visibility: hidden;
}

.step-item:after, .step-item:before {
    background: #4a5ecb;
}

.steps-vertical .step-item:not(:last-child):after {
    position: absolute;
    content: "";
    transform: translateX(-50%);
    top: var(--tblr-steps-dot-offset);
    left: calc(var(--tblr-steps-dot-size) * .5);
    width: 4px;
    height: calc(100% + 1rem);
}

btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #0d131c;
    background-color: #0d131c;
    border-color: #0d131c;
}

.btn:hover {
    color: var(--tblr-btn-hover-color);
    text-decoration: none;
    background-color: #0d131c;
    border-color: #0d131c;
}

.games_dy_ms_card {
    background: #111427;
    border-radius: 25px;
}

.games_dy_ms_card_feature {
    background: #22fbad;
    border-radius: 25px;
    color: #09121d;
}
.games_dy_lnumber_card_feature {
    background: #f0f1db;
    border-radius: 25px;
    color: #09121d;
}

.counter-lucky-number {
    color: white;
    background: #09121d;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
}

.daily_game_row {
    background: #111427;
}

.lucky_prize_resume {
    background: #ffffff;
    border: 3px solid #2c3c61;
    color: black;
}

.game_start {
    background: #ffd800;
    color: maroon;
    border-radius: 15px;
    height: 30px;
}
.game_start.claim {
    background: #4a5ecb;
    color: #fff;
}

.reward_coin_jack {
    background: url(../../static/jackpot_yellow.png);
    background-size: cover;
    background-color: none;
    background-position: center;
    height: 20px;
    background-repeat: no-repeat;
    width: 20px;
    z-index: 20;
    margin-left: -5px;
    transform: scale(1.5);
}

.reward_event_box {
    background: url(../../static/ebox.png);
    background-size: cover;
    height: 30px;
    background-position: center;
    width: 26px;
    z-index: 20;
    margin-right: -1px;
}

.view_box_reward {
    line-height: 0px;
}

.refer_bg_link {
    background: #171e28;
    border-radius: 5px;
    color: blanchedalmond;
    text-align: right;
}

.invite_link {
    font-size: 12px;
}

.resume_prize_win {
    background: #ffffff;
    border-radius: 25px;
    color: #09121d;
    border: 2px solid #fad400;
}

.game_card {
    background: #f0f1db;
}

.live_button {
    background: red;
    border-radius: 5px;
    height: fit-content;
}

.prize_img {
    background: url(../../static/reward_jackpot.png);
    background-size: cover;
    background-position: center;
    height: 20px;
    background-repeat: no-repeat;
    width: 25px;
}

.btn-google {
    background: white;
    color: #3c4043;
    border: 1px solid #dadce0;
    font-weight: 500;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #d2e3fc;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
}

.btn-signup {
    background: #22c55e;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}
a.glink img {
    height: 13px;
}

.glink span {
    margin-right: 2px;
    font-size: 12px;
    vertical-align: middle;
    color: #ffffff;
}

.gt_container--oiz9qs a.glink span {
    margin-right: 7px;
    font-size: 11px;
    vertical-align: middle;
}

/* --- Offer cards --- */
.offer-card {
    border-radius: 12px;
    transition: transform 0.2s ease-in-out;
    border: 1px solid rgba(0,0,0,0.08);
    height: 100%;
}
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.device-icons-container {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(47, 46, 46, 0.6);
    border-radius: 5px;
    padding: 2px 5px;
    display: flex;
    gap: 4px;
    z-index: 10;
}
.device-icons-container svg {
    width: 14px;
    height: 14px;
    color: white;
}
.offer-image-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
}
.offer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.reward-text {
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.reward-icon {
    width: 18px;
    height: 18px;
}
.provider-tag {
    color: #eee;
    font-size: 10px;
    font-weight: 300;
}

.perso_elg {
    background: url(../../static/elg_royal.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    z-index: 20;
    transform: scale(1.05);
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 18%;
    right: 10px;
    max-width: 450px;
    width: 90vw;
    z-index: 2147483647;
    background: #141414;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.9);
    overflow: hidden;
    transition: transform 0.3s ease-out;
}

.sticky-cta:hover {
    transform: scale(1.01);
}

.sticky-cta a.cta-content {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    position: relative;
}

.cta-content .cta-image-section {
    flex-shrink: 0;
    width: 40%;
    overflow: hidden;
}

.cta-content .cta-image-section img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100px;
    object-fit: cover;
}

.cta-content .cta-text-section {
    flex-grow: 1;
    padding: 10px 15px;
    text-align: left;
}

.cta-text-section p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #ddd;
}

.cta-text-section strong {
    color: #ffcc00;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.cta-button {
    display: inline-block;
    padding: 8px 12px;
    background: #ff0077;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
}
.cta-button:hover {
    background: #cc005f;
}

.cta-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 1;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    opacity: 0.9;
    transition: opacity 0.3s;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta-close:hover { opacity: 1; }

@media (max-width: 480px) {
    .sticky-cta {
        max-width: 95vw;
        bottom: 18%;
        right: 5px;
    }
    .cta-content .cta-image-section {
        width: 35%;
    }
    .cta-text-section p, .cta-text-section strong {
        font-size: 12px;
    }
    .cta-button {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* --- Page-specific styles (surveys, index, invite) --- */
.cursor {
    font-weight: bold;
    color: var(--primary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

swiper-container {
    width: 90%;
    height: 220px;
}

swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

swiper-slide.swiper-slide-visible.swiper-slide-active {
    background-position: center;
}

:root {
    --bg-deep: #141517;
    --glass: rgba(255, 255, 255, 0.05);
    --neon-green: #52fb7d;
    --gold: #fcc419;
}

.border-secondary-subtle {
    border-color: #00000000 !important;
}

.mystery-container {
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.title_action {
    font-size: 25px;
}

span#typing-text {
    font-size: 18px;
    line-height: 10px;
    font-weight: 400;
}

.zone-typing {
    font-size: 30px;
    font-weight: 500;
    text-align: left;
    line-height: 30px;
}

.step-item:before {
    background: #070a0f;
}

.bg-dark-light {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 20px;
}

.bg-dark-light:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--primary-color) !important;
}

.text-yellow {
    color: var(--gold, #fcc419);
}

@media (max-width: 768px) {
    .bg-dark-light {
        margin-bottom: 15px;
    }
}

/* --- CASHOUT SCROLL --- */
.cashout-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 0;
    border-radius: 15px;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.cashout-scroll {
    display: flex;
    width: max-content;
    animation: scroll-slow 40s linear infinite;
}

.cashout-item {
    width: 150px;
    margin: 0 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cashout-item img {
    max-width: 100%;
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: 0.3s;
}

.cashout-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-slow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cashout-wrapper:hover .cashout-scroll {
    animation-play-state: paused;
}

.features-list h5 {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.promo-banner:hover .icon-tabler {
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;
}

/* --- Invite page --- */
.login-outer { border-radius: 25px; padding: 30px 10px; position: relative; margin: 20px 0; }
.wallet-tag {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--neon-green); color: #000; padding: 4px 20px;
    border-radius: 50px; font-weight: 800; font-size: 0.7rem;
    border: 3px solid #141517; white-space: nowrap;
}
.trust-box {
    background: rgba(255, 255, 255, 0.03); border-radius: 12px;
    padding: 12px; border: 1px solid rgba(255, 255, 255, 0.05);
}
.promo-banner { /* background: var(--glass); */ border-radius: 10px; }

.grid-background {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.overlay-light {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #495058 85%);
    pointer-events: none;
    border-radius: 30%;
    filter: blur(60px);
}

.back_content {
    z-index: 10;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

.btn-fixed-bottom {
    position: fixed;
    bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; z-index: 1000;
    font-weight: 800; text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

#fb-msg {
    display: none;
    background: var(--gold); color: #000; padding: 10px;
    text-align: center; position: fixed; top: 0; width: 100%;
    z-index: 10001; font-size: 0.8rem;
}

/* --- Withdraw page --- */
swiper-container.mySwiper {}
swiper-container {
    width: 100%;
    height: 160px;
}
swiper-slide {
    display: flex;
    align-items: left;
    justify-content: left;
    border-radius: 18px;
    color: #fff;
}
.desc_features_offers {
    height: auto;
    background: #1c2531;
    position: absolute;
    bottom: 0; left: 0; top: 0; right: 0;
    padding: 0px 0px;
    border-radius: 10px 10px;
}
.desc_features_offers.dark-card .avatar {
    background-color: transparent;
}

/* --- Games page --- */
.form-selectgroup-label {
    position: relative;
    display: block;
    min-width: calc(1.4285714286em + .875rem + calc(var(--tblr-border-width)* 2));
    margin: 0;
    padding: .4375rem .75rem;
    font-size: .875rem;
    line-height: 1.4285714286;
    color: rgb(0 0 0);
    background: inherit;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: var(--tblr-border-width) var(--tblr-border-style) var(--tblr-border-color);
    border-radius: 20px;
    transition: border-color .3s, background .3s, color .3s;
}

.form-selectgroup-input:checked+.form-selectgroup-label {
    z-index: 1;
    color: var(--tblr-primary);
    background: #ffd945;
    border-color: var(--tblr-primary);
}

.offcanvas-body {
    flex-grow: 1;
    padding: var(--tblr-offcanvas-padding-y) var(--tblr-offcanvas-padding-x);
    overflow-y: auto;
    background: #1c2531 !important;
}

.theme-dark .accordion-button:after, .theme-dark .btn-close {
    filter: invert(1) grayscale(100%) brightness(35%);
    color: red;
}
.btn-close {
    --tblr-btn-close-color: #000000;
}

.offer-title {
    font-weight: 700;
}

.tab-content {
    background: inherit;
}

ul.nav.nav-tabs.card-header-tabs {
    background: inherit;
}

/* =============================================
   Scratch Card Game Styles
   ============================================= */
.scratch-game-container {
    max-width: 400px;
    margin: 0 auto;
}

.scratch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
    perspective: 800px;
}

.scratch-cell {
    width: 80px;
    height: 80px;
    max-width: 100%;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a4e, #1a1a3e);
    border: 2px solid rgba(252, 196, 25, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    transform-style: preserve-3d;
}

.scratch-cell:hover:not(.revealed) {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(252, 196, 25, 0.4);
}

.scratch-cell.revealed {
    cursor: default;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Gold overlay with diagonal pattern */
.scratch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 5px,
            rgba(255, 255, 255, 0.08) 5px,
            rgba(255, 255, 255, 0.08) 10px
        ),
        linear-gradient(135deg, #fcc419 0%, #f59f00 40%, #fab005 60%, #ffd43b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    border-radius: 10px;
    z-index: 2;
    backface-visibility: hidden;
    transition: transform 0.4s ease;
}

.scratch-overlay-icon {
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    filter: drop-shadow(0 0 4px rgba(252,196,25,0.3));
}

/* Peel animation: rotateY flip */
.scratch-cell.scratch-peel .scratch-overlay {
    animation: scratchPeel 0.5s ease forwards;
}

@keyframes scratchPeel {
    0% { transform: rotateY(0deg); opacity: 1; }
    50% { transform: rotateY(90deg); opacity: 0.6; }
    100% { transform: rotateY(180deg); opacity: 0; }
}

.scratch-value {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 1;
    animation: scratchValuePop 0.3s ease 0.3s both;
}

@keyframes scratchValuePop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.scratch-value.win {
    color: #52fb7d;
    text-shadow: 0 0 10px rgba(82, 251, 125, 0.5);
}

.scratch-value.lose {
    color: #64748b;
}

/* Haptic shake on card */
@keyframes scratchShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px) rotate(-0.5deg); }
    40% { transform: translateX(3px) rotate(0.5deg); }
    60% { transform: translateX(-2px) rotate(-0.3deg); }
    80% { transform: translateX(2px) rotate(0.3deg); }
}

.scratch-shake {
    animation: scratchShake 0.3s ease;
}

/* Cooldown badge */
.scratch-cooldown-badge {
    display: inline-block;
    background: rgba(252, 196, 25, 0.1);
    border: 1px solid rgba(252, 196, 25, 0.25);
    border-radius: 20px;
    padding: 6px 16px;
    color: #fcc419;
    font-size: 0.85rem;
    animation: cooldownPulse 2s ease-in-out infinite;
}

@keyframes cooldownPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

/* Jackpot glow on result */
.scratch-jackpot-glow {
    animation: jackpotGlow 1s ease-in-out infinite alternate;
}

@keyframes jackpotGlow {
    0% { text-shadow: 0 0 10px rgba(252, 196, 25, 0.3); }
    100% { text-shadow: 0 0 30px rgba(252, 196, 25, 0.8), 0 0 60px rgba(252, 196, 25, 0.4); }
}

/* Small win highlight */
.scratch-small-win {
    animation: smallWinPop 0.5s ease;
}

@keyframes smallWinPop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* CSS Confetti */
.scratch-confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 100;
}

.scratch-confetti-piece {
    position: absolute;
    top: -10px;
    border-radius: 2px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { top: -10px; opacity: 1; transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(15px) rotate(90deg); }
    50% { transform: translateX(-10px) rotate(180deg); opacity: 1; }
    75% { transform: translateX(20px) rotate(270deg); }
    100% { top: 100%; transform: translateX(-5px) rotate(360deg); opacity: 0; }
}

/* Games carousel scrollbar hide */
.games-carousel::-webkit-scrollbar {
    display: none;
}

/* =============================================
   Quick Actions - Hover Glow Effects
   ============================================= */
.card-link-pop {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.card-link-pop:hover {
    transform: translateY(-6px) !important;
}

/* Lottery card: golden glow */
.qa-lottery:hover {
    box-shadow: 0 8px 32px rgba(252, 196, 25, 0.35), 0 0 0 1px rgba(252, 196, 25, 0.2) !important;
    border-color: rgba(252, 196, 25, 0.4) !important;
}

/* Tous les Jeux card: violet glow */
.qa-alljeux:hover {
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.35), 0 0 0 1px rgba(168, 85, 247, 0.2) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
}

/* LIVE badge animation */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    animation: livePulse 1.5s ease-in-out infinite;
}

.badge-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: liveDot 1s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes liveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Online players counter */
.qa-players-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

.qa-players-dot {
    width: 6px;
    height: 6px;
    background: #52fb7d;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(82, 251, 125, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(82, 251, 125, 0); }
}

/* =============================================
   Continuer l'aventure - Game Cards
   ============================================= */
.game-history-card {
    min-width: 160px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.25s ease;
}

.game-history-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.game-type-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-gain-positive {
    background: rgba(82, 251, 125, 0.15);
    color: #52fb7d;
    border: 1px solid rgba(82, 251, 125, 0.2);
}

.badge-gain-negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-gain-zero {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.btn-game-scratch { background: rgba(252,196,25,0.15); color: #fcc419; border: 1px solid rgba(252,196,25,0.25); }
.btn-game-scratch:hover { background: rgba(252,196,25,0.25); color: #fcc419; }

.btn-game-spin { background: rgba(168,85,247,0.15); color: #a855f7; border: 1px solid rgba(168,85,247,0.25); }
.btn-game-spin:hover { background: rgba(168,85,247,0.25); color: #a855f7; }

.btn-game-quiz { background: rgba(59,130,246,0.15); color: #3b82f6; border: 1px solid rgba(59,130,246,0.25); }
.btn-game-quiz:hover { background: rgba(59,130,246,0.25); color: #3b82f6; }

.btn-game-lottery { background: rgba(252,196,25,0.15); color: #fcc419; border: 1px solid rgba(252,196,25,0.25); }
.btn-game-lottery:hover { background: rgba(252,196,25,0.25); color: #fcc419; }

@media (max-width: 576px) {
    .scratch-grid {
        max-width: 240px;
    }
    .scratch-cell {
        width: 68px;
        height: 68px;
    }
    .scratch-overlay {
        font-size: 1.4rem;
    }
}

/* === GAME CHALLENGE PROGRESS === */

/* Steps counter custom pour les défis */
.challenge-progress .steps-green .step-item.active::before {
    background: #2fb344;
    border-color: #2fb344;
}

.challenge-progress .steps-green .step-item::before {
    background: #2a3042;
    border-color: #3a4052;
}

.challenge-progress .step-label {
    font-size: 10px;
    color: #8b95a5;
}

.challenge-progress .step-item.active .step-label {
    color: #fff;
    font-weight: 600;
}

/* Animation pulse sur le bouton Réclamer */
.btn-claim-challenge {
    animation: claimPulse 2s ease-in-out infinite;
}

@keyframes claimPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(252, 196, 25, 0.4); }
    50% { box-shadow: 0 0 15px 5px rgba(252, 196, 25, 0.2); }
}

/* Card défi avec bordure animée quand complété */
.challenge-completed {
    border: 1px solid #fcc419 !important;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(252, 196, 25, 0.3); }
    50% { border-color: rgba(252, 196, 25, 0.8); }
}

/* Badge cycle type */
.badge-session { background: rgba(45, 135, 255, 0.15); color: #4dabf7; }
.badge-weekly { background: rgba(252, 196, 25, 0.15); color: #fcc419; }

/* Timer countdown style */
.challenge-timer {
    font-family: monospace;
    font-size: 11px;
    color: #8b95a5;
}

.challenge-timer.urgent {
    color: #f03e3e;
    animation: timerBlink 1s ease-in-out infinite;
}

@keyframes timerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Pages jeux individuelles */
.game-page-hero {
    background: linear-gradient(135deg, rgba(15,20,30,0.95), rgba(25,30,45,0.95));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.game-adsense-slot {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px;
    margin: 16px 0;
    text-align: center;
    min-height: 90px;
}

/* === DASH CARD (Global) === */
.dash-card {
    background: #0d131c;
    border: none;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

/* =============================================
   Mobile Responsiveness Fixes - Game Pages
   ============================================= */

/* Bottom bar clearance: prevent content hidden behind fixed bottom_menu */
.page-body {
    padding-bottom: 80px;
}

/* Spin wheel canvas responsive */
.spin-game-container canvas {
    max-width: 100%;
    height: auto;
}

/* Dame board responsive on very small screens */
.dame-container {
    max-width: min(500px, 100%);
}

@media (max-width: 480px) {
    /* Scratch cells: shrink on very small screens */
    .scratch-cell {
        width: auto !important;
        height: auto !important;
        aspect-ratio: 1;
        font-size: 1.5em !important;
    }

    /* Dame board text/pieces smaller */
    .dame-board {
        font-size: 0.7em;
    }
    .dame-piece {
        font-size: 0.7em;
        border-width: 1px;
    }
    .dame-cell.capture::after {
        font-size: 1.2em;
    }

    /* Dame buttons full width */
    .dame-container .text-center .btn {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }

    /* Game stat cards tighter */
    .lottery-stat-value,
    .allgames-stat-value {
        font-size: 1rem;
    }
    .lottery-stat-label,
    .allgames-stat-label {
        font-size: 0.65rem;
    }
}

/* --- Dark Card (unified dark background for cards) --- */
.dark-card {
    background: linear-gradient(135deg, rgba(30, 32, 40, 0.9), rgba(22, 24, 30, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* =============================================
   Sidebar collapsible desktop
   ============================================= */
.sidebar-collapsed .navbar-vertical {
    width: 70px !important;
    min-width: 70px !important;
    overflow: hidden;
    transition: width 0.25s ease;
}
.navbar-vertical {
    transition: width 0.25s ease;
}
.sidebar-collapsed .navbar-vertical .nav-link-title,
.sidebar-collapsed .navbar-vertical .navbar-brand-image,
.sidebar-collapsed .navbar-vertical .level-widget,
.sidebar-collapsed .navbar-vertical .level-widget-link,
.sidebar-collapsed .navbar-vertical .vip-badge-link,
.sidebar-collapsed .navbar-vertical .card-sm,
.sidebar-collapsed .navbar-vertical .card.bg-dark-lt,
.sidebar-collapsed .navbar-vertical .navbar-brand,
.sidebar-collapsed .navbar-vertical #sidebar-menu .nav-link-title {
    display: none !important;
}
.sidebar-collapsed .navbar-vertical .nav-link-icon {
    margin: 0 auto;
}
.sidebar-collapsed .navbar-vertical .navbar-nav {
    align-items: center;
}
.sidebar-collapsed .navbar-vertical .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}
@media (min-width: 992px) {
    .sidebar-collapsed .navbar-expand-lg.navbar-vertical ~ .navbar,
    .sidebar-collapsed .navbar-expand-lg.navbar-vertical ~ .page-wrapper {
        margin-left: 70px !important;
    }
}

/* =============================================
   Mobile topbar balances alignment
   ============================================= */
#mob_menu .container-fluid > div:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#mob_menu .container-fluid > div:nth-child(2)::-webkit-scrollbar {
    display: none;
}
#mob_menu .justify-content-center.navbar-brand.p-1 {
    margin: 0 !important;
    padding: 1px 2px !important;
    flex-shrink: 0;
}
#mob_menu .justify-content-center.navbar-brand.p-1 h3 {
    font-size: 10px !important;
    white-space: nowrap;
    margin: 1px 2px !important;
    line-height: 16px !important;
}
#mob_menu .justify-content-center.navbar-brand.p-1 .avatar {
    width: 18px !important;
    height: 18px !important;
}
@media (max-width: 360px) {
    #mob_menu .justify-content-center.navbar-brand.p-1 h3 {
        font-size: 9px !important;
    }
    #mob_menu .justify-content-center.navbar-brand.p-1 .avatar {
        width: 16px !important;
        height: 16px !important;
    }
}

/* =============================================
   Desktop header balances alignment
   ============================================= */
.desktop-header-balances {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.desktop-header-balances .balance-pill {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 2px 8px;
    gap: 4px;
    white-space: nowrap;
    height: 26px;
}
.desktop-header-balances .balance-pill span {
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}
.desktop-header-balances .balance-pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
