/************************************************************
  VibeCash · Theme: DRAGON
  "Ember & Gold on Obsidian" — Premium fintech / rewards UI
************************************************************/

/* ==========================================================
   1. DESIGN TOKENS
========================================================== */
:root {
    /* Surfaces — neutral obsidian, not pure black, not blue */
    --bs-body-bg: #0a0d12;
    --bs-body-bg-rgb: 10, 13, 18;
    --bs-deep: #07090d;
    --bs-surface-1: #11151c;
    --bs-surface-2: #161b24;
    --bs-surface-3: #1b2230;
    --bs-surface-hover: #1d2430;

    /* Brand — Dragon ember */
    --bs-primary: #f97316;
    --bs-primary-rgb: 249, 115, 22;
    --bs-primary-light: #fb923c;
    --bs-primary-dark: #c2410c;
    --bs-primary-gradient: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);
    --bs-primary-gradient-soft: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(244, 63, 94, 0.12));

    /* Brand — Dragon gold (rewards / VIP) */
    --bs-secondary: #eab308;
    --bs-secondary-rgb: 234, 179, 8;
    --bs-secondary-light: #facc15;
    --bs-secondary-dark: #ca8a04;
    --bs-secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);

    /* Semantic */
    --bs-info: #38bdf8;
    --bs-info-rgb: 56, 189, 248;
    --bs-info-light: #7dd3fc;
    --bs-info-dark: #0284c7;
    --bs-success: #22c55e;
    --bs-success-rgb: 34, 197, 94;
    --bs-success-light: #4ade80;
    --bs-success-dark: #15803d;
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
    --bs-warning-light: #fbbf24;
    --bs-warning-dark: #b45309;
    --bs-danger: #ef4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-danger-light: #f87171;
    --bs-danger-dark: #b91c1c;

    /* Text */
    --bs-light: #f3f5f9;
    --bs-body-color: #c7ced9;
    --bs-text-muted: #8892a4;
    --bs-text-primary: var(--bs-primary-light);
    --bs-text-secondary: var(--bs-secondary-light);
    --bs-text-info: var(--bs-info-light);
    --bs-text-success: var(--bs-success-light);
    --bs-text-warning: var(--bs-warning-light);
    --bs-text-danger: var(--bs-danger-light);

    /* Legacy aliases (keep all old rule references working) */
    --bs-dark: linear-gradient(135deg, #14181f 0%, #0f1218 100%);
    --bs-dark-rgb: 20, 24, 31;
    --bs-brand-color: var(--bs-primary);
    --bs-brand-color-rgb: var(--bs-primary-rgb);
    --bs-card-bg: linear-gradient(180deg, #141922 0%, #10141b 100%);
    --bs-card-color: var(--bs-body-color);
    --bs-card-border-color: rgba(255, 255, 255, 0.08);
    --bs-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --bs-card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 20px 44px -14px rgba(0, 0, 0, 0.6);
    --bs-sidebar-bg: linear-gradient(180deg, #0d1016 0%, #0a0d12 100%);
    --bs-sidebar-color: var(--bs-light);
    --bs-sidebar-link-color: #97a1b2;
    --bs-sidebar-link-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-sidebar-link-hover-color: #ffb35c;
    --bs-sidebar-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --bs-navbar-bg: rgba(13, 16, 22, 0.92);
    --bs-navbar-color: var(--bs-light);
    --bs-navbar-brand-color: var(--bs-brand-color);
    --bs-navbar-link-color: #97a1b2;
    --bs-navbar-link-hover-color: #ffb35c;
    --bs-form-control-bg: #171c26;
    --bs-form-control-color: var(--bs-light);
    --bs-form-control-border-color: rgba(255, 255, 255, 0.1);
    --bs-form-control-focus-border-color: var(--bs-primary);
    --bs-form-control-placeholder-color: #64707f;
    --bs-table-bg: rgba(255, 255, 255, 0.02);
    --bs-table-color: var(--bs-body-color);
    --bs-table-border-color: rgba(255, 255, 255, 0.06);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);

    /* Spacing scale */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;

    /* Radius scale */
    --rounded-tiny: 6px;
    --rounded-xs: 8px;
    --rounded-sm: 10px;
    --rounded-md: 12px;
    --rounded-lg: 16px;
    --rounded-xl: 20px;
    --rounded-2xl: 28px;
    --rounded-3xl: 40px;

    /* Elevation */
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --hover-glow: 0 0 0 1px rgba(249, 115, 22, 0.4), 0 8px 28px -8px rgba(249, 115, 22, 0.45);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;

    --vh: 100%;
    --font-sans: "Outfit", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================
   2. RESET & BASE
========================================================== */
*,
::after,
::before {
    box-sizing: border-box;
    border: 0 solid rgba(255, 255, 255, 0.08);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient ember aura — restrained */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 12% -10%, rgba(249, 115, 22, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 35% at 95% 0%, rgba(234, 179, 8, 0.05), transparent 55%);
    z-index: 0;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bs-light);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}

p {
    color: var(--bs-body-color);
    font-weight: 400;
}

a {
    color: var(--bs-primary-light);
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
    transition: color 0.15s var(--ease);
}

a:hover {
    color: var(--bs-primary);
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul, ol {
    padding-left: 0;
}

:focus-visible {
    outline: 2px solid var(--bs-primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Scrollbars — thin, tonal */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.5);
}

::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar,
body::-webkit-scrollbar-track {
    width: 5px;
}

/* Selection */
::selection {
    background: rgba(249, 115, 22, 0.35);
    color: #fff;
}

/* ==========================================================
   3. TYPOGRAPHY & UTILITY HELPERS
========================================================== */
.text-primary { color: var(--bs-text-primary) !important; }
.text-secondary { color: var(--bs-text-secondary) !important; }
.text-info { color: var(--bs-text-info) !important; }
.text-success { color: var(--bs-text-success) !important; }
.text-warning { color: var(--bs-text-warning) !important; }
.text-danger { color: var(--bs-text-danger) !important; }
.text-muted { color: var(--bs-text-muted) !important; }
.text-light { color: var(--bs-light) !important; }
.text-dark { color: #cbd5e1 !important; }
.text_red { color: #f87171; }
.text_light_green { color: #b8c2d0; }
.text_gray { color: var(--bs-text-muted); }
.text_gradient {
    background: linear-gradient(120deg, #fbbf24 0%, #f97316 55%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text_gradient_1 {
    background: linear-gradient(120deg, #f97316 0%, #eab308 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary { background: var(--bs-primary-gradient) !important; }
.bg-secondary { background: var(--bs-secondary-gradient) !important; }
.bg-info { background: linear-gradient(135deg, #38bdf8, #0284c7) !important; }
.bg-success { background: linear-gradient(135deg, #22c55e, #15803d) !important; }
.bg-warning { background: linear-gradient(135deg, #f59e0b, #b45309) !important; }
.bg-danger { background: linear-gradient(135deg, #ef4444, #b91c1c) !important; }
.bg-dark {
    background-color: var(--bs-surface-2) !important;
    background-image: none !important;
    border: 1px solid var(--bs-card-border-color);
}
.bg-light { background-color: #e5e9f0 !important; color: #111 !important; }
.bg-body {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.fs_10px { font-size: 10px; }
.fs_12px { font-size: 12px; }

.rounded_10px { border-radius: var(--rounded-xs); }
.rounded_15px { border-radius: var(--rounded-md); }
.border_1px { border: 1px solid var(--bs-card-border-color); }

.blur_5px { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.blur_10px { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.blur_15px { -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); }

.color_svg { fill: var(--bs-brand-color); }
.color_svg.gray { fill: var(--bs-text-muted); }

/* ==========================================================
   4. LAYOUT SHELL
========================================================== */
.app_content {
    width: 100%;
    min-height: 100vh;
}

.main_content {
    margin-left: 0;
    padding-top: 0;
    transition: margin 0.35s var(--ease);
}

@media screen and (min-width: 1200px) {
    .main_content.is_open {
        margin-right: 18rem;
    }
}

.dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* margin-top: 1.5rem; */
    padding: 0 1.25rem 2rem;
}

@media (min-width: 1200px) {
    .dashboard {
        margin-left: 15.5rem;
        margin-right: 1.25rem;
    }
}

.dashboard .container-fluid {
    max-width: 1440px;
    width: 100%;
}

.w-100.marquee {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    overflow: hidden;
    height: 42px;
    margin: 1.25rem 0 0;
    border-radius: var(--rounded-md);
}

.w-100.marquee .animate-marquee {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.animate-marquee {
    display: inline-block;
    animation: marquee 18s linear infinite;
    white-space: nowrap;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

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

/* ==========================================================
   5. NAVBAR — DESKTOP
========================================================== */
#desktop-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bs-navbar-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    /* border-bottom: 1px solid var(--bs-card-border-color);
    height: 64px; */
}

#desktop-nav .container-fluid {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

a.navbar-brand {
    padding: 0;
    max-width: 150px;
    height: 40px;
    overflow: hidden;
    border-radius: var(--rounded-xs);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

a.navbar-brand img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.brand_content {
    display: flex;
    line-height: 0;
}

.nav-widget-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    flex: 1;
    min-width: 0;
}

ul.nav-widgets-list {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.widget-wrapper {
    margin-right: 10px;
    border-radius: var(--rounded-sm);
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid transparent;
    transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.widget-wrapper:hover {
    border-color: var(--bs-card-border-color);
    background: var(--bs-surface-1);
}

.widget-wrapper .icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    background: var(--bs-primary-gradient);
    font-weight: 600;
    color: #fff;
    border-radius: var(--rounded-xs);
    padding: 0 8px;
    height: 26px;
    font-style: normal;
    font-size: 11px;
}

.widget-content {
    height: 36px;
    background: var(--bs-surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    margin-left: -6px;
    border-radius: var(--rounded-xs);
    border: 1px solid var(--bs-card-border-color);
}

.widget-wrapper .head {
    font-size: 12px;
    font-weight: 600;
    color: var(--bs-navbar-color);
    margin-bottom: 0 !important;
}

.widget-wrapper .title {
    font-size: 10px;
    font-weight: 500;
    color: var(--bs-text-muted);
}

/* Guest register / login */
.reg_log_buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 0.5rem;
}

.reg_log_buttons button {
    border: 1px solid var(--bs-card-border-color);
    background: var(--bs-surface-1);
    color: var(--bs-light);
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    padding: 0 20px;
    border-radius: var(--rounded-sm);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.reg_log_buttons button:last-child {
    background: var(--bs-primary-gradient);
    border-color: transparent;
}

.reg_log_buttons button:hover {
    transform: translateY(-1px);
    box-shadow: var(--hover-glow);
}

/* Language / quick dropdown */
li.nav-item.dropdown.languageDropdown a {
    min-height: 40px;
    padding: 8px;
    width: fit-content;
    min-width: 50px;
    border-radius: var(--rounded-sm);
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    box-shadow: none;
}

li.nav-item.dropdown.languageDropdown img {
    height: 25px;
    width: 25px;
    border-radius: var(--rounded-xs);
}

.languageDropdown ul.dropdown-menu.show {
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    width: 175px;
    padding: 6px;
    list-style: none;
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow);
}

.languageDropdown .dropdown-item {
    color: var(--bs-body-color);
    border-radius: var(--rounded-xs);
}

.languageDropdown .dropdown-item:hover {
    background: var(--bs-surface-hover);
    color: var(--bs-light);
}

.navbar-nav {
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    margin: 0;
    flex-direction: row;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-item .balance {
    display: flex;
    align-items: center;
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    height: 44px;
    padding: 0 0 0 14px;
    border-radius: var(--rounded-sm);
    color: var(--bs-body-color);
    cursor: pointer;
    min-width: 0;
}

.nav-item .balance:hover {
    border-color: rgba(249, 115, 22, 0.45);
}

.balance .balanceValue {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-light);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.balance a.total-balance .icon i {
    font-size: 15px;
    color: var(--bs-primary-light);
    margin-left: 10px;
    margin-right: 12px;
    transition: transform 0.4s var(--ease);
}

.balance:hover a.total-balance .icon i {
    transform: rotate(360deg);
}

/* Profile */
#navbarNav .user_profile a::after {
    display: none !important;
}

#navbarNav .user_profile .user_data {
    height: 44px;
    padding: 0 6px;
    border: 1px solid var(--bs-card-border-color);
    background: var(--bs-surface-1);
    border-radius: 999px;
    transition: border-color 0.15s var(--ease);
}

#navbarNav .user_profile .user_data:hover {
    border-color: rgba(249, 115, 22, 0.45);
}

#navbarNav .user_data .info {
    padding: 0 10px;
}

#navbarNav .user_data .info .username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-light);
}

#navbarNav ul li a .user-image img,
#navbarNav .profile_avatar img {
    max-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

#navbarNav .user_profile .user_data img,
#navbarNav .profile_avatar img {
    width: 34px;
    height: 34px;
}

#navbarNav .profile_info {
    padding: 10px;
    right: auto;
    left: -140px;
    top: 3.2rem;
    min-width: 230px;
    z-index: 999;
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow);
}

#navbarNav .profile_info .profile_avatar {
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), transparent);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#navbarNav .profile_info li a {
    color: var(--bs-sidebar-link-color);
    padding: 8px 10px;
    border-radius: var(--rounded-xs);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#navbarNav .profile_info li a:hover {
    background: var(--bs-surface-hover);
    color: var(--bs-light);
}

#navbarNav .profile_info .username,
#navbarNav .profile_info .total-balance {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
}

.user_token {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    border-radius: var(--rounded-xs);
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    width: 91%;
    color: var(--bs-body-color);
    margin: 6px auto 0;
}

.user_token i {
    color: var(--bs-primary-light);
}

/* Icon buttons (bell / chat) */
.icon-wrapper {
    position: relative;
}

#navbarNav li.user_notifications a .icon,
#navbarNav li.support a .icon,
#navbarNav li.chat .icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--bs-card-border-color);
    background: var(--bs-surface-1);
    border-radius: var(--rounded-sm);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

#navbarNav li.user_notifications a:hover .icon,
#navbarNav li.support a:hover .icon,
#navbarNav li.chat a:hover .icon {
    border-color: rgba(249, 115, 22, 0.5);
    background: var(--bs-surface-hover);
}

#navbarNav li.user_notifications a i,
#navbarNav li.support a i,
#navbarNav li.chat a i {
    font-size: 18px;
    color: var(--bs-light);
}

.icon img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.icon {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 1;
}

/* Notifications dropdown */
.notifications_wrapper {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    transform: none;
    z-index: 1000;
    width: 360px;
    max-width: calc(100vw - 24px);
    padding: 18px;
    background: var(--bs-surface-2) !important;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow);
}

.notifications_wrapper .title {
    color: var(--bs-light);
    font-size: 1.05rem;
}

.notifications_data {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-sm);
    padding: 4px;
}

.notifications-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.notifications-list li:last-child {
    background: transparent;
}

.notifications-list li {
    margin-bottom: 2px;
}

.notifications-list li a.dropdown-item {
    background: transparent;
    color: var(--bs-body-color);
    border-radius: var(--rounded-xs);
    padding: 8px 10px;
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.45;
}

.notifications-list li a.dropdown-item:hover {
    background: var(--bs-surface-hover);
    color: var(--bs-light);
}

.notifications-list hr {
    border-color: var(--bs-card-border-color);
    margin: 8px 0;
}

#navbarNav .live_chat {
    height: 44px;
}

#navbarNav .live_chat.close_chat {
    display: none;
}

/* ==========================================================
   6. MOBILE NAV
========================================================== */
#mobile-nav {
    display: none;
}

@media (max-width: 1200px) {
    #mobile-nav {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(13, 16, 22, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        z-index: 1040;
        border-top: 1px solid var(--bs-card-border-color);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    }

    #mobile-nav ul {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #mobile-nav li.nav-item {
        padding: 0px 0 0px;
        width: 100%;
        text-align: center;
        border-radius: var(--rounded-sm);
        transition: background-color 0.15s var(--ease);
    }

    #mobile-nav li.nav-item.active-nav-link,
    #mobile-nav li.nav-item:hover {
        background: var(--bs-primary-gradient-soft);
    }

    #mobile-nav .nav-item .head-icon i {
        font-size: 18px;
        color: var(--bs-body-color);
    }

    #mobile-nav .nav-item .head-title {
        font-size: 11px;
        font-weight: 600;
        color: var(--bs-text-muted);
        display: block;
        margin-top: 2px;
    }

    #mobile-nav .nav-item.active-nav-link .head-icon i,
    #mobile-nav .nav-item:hover .head-icon i {
        color: var(--bs-primary-light);
    }

    #mobile-nav .nav-item.active-nav-link .head-title,
    #mobile-nav .nav-item:hover .head-title {
        color: var(--bs-light);
    }

    #mobile-nav li.nav-item.earn {
        position: relative;
        margin: 0 7px;
        background: transparent;
    }

    #mobile-nav li.nav-item.earn .nav-link {
        background: var(--bs-primary-gradient);
        width: 58px;
        height: 58px;
        position: absolute;
        right: 50%;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        border-radius: 50%;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 24px -6px rgba(249, 115, 22, 0.55);
        border: 4px solid var(--bs-body-bg);
    }

    #mobile-nav li.nav-item.earn .nav-link .head-icon i {
        color: #fff;
    }

    #mobile-nav li.nav-item.earn .nav-link .head-title {
        color: #fff;
    }

    a.nav-link.middle_navbar-link:hover:not([role="tab"]) {
        color: var(--bs-light) !important;
    }

    .sidebar_nav,
    #open_button,
    #close_button,
    #navbarNav .live_chat,
    #navbarNav .support {
        display: none !important;
        visibility: hidden !important;
    }

    .sidebar_nav.show {
        width: 100%;
        max-width: 240px;
        display: block !important;
        visibility: visible !important;
    }

    .upper-auth-links {
        flex-direction: row !important;
        justify-content: flex-end;
    }

    span#balanceValue {
        white-space: nowrap;
        overflow: auto;
        font-size: 12px;
    }

    #main_chat {
        margin-bottom: 10px !important;
        overflow-y: auto;
    }

    footer {
        padding-bottom: 84px;
    }

    .sidebar_footer {
        margin-bottom: 6rem !important;
    }
}

@media (max-width: 771px) {
    #desktop-nav li.nav-item {
        margin: 0;
    }
    .referral_message::before {
        display: none;
    }
}

@media (max-width: 575px) {
    .offer_popularity {
        display: none;
    }
    #desktop-nav {
        height: 58px;
    }
}

@media (max-width: 480px) {
    .reg_log_buttons button {
        padding: 0 14px;
        height: 36px;
        font-size: 13px;
    }
    #navbarNav .user_profile .user_data .info {
        display: none;
    }
    #navbarNav .profile_info {
        left: -150px;
    }
    .nav-item .balance {
        padding-left: 10px;
    }
    #navbarNav ul li a .user-image img,
    #navbarNav .profile_avatar img {
        width: 30px;
        height: 30px;
    }
}

/* ==========================================================
   7. SIDEBAR
========================================================== */
.sidebar_nav {
    width: 15.5rem;
    height: calc(100vh - 64px);
    position: fixed;
    top: 64px;
    left: 0;
    padding: 14px 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--bs-sidebar-color);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1020;
    background: var(--bs-sidebar-bg);
    border-right: 1px solid var(--bs-card-border-color);
}

.left_sidebar {
    width: 100%;
}

.left_sidebar .inner_sidebar {
    width: 100%;
    height: 100%;
    padding: 4px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.left_sidebar .inner_sidebar ul {
    padding: 0;
    margin: 0 0 6px;
    width: 100%;
    list-style: none;
}

.left_sidebar .inner_sidebar ul li {
    margin: 2px 0;
}

.left_sidebar .inner_sidebar ul li a {
    padding: 10px 12px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    border-radius: var(--rounded-sm);
    color: var(--bs-sidebar-link-color);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.18s var(--ease);
    gap: 12px;
}

.left_sidebar .inner_sidebar ul li a i {
    color: var(--bs-text-muted);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.left_sidebar .inner_sidebar ul li a span {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    margin-left: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.left_sidebar .inner_sidebar ul li a:hover {
    background: var(--bs-sidebar-link-hover-bg);
    color: var(--bs-sidebar-link-hover-color);
}

.left_sidebar .inner_sidebar ul li a:hover i {
    color: var(--bs-primary-light);
}

.left_sidebar .inner_sidebar ul li a.active {
    background: var(--bs-primary-gradient);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(249, 115, 22, 0.55);
}

.left_sidebar .inner_sidebar ul li a.active i {
    color: #fff;
}

.left_sidebar li.has_links {
    margin-left: 0;
}

.left_sidebar li.has_links > a {
    color: var(--bs-sidebar-link-color);
}

.left_sidebar li.has_links > a[aria-expanded="true"] {
    background: var(--bs-sidebar-link-hover-bg);
    color: var(--bs-light);
}

.left_sidebar li.has_links > a > i.fa-chevron-down {
    width: auto;
    font-size: 0.7rem;
    transition: transform 0.2s var(--ease);
}

.left_sidebar li.has_links > a[aria-expanded="true"] > i.fa-chevron-down {
    transform: rotate(180deg);
}

.left_sidebar li.has_links li.has_links-item a.has_links-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 40px;
    margin-left: 0;
}

.left_sidebar li.providers a {
    margin-left: 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.left_sidebar span.nav-count {
    background: var(--bs-surface-3);
    color: var(--bs-body-color);
    font-size: 0.7rem !important;
    padding: 4px 10px;
    border-radius: 999px;
    min-width: 28px;
    text-align: center;
    flex: none;
    width: auto !important;
    margin-left: 6px !important;
    max-width: min-content;
}

.left_sidebar li a.active span.nav-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Sidebar footer */
.sidebar_footer {
    margin-top: auto;
    padding: 12px 0;
}

.country-flag {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-sm);
    padding: 10px 14px;
    color: var(--bs-light);
}

.country-flag .flag img {
    border-radius: 4px;
}

.country-flag .country .fi {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================
   8. CONTENT HEADER — LIVE LAST OFFERS
========================================================== */
.content_header {
    position: sticky;
    top: 64px;
    z-index: 1010;
}

#last_offers {
    background: rgba(17, 21, 28, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bs-card-border-color);
    overflow: hidden;
    margin-left: 15.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

#last_offers::-webkit-scrollbar {
    display: none;
}

#last_offers > div > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    width: max-content;
}

.offer-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    min-width: 200px;
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    padding: 8px 12px;
    border-radius: var(--rounded-sm);
}

.offer_stat-header img {
    height: 34px;
    width: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.offer_stat-footer h6 {
    white-space: nowrap;
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    font-size: 0.8rem;
    color: var(--bs-light);
}

.offer_stat-footer p {
    margin: 0;
    font-size: 0.68rem;
    color: var(--bs-text-muted);
}

.offer_stat-footer {
    margin: 0 0 0 8px;
    font-size: 14px;
}

div#last_offers .offer-amount {
    background: var(--bs-primary-gradient-soft);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--bs-primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

div#last_offers .offer-amount p {
    color: var(--bs-primary-light) !important;
    margin: 0;
}

.top-offer-wrapper {
    position: relative;
}

/* ==========================================================
   9. GENERIC CARDS, BUTTONS, FORMS, BADGES, TABLES
========================================================== */
/* Cards */
.dropdown_bg,
.profile-card,
.statistics,
.single-box.footer_status,
.tier,
.dashboard-image,
.step-card,
.glass-card {
    background-color: var(--bs-surface-1);
    background-image: none;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--rounded-sm);
    padding: 0.55rem 1.15rem;
    transition: all 0.18s var(--ease);
}

.btn-primary {
    background: var(--bs-primary-gradient);
    border-color: transparent;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f97316 0%, #d92d5d 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--hover-glow);
}

.btn-secondary {
    background: var(--bs-secondary-gradient);
    border-color: transparent;
    color: #1a1206;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #eab308 0%, #ea580c 100%);
    color: #fff;
    transform: translateY(-1px);
}

.btn-info {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-color: transparent;
    color: #fff;
}

.btn-info:hover {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #15803d);
    border-color: transparent;
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #166534);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: transparent;
    color: #1a1206;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-color: transparent;
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--bs-light);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.55;
    pointer-events: none;
}

.btn.btn-primary,
.btn.btn-secondary {
    border-radius: var(--rounded-sm);
}

.btn-orange-dark {
    background-color: var(--bs-brand-color);
    border: 1px solid var(--bs-brand-color);
    color: #fff;
    transition: all 0.2s var(--ease);
}

.btn-orange-dark:hover {
    background-color: transparent;
    color: var(--bs-brand-color);
}

/* Forms */
.form-control,
input,
textarea,
select {
    background-color: var(--bs-form-control-bg) !important;
    color: var(--bs-form-control-color) !important;
    border: 1px solid var(--bs-form-control-border-color) !important;
    border-radius: var(--rounded-xs);
    box-shadow: none !important;
    font-family: var(--font-sans);
}

.form-control:not(textarea) {
    height: 44px;
    color: var(--bs-body-color);
    font-size: 0.9rem;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--bs-form-control-placeholder-color) !important;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--bs-form-control-focus-border-color) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.14) !important;
}

select option,
select option:hover {
    background-color: var(--bs-surface-2);
    color: var(--bs-light);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    color: var(--bs-light);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.form-check-input {
    background-color: var(--bs-surface-3);
    border-color: var(--bs-card-border-color);
}

.form-check-input:checked {
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success-dark) !important;
}

.form-check-input:focus {
    box-shadow: none;
}

.form-switch .form-check-input {
    width: 2.3em;
    height: 1.3rem;
}

/* Labels & badges */
.form-check-label {
    color: var(--bs-body-color);
    font-size: 0.85rem;
}

.form-check-label p {
    color: inherit;
}

select option {
    background-color: var(--bs-surface-2);
    color: var(--bs-light);
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

table th {
    color: var(--bs-text-secondary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.dropdown_bg {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.dropdown_bg th,
.dropdown_bg td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--bs-table-border-color);
}

.dropdown_bg thead th {
    background-color: var(--bs-surface-2);
    color: var(--bs-body-color);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.dropdown_bg thead th:first-child {
    border-radius: var(--rounded-sm) 0 0 0;
}

.dropdown_bg thead th:last-child {
    border-radius: 0 var(--rounded-sm) 0 0;
}

.dropdown_bg tbody tr {
    background: var(--bs-surface-1);
    transition: background-color 0.15s var(--ease);
}

.dropdown_bg tbody tr:hover {
    background: var(--bs-surface-hover);
}

.dropdown_bg tbody tr:last-child td {
    border-bottom: none;
}

.dropdown_bg td {
    color: var(--bs-body-color);
    font-size: 0.85rem;
}

.dropdown_bg .img-area {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.dropdown_bg .profile-image {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown_bg .grid-area {
    display: inline-block;
    vertical-align: middle;
}

/* Bootstrap badges reused as chips */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.35em 0.75em;
    position: absolute;
    top: -5px;
    right: -5px;
}

.badge:not(.position-absolute) {
    position: relative;
    top: auto;
    right: auto;
}

.badge.bg-dark {
    background: var(--bs-surface-2) !important;
    border: 1px solid var(--bs-card-border-color);
}

/* Nav tabs */
.nav-tabs {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bs-card-border-color);
    gap: 6px;
    flex-wrap: wrap;
}

.nav-tabs .nav-link {
    border: 1px solid var(--bs-card-border-color);
    margin: 0;
    padding: 6px 16px !important;
    color: var(--bs-body-color) !important;
    box-shadow: none !important;
    border-radius: var(--rounded-sm) !important;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bs-surface-1);
    transition: all 0.18s var(--ease);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: var(--bs-brand-color);
    background-image: var(--bs-primary-gradient);
    border-color: transparent;
    color: #fff !important;
}

.nav-tabs .nav-link:hover:not(.active) {
    border-color: rgba(249, 115, 22, 0.4);
    color: var(--bs-light) !important;
}

/* ==========================================================
   10. MODALS
========================================================== */
.modal-content {
    color: var(--bs-body-color);
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    font-size: 0.875rem;
    margin: 0 auto;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.modal-header.auth-header {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.14), transparent);
    border-bottom: 1px solid var(--bs-card-border-color);
    padding: 1.25rem 1.5rem;
}

.modal-header.auth-header .modal-title {
    color: var(--bs-light);
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-header .btn-close {
    background: transparent;
    opacity: 0.9;
    color: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-header {
    border-bottom: 1px solid var(--bs-card-border-color);
    color: var(--bs-light);
}

.modal-footer {
    border-top: 1px solid var(--bs-card-border-color);
}

#loginModal .modal-content,
#registerModal .modal-content {
    max-width: 430px;
    width: 100%;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.modal-dialog {
    position: relative;
    width: 100%;
}

.modal_header {
    min-height: 50px;
    border-radius: var(--rounded-sm);
    padding-left: 15px;
    background: linear-gradient(to bottom, var(--bs-primary), var(--bs-surface-2));
}

#offerCardModalModal .modal-header {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    z-index: 0;
}

#offerCardModalModal .modal-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 18, 0.78);
    z-index: -1;
}

#offerCardModalModal .modal-header img {
    width: 100px;
    border-radius: var(--rounded-xs);
}

#offerCardModalModal h6 {
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--bs-light);
}

.modal-category {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.modal-provider p {
    background: rgba(var(--bs-info-rgb), 0.12);
    border-radius: var(--rounded-xs);
    color: var(--bs-info-light);
    padding: 1px 15px !important;
}

.modal_body .info .list .item {
    padding: 7px 0;
    border-bottom: 1px solid var(--bs-card-border-color);
}

.modal_body .info .list .item span:first-child {
    color: var(--bs-light);
}

.modal_body .info .list .item span:last-child {
    color: var(--bs-body-color);
}

body.body.modal-open {
    overflow-y: auto !important;
}

/* Profile modal */
#profileModal .modal-title {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    color: var(--bs-light);
}

#profileModal .modal-title .avatar {
    position: relative;
    height: 85px;
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profileModal img {
    height: 85px;
    width: 85px;
    border-radius: 50%;
    border: 3px solid var(--bs-brand-color);
    object-fit: cover;
}

#profileModal .country img {
    height: 25px;
    width: 25px;
    border: 0;
    border-radius: 4px;
}

#profileModal span.user_level {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bs-primary-gradient);
    color: #fff;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 999px;
    line-height: 1;
    height: 1.6rem;
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
}

#profileModal .joined_from {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

#profileModal .joined_from .country {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 10px;
    height: 25px;
}

#profileModal .user-label {
    min-width: 120px;
    padding-left: 5px;
}

#profileModal .label_info h6 {
    margin-bottom: 30px;
    margin-top: 8px;
    font-size: 12px;
    color: #cfd6e0;
}

#profileModal button.btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--bs-light);
    opacity: 1;
}

#profileModal .box {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    text-align: center;
    padding: 8px;
    margin-bottom: 25px;
    margin-right: 8px !important;
    border-radius: var(--rounded-sm);
}

#profileModal .box p:first-child {
    font-size: 12px;
    color: var(--bs-body-color);
    font-weight: 600;
}

.progress-bar {
    background: var(--bs-primary-gradient);
}

/* ==========================================================
   11. PRELOADER & TOAST
========================================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bs-body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s var(--ease);
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader .spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader .bounce {
    display: flex;
    gap: 8px;
}

.loader .bounce > div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bs-primary);
    animation: bounce 1.2s ease-in-out infinite;
}

.loader .bounce .bounce2 {
    animation-delay: -0.3s;
    background: var(--bs-secondary);
}

.loader .bounce .bounce3 {
    animation-delay: -0.15s;
    background: var(--bs-danger);
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

#toast-container {
    z-index: 99999;
}

#toast-container .toast {
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow);
    color: var(--bs-light);
}

#toast-container .toast-message {
    font-size: 0.875rem;
    color: var(--bs-body-color);
}

/* ==========================================================
   12. LIVE CHAT
========================================================== */
.chat_content {
    width: 0;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0;
    transition: all 0.4s var(--ease);
    z-index: 1099;
    overflow: hidden;
}

.chat_content.is_open {
    width: 20rem;
}

.desktop_chat {
    height: calc(100vh - 64px);
    top: 64px;
}

.desktop_chat .chat {
    overflow-y: auto;
    scrollbar-width: none;
    padding-bottom: 8.5rem;
    background: var(--bs-surface-2);
    border-left: 1px solid var(--bs-card-border-color);
}

.chat::-webkit-scrollbar {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    background: var(--bs-surface-3);
    border-bottom: 1px solid var(--bs-card-border-color);
    color: var(--bs-light);
}

.message {
    border-radius: 10px 10px 10px 0;
}

.user .username {
    color: var(--bs-light) !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.message .time {
    font-size: 8px;
    color: rgba(238, 238, 238, 0.5);
}

.main_message.mt-2 {
    background: var(--bs-surface-1);
    padding: 12px;
    border-radius: 0 25px 25px 25px;
    margin-left: 34px;
    width: auto;
}

/* ==========================================================
   13. FOOTER
========================================================== */
footer {
    background: var(--bs-deep);
    border-top: 1px solid var(--bs-card-border-color);
    padding-top: 3rem;
    margin-top: 3rem;
}

footer h4,
footer h5,
footer h6 {
    color: var(--bs-light);
    font-weight: 600;
}

footer p,
footer a {
    color: var(--bs-text-muted);
    font-size: 0.85rem;
}

footer a:hover {
    color: var(--bs-primary-light);
}

.socials {
    align-items: center;
}

.socials .links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bs-card-border-color);
    margin-right: 12px;
    padding: 10px;
    border-radius: var(--rounded-sm);
    transition: all 0.18s var(--ease);
}

.socials .links:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.5);
}

.socials .links i {
    color: var(--bs-light);
    font-size: 1.35rem;
}

.footer .partners {
    margin: 16px 0;
    background: var(--bs-body-bg);
    padding: 20px 0;
    border-top: 1px solid var(--bs-card-border-color);
}

.footer .partners img {
    height: 35px;
    cursor: pointer;
    filter: grayscale(0.4);
    opacity: 0.8;
    transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}

.footer .partners img:hover {
    filter: none;
    opacity: 1;
}

.footer .offer-card {
    height: 100px;
    min-width: 73px;
    max-width: 125px;
    padding: 0;
    margin: 5px;
    border-radius: 0;
    background: transparent;
}

img.partner-img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

/* ==========================================================
   14. SPLIDE / SLIDERS
========================================================== */
.slider-header {
    margin-bottom: 0.5rem;
}

.slider-header .title {
    color: var(--bs-light);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.slider-header a.badge {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 12px;
    color: var(--bs-text-muted) !important;
}

.splide__arrow {
    background: var(--bs-primary) !important;
    border-color: transparent !important;
    border-radius: var(--rounded-sm) !important;
}

.splide__arrow:hover {
    background: var(--bs-primary-dark) !important;
}

.splide__arrow svg {
    fill: #fff !important;
}

.splide__pagination {
    display: none;
}

.splide__list {
    margin: 8px 0 !important;
}

/* ==========================================================
   15. EARN WAYS (HOME)
========================================================== */
.earn-ways {
    min-height: 220px;
    background-color: var(--bs-surface-1);
    background-image: none;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    padding: 20px 14px;
    font-size: 0.8rem;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.earn-ways::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 50% -20%, rgba(249, 115, 22, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    pointer-events: none;
}

.earn-ways:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: var(--bs-card-shadow-hover);
}

.earn-ways:hover::before {
    opacity: 1;
}

.earn-ways a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: inherit;
}

.earn-ways img {
    height: 72px;
    width: 72px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform 0.25s var(--ease);
}

.earn-ways:hover img {
    transform: scale(1.08);
}

.earn-ways h6 {
    color: var(--bs-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.earn-ways p {
    color: var(--bs-text-muted);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.45;
    max-width: 180px;
}

.section-title h5.title {
    text-transform: capitalize !important;
}

/* ==========================================================
   16. USER DASHBOARD
========================================================== */
.section_header {
    border-radius: var(--rounded-lg);
}

.my_profile .profile-card,
.my_profile .statistics {
    border: 1px solid var(--bs-card-border-color);
    background-color: var(--bs-surface-1);
    background-image: none;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.my_profile .profile-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 70%);
    pointer-events: none;
}

.profile_image img {
    max-width: 96px;
    width: 96px;
    max-height: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bs-surface-3);
    box-shadow: 0 0 0 1px var(--bs-card-border-color);
}

.profile_image {
    position: relative;
    flex-shrink: 0;
}

.profile_image .upload {
    position: absolute;
    bottom: 4px;
    right: -4px;
}

.profile_image .file-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bs-primary-gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.profile-details .name {
    color: var(--bs-light);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

.profile-details .email {
    color: var(--bs-text-muted);
    font-size: 0.85rem;
}

.profile-details .country h6 {
    color: var(--bs-body-color);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.profile-status p {
    color: var(--bs-body-color);
    font-size: 0.85rem;
}

.my_profile .statistics .title i {
    font-size: 1rem;
    color: var(--bs-primary-light);
}

.my_profile .statistics-data .col-12 {
    padding: 14px;
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    height: 100%;
}

.my_profile .statistics-data .icon {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-sm);
    background: var(--bs-primary-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.my_profile .statistics-data .icon i {
    color: var(--bs-primary-light);
    font-size: 0.95rem;
}

.my_profile .statistics-data .info h3 {
    color: var(--bs-light);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.my_profile .statistics-data .info span {
    font-size: 0.8rem;
    color: var(--bs-text-muted);
}

.user-label .progress {
    height: 6px !important;
    background: var(--bs-surface-3);
    border-radius: 999px;
    overflow: hidden;
}

.user-label .progress .progress-bar {
    background: var(--bs-primary-gradient);
    border-radius: 999px;
}

/* ==========================================================
   17. OFFER / OFFERWALL CARDS (FEATURED)
========================================================== */
.offer-card {
    height: 210px;
    margin-right: 10px;
    border-radius: var(--rounded-md);
    position: relative;
}

.offer {
    width: 100%;
    height: 100%;
    background-color: var(--bs-surface-1);
    background-image: none;
    padding: 6px !important;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    margin-right: 5px;
    font-size: 0.8rem;
    color: var(--bs-brand-color);
    transition: all 0.22s var(--ease);
    position: relative;
    display: block;
    overflow: hidden;
}

a.offer.no-iframe {
    background-color: var(--bs-surface-1);
    background-image: none;
}

.offer:hover {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: var(--bs-card-shadow-hover);
    transform: translateY(-3px);
}

.offer .offer_header {
    position: relative;
}

.offer_image img {
    height: 112px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--rounded-xs);
    margin-bottom: 8px;
}

.offer .offer_footer {
    padding: 0 4px 4px;
}

.offer .name,
.offer .details {
    white-space: nowrap;
    text-align: left;
    padding: 0 2px;
    display: block;
    font-size: 0.78rem;
    color: var(--bs-light);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer .name p,
.offer .category p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.offer .category p {
    color: var(--bs-text-muted);
    font-weight: 400;
    font-size: 0.7rem;
}

.offer .rewards {
    color: var(--bs-secondary-light);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer .rewards i {
    font-size: 0.7rem;
}

.currency {
    font-size: 15px;
    color: var(--bs-brand-color);
}

.currency span {
    font-size: 10px;
}

.offer_badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

.badge.new {
    background: var(--bs-primary-gradient);
    color: #fff;
}

.badge.hot {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
}

.badge.offer_bonus {
    background: rgba(var(--bs-primary-rgb), 0.18);
    color: var(--bs-primary-light);
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.offer_footer .ratings i {
    color: var(--bs-warning);
    margin: 2px;
    font-size: 12px;
}

.offer .overlay {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 999;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.2s var(--ease);
    background: rgba(10, 13, 18, 0.55);
    border-radius: var(--rounded-md);
}

.offer .overlay:has(.fas.fa-lock.user-lock) {
    opacity: 1;
    background: transparent;
}

.offer .overlay i {
    background-color: var(--bs-brand-color);
    background-image: var(--bs-primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    font-size: 13px;
    border-radius: 50%;
    box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.6);
}

.offer.lock .overlay i {
    background-color: transparent;
    background-image: none;
    font-size: 30px;
    color: var(--bs-warning);
}

.offer .overlay i.fas.fa-lock.user-lock {
    background: transparent;
    font-size: 2rem;
}

.offer .overlay p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--bs-light);
    font-weight: 700;
    font-size: 12px;
}

.offer.lock .overlay,
.offer:hover .overlay {
    opacity: 1 !important;
}

.offer.lock {
    cursor: pointer;
}

.offer .offer_device {
    text-align: center;
    width: 43px;
    height: 27px;
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(10, 13, 18, 0.7);
    border-radius: var(--rounded-tiny);
}

.offer .offer_device img {
    height: 18px;
}

.splide__slide:has(.offer) {
    width: 145px !important;
}

#featured_offers .splide__slide {
    width: 8rem;
}

#featured_offers .offer_header {
    min-height: 93px;
}

div#offers-container [class*="col"] {
    width: unset;
    padding: 0;
}

/* Skeleton loader */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: var(--bs-surface-2);
    border-radius: var(--rounded-md);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    width: 100%;
    height: 20px;
    background: var(--bs-surface-3);
    border-radius: 6px;
    margin: 20px auto;
    bottom: 0;
    position: absolute;
}

.skeleton-animation::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

.skeleton-animation-pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes shimmer {
    100% { transform: translateX(200%); }
}

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

/* ==========================================================
   18. HOMEPAGE — GUEST (LANDING)
========================================================== */
.home-guest-wrapper {
    position: relative;
}

.hero-section {
    padding-top: 64px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--bs-light);
}

.text-gradient-primary {
    background: linear-gradient(120deg, #fbbf24 0%, #f97316 55%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--bs-light);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.glass-card {
    background-color: var(--bs-surface-1);
    background-image: none;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bs-card-shadow-hover);
    border-color: rgba(249, 115, 22, 0.4);
}

.step-card {
    background-color: var(--bs-surface-1);
    background-image: none;
    padding: 28px 20px;
    border-radius: var(--rounded-lg);
    height: 100%;
    border: 1px solid var(--bs-card-border-color);
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: var(--bs-card-shadow-hover);
}

.feature-icon-box {
    width: 72px;
    height: 72px;
    border-radius: var(--rounded-lg);
    background: var(--bs-primary-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    color: var(--bs-primary-light);
}

.faq-item {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.2s var(--ease);
}

.faq-item:hover {
    border-color: rgba(249, 115, 22, 0.4);
}

.faq-button {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--bs-light);
    font-weight: 600;
    font-size: 1.02rem;
    font-family: var(--font-sans);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-button i {
    color: var(--bs-primary-light);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--bs-text-muted);
    line-height: 1.6;
}

.community-section {
    background: linear-gradient(180deg, rgba(17, 21, 28, 0.95) 0%, rgba(249, 115, 22, 0.08) 100%);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-2xl);
    padding: 48px 32px;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.divide-x > div + div {
    border-left: 1px solid var(--bs-card-border-color);
}

@media (max-width: 767px) {
    .divide-x > div + div {
        border-left: none;
    }
    .community-section {
        padding: 32px 20px;
    }
}

/* ==========================================================
   19. OFFERWALLS / PROVIDERS / NETWORK OFFERS PAGES
========================================================== */
.survey_partners {
    margin-top: 2rem;
}

.section-header {
    margin-bottom: 1rem;
}

/* Offerwall provider gradient cards keep their bgcolor from data */
.splide__slide:has(.offer) .offer {
    background: var(--bs-surface-1);
}

/* ==========================================================
   20. REWARDS / DAILY STREAK / SPIN WHEEL
========================================================== */
.rewards-day-card,
.daily-streak .day {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    transition: all 0.2s var(--ease);
}

.rewards-day-card:hover,
.daily-streak .day:hover {
    border-color: rgba(249, 115, 22, 0.45);
    transform: translateY(-2px);
}

.daily-streak .day.active,
.daily-streak .day.claimed {
    border-color: var(--bs-primary);
    background: var(--bs-primary-gradient-soft);
}

.daily-streak .day .reward-value {
    color: var(--bs-secondary-light);
    font-weight: 700;
}

.daily-streak .day.epic {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(249, 115, 22, 0.12));
    border-color: rgba(244, 63, 94, 0.45);
    animation: pulse-border 2s infinite;
}

.daily-streak .day.epic.active {
    color: #f472b6;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(244, 63, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    }
}

.streak-badge {
    background: rgba(var(--bs-secondary-rgb), 0.14);
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.35);
    color: var(--bs-secondary-light);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.spin-wheel-card {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    box-shadow: var(--bs-card-shadow);
    transition: all 0.3s var(--ease);
}

.spin-wheel-card:hover {
    box-shadow: var(--bs-card-shadow-hover);
}

.wheel-container {
    position: relative;
    width: 340px;
    height: 340px;
    max-width: 100%;
    margin: 0 auto;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 42px;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    cursor: pointer;
}

.wheel-pointer svg {
    fill: var(--bs-danger);
    stroke: var(--bs-light);
    stroke-width: 2px;
}

.spin-canvas {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(var(--bs-primary-rgb), 0.3), inset 0 0 15px rgba(0, 0, 0, 0.6);
    border: 8px solid var(--bs-surface-3);
    background: var(--bs-deep);
    transition: transform 0.1s ease-out;
}

.spin-btn {
    background: var(--bs-primary-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 180px;
}

.spin-btn:hover:not(:disabled) {
    transform: scale(1.05);
    background: var(--bs-primary-gradient);
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.6);
    color: #fff;
}

.spin-btn:disabled {
    background: var(--bs-surface-3);
    box-shadow: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.countdown-container {
    font-family: var(--bs-font-monospace);
    background: var(--bs-surface-2);
    border-radius: var(--rounded-md);
    padding: 10px 15px;
    border: 1px dashed var(--bs-card-border-color);
}

.tasks_title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--bs-light);
    margin-bottom: 0.35rem;
}

.days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}

.day_1 {
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md, 0.75rem);
    text-align: center;
}

.hours,
.minutes,
.seconds {
    display: inline-block;
    min-width: 1.6em;
    text-align: center;
}

.ref {
    color: var(--bs-text-muted);
    margin: 0 0.15rem;
}

.requirement {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    padding: 1rem 1.25rem;
}

.text-shadow-pink {
    text-shadow: 0 0 8px rgba(244, 63, 94, 0.5);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    color: var(--bs-secondary-light);
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--hover-glow);
}

.redeem-input {
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    color: var(--bs-light) !important;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.redeem-input:focus {
    background: var(--bs-surface-2);
    border-color: var(--bs-primary);
    box-shadow: 0 0 10px rgba(var(--bs-primary-rgb), 0.2);
}

/* ==========================================================
   21. WITHDRAW / CASHOUT
========================================================== */
.withdraw_method {
    width: 100%;
}

.withdraw_method .section_header {
    padding: 24px 20px;
    border-radius: var(--rounded-lg);
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
}

.section-title i.fa-money-check-dollar {
    color: var(--bs-primary-light);
    transform: rotate(-45deg);
}

.cashout_details span {
    font-weight: 500;
    color: var(--bs-body-color);
}

.withdraw_method .cashout_item {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, 94px);
    justify-content: start;
}

@media screen and (min-width: 350px) {
    .withdraw_method .cashout_item {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 600px) {
    .withdraw_method .cashout_item {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .withdraw_method .cashout_item {
        grid-template-columns: repeat(auto-fit, 130px);
    }
}

.withdrawal_methods [class*="col-3"] {
    width: auto;
    padding: 5px;
}

.withdraw_method .item {
    border: 1px solid var(--bs-card-border-color);
    background-clip: padding-box;
    display: block;
    position: relative;
    padding: 6px 8px;
    width: 120px;
    border-radius: var(--rounded-md);
    background: var(--bs-surface-1);
    transition: all 0.2s var(--ease);
}

a.withdraw.item.rounded_10px.wow.fadeInUp.deposit {
    width: 100%;
    height: 213px;
    background: var(--bs-surface-1);
    max-width: 145px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.withdraw_method .item:hover {
    border-color: var(--bs-primary);
    box-shadow: var(--hover-glow);
    transform: translateY(-2px);
}

.withdraw_method .item .item_inner {
    position: relative;
}

.withdraw_method .item .item_inner::before {
    height: 0;
    content: "";
    display: block;
    padding-bottom: 165.766%;
}

.withdraw_method .item_inner .item_info {
    overflow: hidden;
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.withdraw_method .item img {
    height: 110px;
    max-width: 100%;
    border-radius: var(--rounded-sm);
}

.withdraw_method .item .item_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.item_footer .method_name {
    font-size: 0.95rem;
    color: var(--bs-light);
    text-align: center;
    font-weight: 600;
    text-transform: capitalize;
}

.withdraw_modal .image {
    background-color: var(--bs-light);
    width: 25px;
    position: absolute;
    top: -17px;
    left: 4px;
    border-radius: var(--rounded-tiny);
}

/* ==========================================================
   22. REFERRAL
========================================================== */
.referral_link h5 {
    display: flex;
    align-items: flex-start;
    justify-content: start;
}

.referral_link span.copyData {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: var(--rounded-sm);
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    color: var(--bs-body-color);
    word-break: break-all;
    font-family: ui-monospace, monospace;
}

.referral_link .copyButton i {
    color: var(--bs-primary-light);
}

.referral_message::before {
    content: "";
    width: 200px;
    height: 200px;
    position: absolute;
    left: 0;
    top: 0;
    background: url("../../asset/images/referrals/dollar-coin.png") no-repeat top center/100% 100%;
    opacity: 0.08;
    pointer-events: none;
}

.top_referral {
    font-size: 20px;
    color: var(--bs-light);
}

.top_referral .list {
    margin-bottom: 10px;
}

.top_referral .count {
    font-weight: 600;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    background: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    color: var(--bs-body-color);
    border-radius: var(--rounded-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_referral .count.count-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1206;
}

.top_referral .count.count-2 {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #1a1206;
}

.top_referral .count.count-3 {
    background: linear-gradient(135deg, #fb923c, #c2410c);
    color: #fff;
}

.tier {
    background-color: var(--bs-surface-1);
    background-image: none;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    padding: 24px;
    transition: all 0.2s var(--ease);
}

.tier:hover {
    transform: translateY(-3px);
    box-shadow: var(--bs-card-shadow-hover);
}

.tiers .active {
    border: 1px solid var(--bs-primary);
    box-shadow: var(--hover-glow);
}

.tiers .tier .badge {
    background: var(--bs-primary-gradient);
    display: none;
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
}

.tiers .active .badge {
    display: block;
}

.tiers .not_active {
    border: 1px solid var(--bs-card-border-color) !important;
}

.tiers .not_active .badge {
    display: none !important;
}

/* ==========================================================
   23. LEADERBOARD
========================================================== */
.leaderboard-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
}

.leaderboard-podium .single-box {
    flex: 1;
    max-width: 200px;
    margin: 15px 0 0;
}

.leaderboard-podium .single-box.first-place {
    min-height: 330px;
}

.leaderboard-podium .single-box.second-place,
.leaderboard-podium .single-box.third-place {
    min-height: 270px;
}

.tab-content .single-box {
    width: 100%;
    background-color: var(--bs-surface-1);
    background-image: none;
    box-shadow: var(--shadow);
    padding: 56px 0 0;
    position: relative;
    margin: 15px auto;
    min-height: 310px;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    overflow: hidden;
}

.single-box.first-place {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: var(--hover-glow);
}

.single-box.third-place {
    float: inline-end;
}

.single-box.second-place {
    float: inline-start;
}

.first-place {
    margin: 0 auto;
    z-index: 1;
    bottom: 7%;
}

.crown-top {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.leaderboard-podium .profile {
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaderboard-podium .profile img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    box-shadow: var(--hover-glow);
}

.profile img {
    border-radius: 50%;
}

.info-area {
    overflow: hidden;
}

.info-area.text-center h5 {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
    font-size: 1rem;
}

.coin-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coin-bonus p {
    margin: 5px 0;
    color: var(--bs-secondary-light);
    font-weight: 700;
}

/* ==========================================================
   24. SUPPORT / TICKETS
========================================================== */
.support-box,
.ticket-card {
    background: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg);
    transition: all 0.2s var(--ease);
}

.support-box:hover,
.ticket-card:hover {
    border-color: rgba(249, 115, 22, 0.45);
    transform: translateY(-2px);
}

/* ==========================================================
   25. COOKIE BANNER
========================================================== */
.cookie {
    background: rgba(13, 16, 22, 0.95);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.cookie-body p {
    color: var(--bs-body-color);
}

h3.cookie-title {
    color: var(--bs-light);
}

.banner__cta {
    background-color: var(--bs-brand-color);
    background-image: var(--bs-primary-gradient);
    color: #fff;
    border-radius: var(--rounded-sm);
}

.banner__cta:hover {
    filter: brightness(1.1);
}

.banner__cta.reject {
    background-color: rgba(var(--bs-info-rgb), 0.4);
    background-image: none;
}

.banner__cta.reject:hover {
    background-color: var(--bs-danger);
}

/* ==========================================================
   26. AVATAR SELECTION
========================================================== */
.avatar-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-height: 360px;
    overflow: auto;
}

.avatar-radio {
    display: flex;
    align-items: center;
    margin: 0;
}

.avatar-radio img {
    width: 55px;
    height: 55px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
    border-radius: var(--rounded-sm);
}

.avatar-radio img:hover {
    transform: scale(1.06);
}

.avatar-radio input[type="radio"] {
    display: none;
}

.avatar-radio input[type="radio"]:checked + img {
    border-color: var(--bs-primary);
    background: var(--bs-primary-gradient-soft);
    padding: 2px;
    border-radius: var(--rounded-md);
}

/* ==========================================================
   27. PROFILE SETTINGS / STATS BOXES
========================================================== */
.single-box.footer_status {
    min-height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    white-space: nowrap;
    margin: 5px auto;
}

.single-box.footer_status .number h6 {
    font-size: 1rem;
    padding: 10px;
    font-weight: 700;
    color: var(--bs-light);
    font-variant-numeric: tabular-nums;
}

.single-box.footer_status .text h6 {
    font-size: 0.8rem;
    color: var(--bs-text-muted);
}

.earn-details .details {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--bs-card-border-color);
    background-color: var(--bs-surface-1);
    background-image: none;
}

.earn-details .inner-content i {
    font-size: 2.2rem;
    color: var(--bs-primary-light);
}

.earn-details .inner-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--bs-light);
    font-variant-numeric: tabular-nums;
}

.earn-details p {
    font-size: 12px;
    color: var(--bs-body-color);
}

.how-to-start .start-box {
    border-radius: var(--rounded-lg);
    position: relative;
    padding: 3px;
    margin: 10px 0;
    background-color: var(--bs-surface-1);
    background-image: none;
}

.how-to-start .start-box .counter {
    position: absolute;
    top: 0;
    left: -12px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 0.2;
    z-index: 60;
}

.how-to-start .start-box .inner-content {
    margin: auto;
    text-align: center;
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--rounded-lg);
}

.how-to-start .start-box .outer-content {
    border: 1px solid var(--bs-card-border-color);
    background-color: rgba(17, 21, 28, 0.85);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 50;
    border-radius: var(--rounded-lg);
    transform: translateX(-50%) translateY(-50%);
}

.how-to-start .start-box .outer-content h3 {
    color: var(--bs-primary-light);
}

.best-way-to-earn .best-box,
.why-us .best-box {
    display: flex;
    flex-direction: column;
    padding: 30px 24px 0;
    font-size: 14px;
    overflow: hidden;
    max-height: 450px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--bs-card-border-color);
    background-color: var(--bs-surface-1);
    background-image: none;
    height: 100%;
}

.best-way-to-earn .best-box img,
.why-us .best-box img {
    height: 120px;
    object-fit: contain;
    flex: 1;
    display: block;
    margin: auto;
}

.dashboard-image {
    display: inline-block;
    padding: 10px 6px;
    width: 125px;
    border-radius: var(--rounded-sm);
    cursor: pointer;
    margin-bottom: 5rem;
}

.dashboard-image img {
    width: 125px;
    max-width: 100%;
    display: block;
    margin-bottom: 8px;
    border-radius: var(--rounded-sm);
}

.dashboard-image .content {
    text-align: left;
}

.dashboard-image .content p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--bs-light);
}

.dashboard-image .content .middle {
    display: block;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--bs-text-muted);
}

.dashboard-image .content h5 {
    padding: 2px 0 0;
    font-size: 15px;
    font-weight: 700;
    margin: 2px 0 0;
    color: var(--bs-light);
}

.dashboard-image .content h5 span {
    font-size: 11px;
    color: var(--bs-text-muted);
}

.call-to-action .get-paid {
    color: var(--bs-primary-light);
}

.call-to-action a.call-btn {
    border: 1px solid var(--bs-card-border-color);
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin: 15px 0;
    color: #fff;
    border-radius: 999px;
    transition: all 0.2s var(--ease);
    background-color: var(--bs-surface-1);
    background-image: none;
}

.call-to-action a.call-btn:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary-light);
    background: var(--bs-surface-2);
}

.profile_form.rounded_10px {
    background-color: var(--bs-surface-1);
    background-image: none;
    border: 1px solid var(--bs-card-border-color);
}

/* ==========================================================
   28. SOCIALS & MISC
========================================================== */
.socials .links.email { background-color: #5865f2; }
.socials .links.facebook { background-color: #1671e9; }
.socials .links.twitter { background-color: #0f1419; }
.socials .links.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.socials .links.telegram { background: rgba(11, 176, 255, 0.85); }

.csm_iphone_ipad { background-color: #f97316; }
.csm_android { background-color: rgba(33, 150, 243, 0.6); }
.csm_cpe { background-color: #1b4772; }
.csm_cpa { background-color: #ff7f50; }
.csm_cpi { background-color: #4682b4; }
.csm_survey { background-color: #8a2be2; }
.csm_app { background-color: #14b8a6; }
.csm_signup { background-color: #ff6347; }
.csm_oneclick { background-color: #06b6d4; }
.csm_creditcard { background-color: #ca8a04; }
.csm_shopping { background-color: #ec4899; }

.offertype.game {
    background: var(--bs-info);
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
}

.country_info p {
    color: var(--bs-body-color) !important;
    font-size: 12px;
    font-weight: 400;
}

.public_info h3 {
    font-size: 24px;
    font-weight: 500;
}

.alert-danger {
    color: var(--bs-danger-light);
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    border-radius: var(--rounded-sm);
}

.in-valid {
    color: var(--bs-danger-light);
    font-size: 0.75rem;
}

.notifications-list li a.dropdown-item {
    background: transparent;
}

.notifications-list li a.dropdown-item:hover {
    background: var(--bs-surface-hover);
}

/* Utilities that Bootstrap lacks */
.d-grid.gap-6 {
    gap: 1.25rem;
}

.mt-5 {
    margin-top: 2.5rem !important;
}

.mb-5 {
    margin-bottom: 2.5rem !important;
}

/* Page header icons */
.section-header .section-title i,
.page-header i {
    color: var(--bs-primary-light);
}

/* ==========================================================
   29. WELCOME / STATIC PAGES
========================================================== */
.welcome {
    position: relative;
}

.welcome .hero-bg {
    width: 100%;
    height: 100%;
    background: url("../imgs/hero-bg.jpg") no-repeat top center;
    background-size: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
    opacity: 0.07;
}

.call-to-action #typer {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

h2.wow.fadeInDown.mt-4.fw-bold {
    color: var(--bs-primary-light);
    font-size: clamp(1.8rem, 3vw, 3rem);
}

/* ==========================================================
   30. ACCESSIBILITY & MOTION
========================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media screen and (min-width: 1200px) {
    h3 { font-size: 1.2rem; }
}

@media (max-width: 1200px) {
    .dashboard {
        margin-left: 0;
        margin-right: 0;
    }
    #last_offers {
        margin-left: 0;
    }
    .main_content {
        margin: 0 !important;
    }
}

@media (max-width: 575px) {
    .dashboard {
        padding: 0 0.75rem 1.5rem;
        margin-top: 1rem;
    }
    .container-fluid {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }
    .hero-section {
        padding-top: 40px;
    }
}

/* Bootstrap container normalization to avoid horizontal overflow */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    padding-right: calc(var(--bs-gutter-x, 0.75rem) / 2);
    padding-left: calc(var(--bs-gutter-x, 0.75rem) / 2);
    margin-right: auto;
    margin-left: auto;
    /* overflow: clip; */
}

/* ==========================================================
   24. COMPATIBILITY LAYER
   Legacy classes still referenced by dragon blades.
   Safe to remove as blades are migrated to the new design.
========================================================== */

/* ---- Layout wrappers ---- */
.theme_bg {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    padding: 1.25rem;
}
.cashout_overlay {
    padding: 0;
}
.title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.public_offers {
    padding-bottom: 3rem;
}
.page_card {
    border: 1px solid var(--bs-card-border-color);
    background-color: var(--bs-card-bg);
    box-shadow: var(--bs-card-shadow);
}
.page_card_header {
    padding: 1.5rem 1.5rem 0.5rem;
}
.page_card_body {
    padding: 0.5rem 1.5rem 1.5rem;
}
.profile-seting {
    display: grid;
    gap: 1.25rem;
}
.spin-wheel-section {
    padding: 0.25rem 0;
}
.how-it-works a {
    display: inline-flex;
    align-items: center;
    color: var(--bs-text-info);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.how-it-works a:hover {
    color: var(--bs-info-light);
}

/* ---- Generic utilities ---- */
.inline-block { display: inline-block; }
.whitespace-nowrap { white-space: nowrap; }
.justify-between { justify-content: space-between; }
.align-item-center { align-items: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-base { font-size: 0.9rem; }
.x-small { font-size: 0.7rem; }
.tx-15 { font-size: 15px; }
.capital { text-transform: capitalize; }
.lower { text-transform: lowercase; }
.font-weight-bold { font-weight: 700; }
.font-weight-semibold { font-weight: 600; }
.font-italic { font-style: italic; }
.opacity-40 { opacity: 0.4; }
.bg-opacity-20 { background-color: rgba(var(--bs-primary-rgb), 0.2); }
.border-opacity-30 { border-color: rgba(var(--bs-primary-rgb), 0.3); }
.border-right { border-right: 1px solid var(--bs-card-border-color); }
.border-radius-3 { border-radius: 0.25rem; }
.rounded_5px { border-radius: 5px; }
.shadow-0 { box-shadow: none !important; }
.max-w-600px { max-width: 600px; margin-inline: auto; }
.mx-8 { margin-inline: 2rem; }
.mb-50 { margin-bottom: 3rem; }
.mt-30 { margin-top: 1.875rem; }
.scrollable { overflow-y: auto; overscroll-behavior: contain; }
.btn-block { display: block; width: 100%; }
.modal-md { max-width: 600px; }
.special { color: var(--bs-secondary-light); }
.minimum { color: var(--bs-text-muted); }
.description { color: var(--bs-text-muted); font-size: 0.85rem; }
.copytext { color: var(--bs-text-muted); font-family: var(--bs-font-monospace); }
.error { color: var(--bs-danger); font-size: 0.75rem; }

/* ---- Text color helpers ---- */
.text-success-light { color: var(--bs-success-light); }
.text_green { color: var(--bs-success-light); }
.text-gradient {
    background: var(--bs-primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.text-gray { color: var(--bs-text-muted); }
.text-emerald { color: #34d399; }
.text-pink { color: #f472b6; }

/* ---- Animations (Tailwind-style helpers) ---- */
.animate-bounce { animation: bounce 2s infinite; }
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---- Forms ---- */
.label {
    color: var(--bs-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.input {
    background-color: var(--bs-form-control-bg);
    border: 1px solid var(--bs-form-control-border-color);
    color: var(--bs-form-control-color);
    border-radius: var(--bs-border-radius, 0.375rem);
    padding: 0.55rem 1rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input:focus {
    border-color: var(--bs-form-control-focus-border-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.12);
    outline: none;
}
.form_user {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--bs-light);
}
.from_ip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--bs-text-muted);
}
.input-popup {
    padding: 0.75rem;
    border: 1px dashed var(--bs-card-border-color);
    border-radius: var(--rounded-md, 0.75rem);
    background-color: var(--bs-surface-2);
}
.captcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}
.google_auth_logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

/* ---- Auth / social ---- */
.guest-auth-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.social-login-container {
    margin-top: 1.5rem;
}
.social-login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}
.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--bs-card-border-color);
    background-color: var(--bs-surface-1);
    color: var(--bs-light);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.btn-social:hover {
    transform: translateY(-1px);
    border-color: var(--bs-primary);
    color: var(--bs-primary-light);
}
.btn-discord { color: #8b9cf7; }
.btn-discord:hover { background-color: rgba(114, 137, 218, 0.14); border-color: #5865f2; }
.btn-facebook { color: #6f8df2; }
.btn-facebook:hover { background-color: rgba(66, 103, 178, 0.14); border-color: #1877f2; }
.btn-google { color: #f6b0a1; }
.btn-google:hover { background-color: rgba(234, 67, 53, 0.12); border-color: #ea4335; }
.btn-twitter { color: #7cc5f5; }
.btn-twitter:hover { background-color: rgba(29, 161, 242, 0.12); border-color: #1da1f2; }
.btn-dm { color: #c0c7d4; }
.btn-dm:hover { background-color: rgba(148, 163, 184, 0.12); border-color: #94a3b8; }
.telegram-widget-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* ---- Footer ---- */
.footer-content {
    background-color: var(--bs-deep);
}

@media screen and (min-width:1200px) {
    .footer-content {
        padding-left: 15rem;
    }
}

.footer-widget {
    color: var(--bs-text-muted);
}
.footer-widget-heading h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-light);
    margin-bottom: 1rem;
}
.footer-logo a {
    display: inline-block;
}
.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 30ch;
    margin-top: 1rem;
}
.footer-social-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    color: var(--bs-text-muted);
    font-size: 1rem;
    transition: all 0.2s var(--ease);
}
.footer-social-icon a:hover {
    color: var(--bs-light);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}
.links-group {
    display: flex;
    flex-direction: column;
}
.footer-link {
    color: var(--bs-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-link:hover {
    color: var(--bs-primary-light);
}
.footer-link.trustpilot img {
    max-width: 110px;
    margin-top: 0.4rem;
}
.copyright-area {
    border-top: 1px solid var(--bs-card-border-color);
    padding-top: 1rem;
    text-align: center;
}
.copyright-center {
    color: var(--bs-text-muted);
    font-size: 0.85rem;
}
.mobile-flex {
    display: flex;
    flex-direction: column;
}
@media (max-width: 991.98px) {
    .mobile-flex {
        margin-bottom: 2rem;
    }
}

/* ---- Dashboard / profile ---- */
.image-upload-wrapper {
    position: relative;
    display: inline-block;
}
.image-upload {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pencil-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 0.25rem;
}
.custom-table,
.table_data,
.log_table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table thead th,
.table_data thead th,
.log_table thead th {
    background-color: var(--bs-surface-3);
    color: var(--bs-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-card-border-color);
}
.custom-table tbody td,
.table_data tbody td,
.log_table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-card-border-color);
    color: var(--bs-table-color);
    vertical-align: middle;
}
.custom-table tbody tr:hover,
.table_data tbody tr:hover,
.log_table tbody tr:hover {
    background-color: var(--bs-table-hover-bg);
}

/* ---- Navbar / sidebar ---- */
.nav-widgets {
    display: flex;
    align-items: center;
}
.widget {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.widget .icon i {
    font-size: 1.1rem;
}
.bell-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.user_token_value {
    color: var(--bs-secondary-light);
    font-weight: 700;
}
.notifications {
    max-height: 340px;
    overflow-y: auto;
    min-width: 300px;
    padding: 1rem;
}
.open,
.close {
    cursor: pointer;
}
.main-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bs-navbar-link-color);
    font-size: 0.75rem;
    text-decoration: none;
    gap: 0.2rem;
    padding: 8px;
}
.main-nav-link:hover {
    color: var(--bs-primary-light);
}
.main-nav-link .head-icon {
    font-size: 0.15rem;
}
.main-nav-link .head-title {
    font-size: 0.72rem;
    font-weight: 600;
}
.sidebar_menu {
    cursor: pointer;
}
@media (max-width: 991.98px) {
    #mobile-nav {
        display: flex !important;
    }
}

/* ---- Chat room ---- */
.chat-container {
    position: relative;
}
.close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--bs-text-muted);
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.close-btn:hover {
    color: var(--bs-danger-light);
    border-color: var(--bs-danger);
}
.onlineUsers p {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bs-success-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}
.message_wrapper {
    margin-bottom: 0.5rem;
    margin-top: 8px;
    background: var(--bs-surface-3);
    padding: 4px;
    border-radius: 8px;
}
.message_data {
    color: var(--bs-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.user_details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user_img.has-badge {
    position: relative;
}

.user_img.has-badge > span {
    position: absolute;
    bottom: -12px;
    left: 0px;
    margin: 0 auto;
    font-size: 8px !important;
}

.user_img img {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.message_wrapper h6.username {
    font-size: 13px !important;
}

.message_wrapper .user {
    text-align: right;
    font-size: 9px;
}

.chat_footer {
    width: 100%;
    padding: 0.75rem;
    background: var(--bs-surface-3);
    border-top: 1px solid var(--bs-card-border-color);
    display: flex;
}
.chat_footer form {
    display: flex;
    align-items: center;
    width: 100%;
}
.chat_footer .input {
    flex: 1;
}
.submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    background-color: var(--bs-primary);
    border: none;
    color: #fff;
    transition: background-color 0.2s var(--ease);
    padding: 0 !important;
}
.submit:hover {
    background-color: var(--bs-primary-dark);
    color: #fff;
}
.not_login {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 13, 0.85);
    backdrop-filter: blur(4px);
    z-index: 2;
}
.not_login h3 {
    font-size: 0.95rem;
    font-weight: 600;
}
.unauth .form-control {
    pointer-events: none;
    opacity: 0.6;
}

/* ---- Live activity ---- */
.activity-item-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.activity-item-container .hd {
    font-weight: 700;
    color: var(--bs-light);
}
.activity-item-container .amount {
    color: var(--bs-success-light);
    font-weight: 700;
}

/* ---- Cookie consent ---- */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.cookie-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-light);
    margin: 0;
}
.cookie-text {
    color: var(--bs-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ---- Network offers / offerwalls ---- */
.container-grid {
    padding: 0 0.25rem;
}
.offer-header {
    gap: 1rem;
    padding-bottom: 1rem;
}
.offer-header img {
    border-radius: 0.75rem;
}
.offer-header-info {
    flex: 1;
    min-width: 0;
}
.device-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.device-icons i,
.device-icons svg {
    font-size: 1.1rem;
    color: var(--bs-text-muted);
}
.modal-status p,
.provider p {
    color: var(--bs-success-light);
    font-weight: 600;
}
.lazyload {
    opacity: 0.4;
    transition: opacity 0.4s var(--ease);
}
.lazyload.lazyloaded {
    opacity: 1;
}
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive::before {
    display: block;
    content: "";
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
}
.embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Leaderboard ---- */
.extra_info {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    color: var(--bs-text-muted);
    font-size: 0.9rem;
}
.leaderboard-boxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}
.leaderboard-box {
    flex: 1 1 220px;
    max-width: 280px;
}
.info-box {
    position: relative;
    text-align: center;
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    padding: 2rem 1.25rem 1.5rem;
    transition: all 0.25s var(--ease);
}
.info-box.level-top {
    border-color: rgba(var(--bs-secondary-rgb), 0.45);
    box-shadow: 0 0 25px rgba(var(--bs-secondary-rgb), 0.12);
}
.info-box.level-1 {
    border-color: rgba(148, 163, 184, 0.25);
}
.info-box.level-2 {
    border-color: rgba(180, 83, 9, 0.3);
}
.crown {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 6px rgba(234, 179, 8, 0.4));
}
.abs-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--bs-secondary-light);
    letter-spacing: 0.05em;
}
.mdtxt {
    color: var(--bs-light);
    font-weight: 700;
}
.lgtxt {
    color: var(--bs-text-muted);
    font-size: 0.9rem;
}
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--bs-font-monospace);
    color: var(--bs-warning);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.requirement {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    padding: 1rem 1.25rem;
}

/* ---- Rewards ---- */
.tasks_title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--bs-light);
    margin-bottom: 0.35rem;
}
.days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}
.day_1 {
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md, 0.75rem);
    text-align: center;
}
.hours,
.minutes,
.seconds {
    display: inline-block;
    min-width: 1.6em;
    text-align: center;
}
.ref {
    color: var(--bs-text-muted);
    margin: 0 0.15rem;
}
.streak_rewards {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    padding: 1.5rem;
}

/* ---- Referral ---- */
.referral_link_card {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    box-shadow: var(--bs-card-shadow);
}
.profile_card {
    background-color: var(--bs-surface-1);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-lg, 1rem);
    box-shadow: var(--bs-card-shadow);
}
.current_label,
.commission {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.tier_details,
.tier_commission {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.tier_requirements {
    padding: 0.5rem 0;
    border-top: 1px dashed var(--bs-card-border-color);
    margin-top: 0.75rem;
}
.generic {
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--rounded-md, 0.75rem);
}
.today_earnings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ref_image img {
    max-width: 100%;
    height: auto;
}
.referral {
    display: block;
}

/* ---- Community ---- */
.our-community {
    padding: 0 0 2rem;
}
.head-area {
    gap: 1.5rem;
}
.icon-area {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-area img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: transform 0.25s var(--ease);
}
.single-box:hover .icon-area img {
    transform: scale(1.1);
}
.txt-area h5 {
    font-weight: 700;
    color: var(--bs-light);
}
.txt-area p {
    color: var(--bs-text-muted);
}

/* ---- SVG helper classes (leftover from template assets) ---- */
.cls-1 { fill: var(--bs-text-muted); }
.cls-2 { fill: var(--bs-text-muted); }
.st0 { fill: var(--bs-text-muted); }
.gc_raj {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background-color: var(--bs-surface-2);
    border: 1px solid var(--bs-card-border-color);
    overflow: hidden;
}
.gc_raj img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Leftover hashed class names from the old template — intentionally inert */
.SidebarLeft_mobileScrollWrapper__v6kBw,
.SidebarLeft_scrollWrapper__f8LZ_ {
    height: 100%;
}
.myDiv {
    display: block;
}
.foo_sec {
    align-items: flex-start;
}
.form {
    display: block;
}
.method_info {
    color: var(--bs-text-muted);
    font-size: 0.85rem;
}
.method_info li {
    margin-bottom: 0.35rem;
}
.submit_button {
    margin-top: 1.25rem;
}
.submit_button .btn {
    min-width: 120px;
}
