/* ==========================================================================
   CashZone - application styles layered on top of the CSM theme stack
   (main.css / style.css / home.css / theme-dynamic.css)
   ========================================================================== */

:root {
    --cz-primary: #d97706;
    --cz-primary-hover: #b45309;
    --cz-primary-rgb: 217, 119, 6;
    --cz-grad-start: #d97706;
    --cz-grad-end: #fcd34d;
    --cz-bg: #0d131c;
    --cz-panel: #151f2c;
    --cz-panel-2: #111923;
    --cz-line: #263244;
    --cz-text: #eef5ff;
    --cz-muted: #8ea0b8;
    --cz-glow: rgba(217, 119, 6, .2);
    --cz-border-glow: rgba(217, 119, 6, .22);
    --main-sidebar-width: 0rem;
    --sidebar-panel-width: 225px;
}

body {
    background-color: var(--cz-bg);
    color: #8798af;
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#root, .bg-app { background-color: var(--cz-bg); }

html.dark body { background-color: var(--cz-bg); }

::selection { background: var(--cz-primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0d131c; }
::-webkit-scrollbar-thumb { background: #283341; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #35465a; }

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.app-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-content: center;
    background: #0b1119;
    transition: opacity .25s ease, visibility .25s ease;
}
.app-preloader.is-done { opacity: 0; visibility: hidden; }
#csm-preloader-style-wrapper { display: flex; align-items: center; justify-content: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
nav.header { background: transparent; }
nav.header .header-container {
    background: #161f2c;
    border-bottom: 1px solid #232e3e;
    padding-inline: 16px;
}
@media (min-width: 1024px) {
    nav.header .header-container { padding-inline: 18px; }
}
.dc-logo img {
    height: 38px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}
.mv-logo img {
    height: 38px;
    width: 38px;
    border-radius: 9px;
    object-fit: contain;
}
.dc-logo { display: none; }
.mv-logo { display: flex; }
@media (min-width: 768px) {
    .dc-logo { display: flex; }
    .mv-logo { display: none; }
}
.navp { display: flex; align-items: center; min-width: 0; }
.menu-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    border-radius: 2px;
    background: #9db0c8;
    transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle span + span { margin-top: 4px; }
.sign-bt-mr { gap: 8px; }
.csm_btn_log_ { flex-shrink: 0; }
.cz-top-actions { display: flex; align-items: center; gap: 8px; }
.cz-icon-btn {
    height: 38px;
    width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #cdd8e6;
    position: relative;
    transition: .2s;
}
.cz-icon-btn:hover { color: #fff; border-color: rgba(var(--cz-primary-rgb), .5); background: rgba(var(--cz-primary-rgb), .12); }
.cz-icon-btn i { font-size: 16px; }
.cz-icon-btn.has-dot::after {
    content: '';
    position: absolute;
    top: 7px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cz-primary);
    box-shadow: 0 0 0 2px #161f2c;
}
.cz-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 13px;
    border-radius: 9px;
    background: rgba(var(--cz-primary-rgb), .12);
    border: 1px solid rgba(var(--cz-primary-rgb), .28);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}
.cz-balance i { color: var(--cz-primary); font-size: 15px; }
.cz-balance:hover { background: rgba(var(--cz-primary-rgb), .2); color: #fff; }
.cz-avatar-btn {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .16);
    flex-shrink: 0;
}
.cz-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.cz-avatar-large { height: 44px; width: 44px; }

/* header dropdowns */
.cz-dropdown { position: relative; }
.cz-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 230px;
    background: #151f2c;
    border: 1px solid var(--cz-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    padding: 8px;
    z-index: 120;
}
.cz-dropdown-menu a, .cz-dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: #c7d3e2;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: .15s;
}
.cz-dropdown-menu a:hover, .cz-dropdown-menu button:hover {
    background: rgba(var(--cz-primary-rgb), .12);
    color: #fff;
}
.cz-dropdown-menu i { width: 18px; color: var(--cz-primary); text-align: center; }
.cz-dropdown-head {
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--cz-line);
    margin-bottom: 6px;
}
.cz-dropdown-head strong { display: block; color: #fff; font-size: 14px; }
.cz-dropdown-head span { color: #7f92a9; font-size: 11px; }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar-panel .bg-fg-1 { background: #111923; border-right: 1px solid #1d2733; }
.sidebar-panel-min .bg-fg-1 { background: #111923; border-right: 1px solid #1d2733; }
.nav_lay1 { min-height: 44px; }
.nav_lay1 .spn { font-family: Inter, sans-serif; font-weight: 600; }
.nav_lay1 i { width: 21px; text-align: center; }
.nav_lay_active, .nav_lay_active:hover { background: var(--cz-primary) !important; }
.sb-sub { overflow: hidden; }
.sb-sub .nav_lay1 { padding: 9px 12px 9px 46px; margin-top: 2px; }
.sb-sub .nav_lay1 i { font-size: 15px; width: 18px; }
.sb-sub .nav_lay1 span { font-size: 13px; }
.sb-chevron { transition: transform .2s ease; color: #6c7f95; font-size: 12px; }
.sb-chevron.rot { transform: rotate(90deg); }
.sb-divider {
    height: 1px;
    margin: 10px 18px;
    background: linear-gradient(90deg, transparent, #263244, transparent);
}
.sb-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(var(--cz-primary-rgb), .18);
    color: var(--cz-primary);
}
.sidebar-panel-min .k-1 { font-size: 17px; color: #6d8097; }
.sidebar-panel-min a.bg-rgb-blue .k-1 { color: #fff; }
.csm-bottom-nav { border-top-color: #232e3e; }
.csm-bottom-nav ul li a { color: #8ea0b8; }
.csm-bottom-nav ul li a.csm_b_nav_active { color: var(--cz-primary) !important; }
.csm-bottom-nav svg { color: currentColor; }

/* mobile sidebar overlay */
@media (max-width: 767px) {
    .is-sidebar-open .sidebar-panel { box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
    .main-content { padding-bottom: 90px; }
}

/* --------------------------------------------------------------------------
   Page scaffolding
   -------------------------------------------------------------------------- */
.main-content { background: transparent; min-height: calc(100vh - 61px); }
.cz-page {
    padding: 22px 20px 46px;
    max-width: 1420px;
    margin: 0 auto;
    width: 100%;
}
@media (min-width: 768px) { .cz-page { padding: 26px 26px 50px; } }
@media (min-width: 1280px) { .cz-page { padding: 26px 30px 56px; } }
.cz-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cz-page-title { color: #fff; font-size: 25px; line-height: 1.2; font-weight: 700; margin: 0; }
.cz-page-title i { color: var(--cz-primary); margin-right: 8px; font-size: 21px; }
.cz-page-sub { color: #8ea0b8; font-size: 13.5px; margin: 7px 0 0; max-width: 680px; line-height: 1.75; }
.cz-breadcrumb { color: #6f8299; font-size: 12px; }
.cz-breadcrumb a { color: var(--cz-primary); }

.cz-panel {
    background: #141e2a;
    border: 1px solid #243042;
    border-radius: 14px;
    padding: 18px;
    position: relative;
}
.cz-panel + .cz-panel { margin-top: 18px; }
.cz-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.cz-panel-title { color: #eef5ff; font-size: 15px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 9px; }
.cz-panel-title i { color: var(--cz-primary); }
.cz-panel-note { color: #7f92a9; font-size: 12.5px; }

.cz-grid { display: grid; gap: 16px; }
.cz-grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.cz-grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.cz-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) {
    .cz-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cz-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cz-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .cz-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cz-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Buttons / forms
   -------------------------------------------------------------------------- */
.cz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.cz-btn i { font-size: 14px; }
.cz-btn-primary {
    background: var(--cz-primary);
    color: #fff;
    box-shadow: 0 6px 18px var(--cz-glow);
}
.cz-btn-primary:hover { background: var(--cz-primary-hover); color: #fff; transform: translateY(-1px); }
.cz-btn-soft {
    background: rgba(var(--cz-primary-rgb), .12);
    border-color: rgba(var(--cz-primary-rgb), .25);
    color: var(--cz-primary);
}
.cz-btn-soft:hover { background: rgba(var(--cz-primary-rgb), .2); color: #fff; }
.cz-btn-ghost {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(255, 255, 255, .1);
    color: #d3deeb;
}
.cz-btn-ghost:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cz-btn-danger { background: #e5484d; color: #fff; }
.cz-btn-danger:hover { background: #cf3b40; color: #fff; }
.cz-btn-success { background: #16a34a; color: #fff; }
.cz-btn-success:hover { background: #128a3e; color: #fff; }
.cz-btn-sm { height: 34px; padding: 0 13px; font-size: 12px; border-radius: 8px; }
.cz-btn-lg { height: 46px; padding: 0 24px; font-size: 14px; }
.cz-btn-block { width: 100%; }
.cz-btn:disabled, .cz-btn.disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.cz-field { margin-bottom: 15px; }
.cz-label { display: block; color: #b7c5d6; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.cz-label .req { color: var(--cz-primary); }
.cz-input, .cz-select, .cz-textarea {
    width: 100%;
    background: #0e1621;
    border: 1px solid #2a3749;
    border-radius: 9px;
    color: #edf4ff;
    font-size: 13.5px;
    padding: 11px 13px;
    min-height: 42px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: inherit;
}
.cz-textarea { min-height: 110px; resize: vertical; }
.cz-input::placeholder, .cz-textarea::placeholder { color: #5e7188; }
.cz-input:focus, .cz-select:focus, .cz-textarea:focus {
    border-color: var(--cz-primary);
    box-shadow: 0 0 0 3px rgba(var(--cz-primary-rgb), .14);
}
.cz-input[disabled], .cz-input[readonly] { background: #0b121b; color: #7e91a8; }
.cz-error { color: #ff7b7b; font-size: 11.5px; margin-top: 6px; }
.cz-help { color: #71849a; font-size: 11.5px; margin-top: 6px; }
.cz-check { display: flex; align-items: center; gap: 9px; color: #a7b6c9; font-size: 12.5px; }
.cz-check input { width: 16px; height: 16px; accent-color: var(--cz-primary); }
.cz-input-icon { position: relative; }
.cz-input-icon > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #657a92; font-size: 14px; }
.cz-input-icon .cz-input { padding-left: 38px; }

/* pill tabs */
.cz-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1a2533;
    border: 1px solid #263244;
    color: #93a5ba;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
}
.cz-tab:hover { color: #fff; border-color: rgba(var(--cz-primary-rgb), .4); }
.cz-tab.active, .cz-tab.is-active {
    background: var(--cz-primary);
    border-color: var(--cz-primary);
    color: #fff;
}
.cz-tab i { font-size: 13px; }

/* --------------------------------------------------------------------------
   Offerwall cards (earn / offers / surveys)
   -------------------------------------------------------------------------- */
.cz-wall-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 640px) { .cz-wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cz-wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cz-wall-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cz-wall-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #16202d;
    border: 1px solid #243042;
    border-radius: 11px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
    min-height: 176px;
}
.cz-wall-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--cz-primary-rgb), .55);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(var(--cz-primary-rgb), .15);
}
.cz-wall-logo {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--cz-primary-rgb), .14), transparent 70%),
        linear-gradient(180deg, #1a2635 0%, #141d29 100%);
    border-bottom: 1px solid #243042;
    position: relative;
}
.cz-wall-logo img {
    max-height: 62px;
    max-width: 92%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
}
.cz-wall-pct {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #05230f;
    background: linear-gradient(90deg, #38d97a, #7cf0a8);
    padding: 2px 7px;
    border-radius: 20px;
}
.cz-wall-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--cz-primary);
    padding: 2px 7px;
    border-radius: 20px;
}
.cz-wall-body { padding: 10px 12px 12px; text-align: center; display: flex; flex-direction: column; gap: 5px; flex: 1; justify-content: center; }
.cz-wall-name { color: #e9f1fb; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.cz-stars { color: var(--cz-primary); font-size: 11px; letter-spacing: 1px; }
.cz-stars .off { color: #4a5b70; }
.cz-wall-lock {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(8, 13, 19, .72);
    backdrop-filter: blur(3px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}
.cz-wall-lock i { font-size: 26px; color: var(--cz-primary); }

/* individual offers */
.cz-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (min-width: 700px) { .cz-offer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1000px) { .cz-offer-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1300px) { .cz-offer-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.cz-offer-card {
    background: #141e2a;
    border: 1px solid #243042;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: .2s;
    position: relative;
}
.cz-offer-card:hover { transform: translateY(-3px); border-color: rgba(var(--cz-primary-rgb), .5); }
.cz-offer-img { height: 130px; background: #1b2735; overflow: hidden; position: relative; }
.cz-offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cz-offer-card:hover .cz-offer-img img { transform: scale(1.05); }
.cz-offer-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 14, 20, .75)); }
.cz-offer-detail { padding: 11px 12px 0; flex: 1; }
.cz-offer-name { color: #edf4ff; font-weight: 600; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cz-offer-desc { color: #7f92a9; font-size: 11.5px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cz-offer-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px 12px; }
.cz-offer-points { color: var(--cz-primary); font-weight: 700; font-size: 14px; }
.cz-offer-points small { color: #7f92a9; font-weight: 500; font-size: 10px; margin-left: 3px; }
.cz-offer-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: .2s; z-index: 2;
}
.cz-offer-play span {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(var(--cz-primary-rgb), .92);
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(var(--cz-primary-rgb), .45);
}
.cz-offer-card:hover .cz-offer-play { opacity: 1; }

/* --------------------------------------------------------------------------
   Cashout cards
   -------------------------------------------------------------------------- */
.cz-cashout-group + .cz-cashout-group { margin-top: 22px; }
.cz-cashout-group-title { color: #dbe6f4; font-size: 14px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.cz-cashout-group-title i { color: var(--cz-primary); }
.cz-cashout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .cz-cashout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cz-cashout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cz-cashout-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cz-cashout-card {
    min-height: 176px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 16px 10px;
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    position: relative;
    overflow: hidden;
}
.cz-cashout-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 45%);
    pointer-events: none;
}
.cz-cashout-card:hover { transform: translateY(-4px); filter: brightness(1.06); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); color: #fff; }
.cz-cashout-card img { max-height: 52px; max-width: 78px; object-fit: contain; position: relative; z-index: 1; }
.cz-cashout-card span { position: relative; z-index: 1; }
.cz-cashout-min { font-size: 10px; font-weight: 500; opacity: .8; color: #fff; }

/* --------------------------------------------------------------------------
   Stats / leaderboard / rewards
   -------------------------------------------------------------------------- */
.cz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .cz-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cz-stat {
    background: #141e2a;
    border: 1px solid #243042;
    border-radius: 13px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
}
.cz-stat-icon {
    width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--cz-primary-rgb), .12);
    border: 1px solid rgba(var(--cz-primary-rgb), .22);
    color: var(--cz-primary); font-size: 17px;
}
.cz-stat strong { display: block; color: #fff; font-size: 18px; line-height: 1.2; font-weight: 700; }
.cz-stat span { color: #7f92a9; font-size: 11.5px; }

.cz-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.cz-podium-card {
    background: #141e2a; border: 1px solid #243042; border-radius: 14px; padding: 18px 12px 16px;
    text-align: center; position: relative; overflow: hidden;
}
.cz-podium-card.rank-1 { border-color: rgba(var(--cz-primary-rgb), .55); background: linear-gradient(180deg, rgba(var(--cz-primary-rgb), .13), #141e2a 55%); }
.cz-podium-card .p-avatar {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px; position: relative;
    border: 2px solid #2c3a4d; overflow: visible;
}
.cz-podium-card.rank-1 .p-avatar { border-color: var(--cz-primary); width: 74px; height: 74px; }
.cz-podium-card .p-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cz-podium-card .p-medal { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #182230; background: #9fb0c4; border: 2px solid #141e2a; }
.cz-podium-card.rank-1 .p-medal { background: var(--cz-primary); color: #fff; }
.cz-podium-card.rank-2 .p-medal { background: #cbd5e1; }
.cz-podium-card.rank-3 .p-medal { background: #c98b56; color: #fff; }
.cz-podium-card .p-name { color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-podium-card .p-points { color: var(--cz-primary); font-weight: 700; font-size: 12px; margin-top: 3px; }
.cz-podium-card .p-prize { color: #7f92a9; font-size: 10.5px; margin-top: 2px; }

.cz-table-wrap { overflow-x: auto; }
.cz-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.cz-table th {
    color: #8296ad; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em;
    font-weight: 600; padding: 0 14px 6px; text-align: left; white-space: nowrap;
}
.cz-table td {
    background: #111a25;
    padding: 11px 14px;
    color: #c8d5e4;
    font-size: 12.5px;
    border-top: 1px solid #1f2a39;
    border-bottom: 1px solid #1f2a39;
    vertical-align: middle;
}
.cz-table tr td:first-child { border-left: 1px solid #1f2a39; border-radius: 10px 0 0 10px; }
.cz-table tr td:last-child { border-right: 1px solid #1f2a39; border-radius: 0 10px 10px 0; }
.cz-table tr.me td { background: rgba(var(--cz-primary-rgb), .1); border-color: rgba(var(--cz-primary-rgb), .35); }
.cz-rank { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 7px; background: #1b2735; color: #a9b9cb; font-size: 11px; font-weight: 700; }
.cz-rank.top { background: rgba(var(--cz-primary-rgb), .18); color: var(--cz-primary); }
.cz-user-cell { display: flex; align-items: center; gap: 9px; }
.cz-user-cell img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.cz-streak-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cz-streak-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cz-streak-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.cz-streak-card {
    background: #141e2a;
    border: 1px solid #243042;
    border-radius: 13px;
    padding: 16px 10px;
    text-align: center;
    position: relative;
    transition: .2s;
}
.cz-streak-card.day-current { border-color: rgba(var(--cz-primary-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--cz-primary-rgb), .2); }
.cz-streak-card.day-done { border-color: rgba(22, 163, 74, .4); background: rgba(22, 163, 74, .07); }
.cz-streak-card .s-day { color: #7f92a9; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cz-streak-card .s-coin { margin: 10px auto; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--cz-primary-rgb), .12); border: 1px solid rgba(var(--cz-primary-rgb), .3); color: var(--cz-primary); font-size: 18px; }
.cz-streak-card .s-points { color: #fff; font-weight: 700; font-size: 13px; }
.cz-streak-card .s-btn { margin-top: 10px; }
.cz-streak-card .s-check { color: #22c55e; font-size: 16px; margin-top: 10px; }

.cz-referral-box {
    display: flex;
    gap: 8px;
    background: #0e1621;
    border: 1px dashed #33465c;
    padding: 8px;
    border-radius: 10px;
}
.cz-referral-box input {
    flex: 1;
    background: transparent;
    border: 0;
    color: #dce7f4;
    font-size: 12.5px;
    padding: 0 8px;
    outline: none;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Profile & support
   -------------------------------------------------------------------------- */
.cz-profile-card { text-align: center; padding: 24px 18px; }
.cz-profile-avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px; border: 3px solid #263244; padding: 3px; position: relative; }
.cz-profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cz-profile-name { color: #fff; font-weight: 700; font-size: 17px; }
.cz-profile-mail { color: #8296ad; font-size: 12px; margin-top: 2px; }
.cz-level-bar { height: 8px; border-radius: 20px; background: #0d1520; overflow: hidden; margin-top: 8px; }
.cz-level-bar > div { height: 100%; background: linear-gradient(90deg, var(--cz-grad-start), var(--cz-grad-end)); border-radius: 20px; }
.cz-profile-meta { display: flex; justify-content: space-between; color: #7f92a9; font-size: 10.5px; margin-top: 5px; }
.cz-info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #1f2a39; font-size: 12.5px; }
.cz-info-row:last-child { border-bottom: 0; }
.cz-info-row span { color: #8296ad; }
.cz-info-row strong { color: #e6eef8; font-weight: 600; text-align: right; }
.cz-activity { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #1f2a39; }
.cz-activity:last-child { border-bottom: 0; }
.cz-activity-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(var(--cz-primary-rgb), .1); color: var(--cz-primary); }
.cz-activity-title { color: #dfe9f5; font-size: 12.5px; font-weight: 500; }
.cz-activity-time { color: #6f8299; font-size: 10.5px; }
.cz-activity-amount { margin-left: auto; font-weight: 700; font-size: 12.5px; color: #22c55e; }
.cz-activity-amount.neg { color: #f87171; }

.cz-ticket {
    background: #141e2a; border: 1px solid #243042; border-radius: 12px;
    padding: 14px 16px; display: flex; align-items: center; gap: 14px; transition: .18s;
}
.cz-ticket:hover { border-color: rgba(var(--cz-primary-rgb), .4); }
.cz-ticket-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(var(--cz-primary-rgb), .1); color: var(--cz-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cz-ticket-title { color: #e8f0fb; font-size: 13px; font-weight: 600; }
.cz-ticket-meta { color: #72869c; font-size: 11px; margin-top: 2px; }
.cz-badge { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }
.cz-badge.pending { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.cz-badge.open { background: rgba(59, 130, 246, .15); color: #60a5fa; }
.cz-badge.closed, .cz-badge.approved { background: rgba(34, 197, 94, .15); color: #4ade80; }
.cz-badge.rejected { background: rgba(239, 68, 68, .15); color: #f87171; }

.cz-accordion { display: flex; flex-direction: column; gap: 10px; }
.cz-acc-item { background: #141e2a; border: 1px solid #243042; border-radius: 11px; overflow: hidden; }
.cz-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; cursor: pointer; color: #e2ebf6; font-size: 13.5px; font-weight: 500; }
.cz-acc-head i { color: #7f92a9; transition: transform .25s ease; font-size: 12px; }
.cz-acc-head.open i { transform: rotate(180deg); }
.cz-acc-body { padding: 0 17px 16px; color: #91a3b8; font-size: 12.5px; line-height: 1.8; }

.cz-empty { text-align: center; padding: 46px 16px; color: #7f92a9; }
.cz-empty i { font-size: 34px; color: #33465c; display: block; margin-bottom: 10px; }

/* alerts */
.cz-alert { padding: 12px 14px; border-radius: 10px; font-size: 12.5px; border: 1px solid; display: flex; gap: 9px; align-items: flex-start; }
.cz-alert-info { background: rgba(59, 130, 246, .08); border-color: rgba(59, 130, 246, .28); color: #93c5fd; }
.cz-alert-warn { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .28); color: #fcd34d; }
.cz-alert-danger { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .28); color: #fca5a5; }

/* --------------------------------------------------------------------------
   Footer (uses home.css classes)
   -------------------------------------------------------------------------- */
.home-footer { margin-top: 40px; }
.home-footer-bottom { padding-bottom: 16px; }
body:not(.cz-home) .home-footer { background: transparent; }
@media (max-width: 768px) {
    .home-footer { margin-bottom: 72px; }
    .bot_mr { margin-bottom: 4rem !important; }
}

/* --------------------------------------------------------------------------
   Auth modal
   -------------------------------------------------------------------------- */
.cz-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1080;
    overflow-y: auto;
    padding: 20px 14px;
    background: rgba(4, 8, 13, .7);
    backdrop-filter: blur(4px);
}
.cz-modal.show { display: block; }
.cz-modal-dialog { max-width: 460px; margin: 4vh auto; position: relative; }
.cz-modal-content {
    background: #131c28;
    border: 1px solid #263244;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    overflow: hidden;
    animation: cz-pop .22s ease;
}
@keyframes cz-pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.cz-modal-head {
    padding: 18px 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.cz-modal-title { color: #fff; font-size: 20px; font-weight: 700; margin: 0; }
.cz-modal-sub { color: #8ea0b8; font-size: 12.5px; margin: 4px 0 0; }
.cz-modal-close {
    width: 34px; height: 34px; border-radius: 50%;
    background: #1c2735; border: 1px solid #2a3749;
    color: #a9b9cb; display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0; transition: .18s;
}
.cz-modal-close:hover { background: #263244; color: #fff; }
.cz-modal-body { padding: 16px 20px 20px; }
.cz-modal .modal-backdrop { display: none; }
.auth-width { max-width: 100%; }
body.modal-open { overflow: hidden; }

/* Bootstrap modal compatibility (offer iframe, bonus, etc.) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    overflow-y: auto;
    outline: 0;
    background: rgba(4, 8, 13, .72);
    backdrop-filter: blur(4px);
    padding: 24px 14px;
}
.modal.show { display: block; }
.modal.fade .modal-dialog { transition: transform .2s ease-out; transform: translateY(-12px); }
.modal.show .modal-dialog { transform: none; }
.modal-dialog { position: relative; width: 100%; max-width: 500px; margin: 3vh auto; }
.modal-sm { max-width: 380px; }
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1140px; }
.modal-fullscreen-sm-down { max-width: 100%; }
.modal-content {
    background: #131c28; color: #c9d6e5;
    border: 1px solid #263244; border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    position: relative; display: flex; flex-direction: column; width: 100%;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #223041; }
.modal-title { color: #fff; font-weight: 700; font-size: 16px; margin: 0; }
.modal-body { padding: 18px 20px; position: relative; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #223041; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1070; background: #04080d; }
.modal-backdrop.fade { opacity: 0; transition: opacity .15s linear; }
.modal-backdrop.show { opacity: .72; }
.btn-close {
    width: 34px; height: 34px; border-radius: 50%;
    background: #1c2735 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a9b9cb'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center/12px no-repeat;
    border: 1px solid #2a3749; opacity: .9; padding: 0; cursor: pointer;
}
.btn-close:hover { background-color: #263244; opacity: 1; }
.btn-close-white { filter: none; }

/* --------------------------------------------------------------------------
   Bootstrap-ish form/button compatibility used by shared Livewire partials
   -------------------------------------------------------------------------- */
.form-control, .form-select {
    background-color: #0e1621 !important;
    border: 1px solid #2a3749 !important;
    color: #edf4ff !important;
    border-radius: 9px !important;
    min-height: 42px;
    font-size: 13.5px !important;
    padding: 10px 13px !important;
    box-shadow: none !important;
}
.form-control::placeholder { color: #5e7188 !important; }
.form-control:focus, .form-select:focus {
    border-color: var(--cz-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--cz-primary-rgb), .14) !important;
}
.form-label { color: #b7c5d6; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.form-check-input { background-color: #0e1621; border-color: #2a3749; }
.form-check-input:checked { background-color: var(--cz-primary); border-color: var(--cz-primary); }
.form-check-label { color: #a7b6c9; font-size: 12.5px; }
.input-group-text { background: #0e1621; border-color: #2a3749; color: #7f92a9; }
.invalid-feedback { color: #ff7b7b; font-size: 11.5px; }
.is-invalid { border-color: #e5484d !important; }
.btn {
    border-radius: 9px !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    transition: .18s;
}
.btn-primary, .btn-info, .btn-success {
    background: var(--cz-primary) !important;
    border-color: var(--cz-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px var(--cz-glow);
}
.btn-primary:hover, .btn-info:hover, .btn-success:hover { background: var(--cz-primary-hover) !important; border-color: var(--cz-primary-hover) !important; color: #fff !important; }
.btn-secondary, .btn-dark {
    background: #1c2735 !important;
    border-color: #2a3749 !important;
    color: #d3deeb !important;
}
.btn-secondary:hover, .btn-dark:hover { background: #263244 !important; color: #fff !important; }
.btn-danger { background: #e5484d !important; border-color: #e5484d !important; color: #fff !important; }
.btn-link { color: var(--cz-primary) !important; text-decoration: none; }
.bg-primary, .bg-label-primary { background-color: var(--cz-primary) !important; }
.text-primary { color: var(--cz-primary) !important; }
.bg-secondary { background-color: #1c2735 !important; }
.rounded-pill { border-radius: 999px !important; }
.dropdown-menu {
    background: #151f2c; border: 1px solid #263244; border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45); color: #c7d3e2; padding: 8px;
}
.dropdown-item { color: #c7d3e2; border-radius: 9px; font-size: 13px; padding: 9px 12px; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(var(--cz-primary-rgb), .12); color: #fff; }
.dropdown-divider { border-color: #263244; }
.badge { font-weight: 700; }
.progress { background: #0d1520; border-radius: 20px; }
.progress-bar { background: var(--cz-primary); }

/* livewire loading */
[wire\:loading] { opacity: .6; }

/* toasts */
.toaster, .toastify { font-family: Poppins, sans-serif; }
.masmerise-toaster, .toaster-container { z-index: 100000 !important; }
.v-toast__item, .toastify { border-radius: 10px !important; font-size: 13px !important; box-shadow: 0 16px 40px rgba(0, 0, 0, .35) !important; }

/* cookie banner */
.cz-cookie {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1070;
    max-width: 430px;
    background: #151f2c;
    border: 1px solid #263244;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.cz-cookie h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; justify-content: space-between; }
.cz-cookie p { color: #91a3b8; font-size: 12px; line-height: 1.7; margin: 0 0 12px; }
.cz-cookie p a { color: var(--cz-primary); }
.cz-cookie-actions { display: flex; gap: 8px; }
.cz-cookie-actions .cz-btn { flex: 1; height: 36px; font-size: 12px; }
.cz-cookie-x { background: none; border: 0; color: #7f92a9; cursor: pointer; }
@media (max-width: 768px) { .cz-cookie { left: 12px; right: 12px; bottom: 78px; max-width: none; } }

/* misc */
.cz-inline { display: inline-flex; align-items: center; gap: 6px; }
.cz-muted { color: #7f92a9; }
.cz-white { color: #fff; }
.cz-nowrap { white-space: nowrap; }
.cz-scroll-x { overflow-x: auto; scrollbar-width: thin; }
.cz-hidden { display: none !important; }
img { max-width: 100%; }

/* mobile spacing for fixed bottom nav + chat */
@media (max-width: 768px) {
    .main-content { padding-bottom: 24px; }
    .cz-modal-dialog { margin: 2vh auto; }
    .cz-page { padding-bottom: 82px; }
}

/* legacy mini fixes */
.custom-chat-icon {
    background: var(--cz-primary) !important;
    border: 0 !important;
    bottom: 84px;
}
.custom-chat-icon i { color: #fff !important; }
@media (min-width: 769px) { .custom-chat-icon { bottom: 24px; } }

/* --------------------------------------------------------------------------
   Footer provider strip
   -------------------------------------------------------------------------- */
.cz-provider-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}
.cz-provider-row::-webkit-scrollbar { display: none; }
.cz-provider-chip {
    flex: 0 0 auto;
    width: 140px;
    height: 62px;
    border-radius: 10px;
    background: #141e2a;
    border: 1px solid #223042;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}
.cz-provider-chip img { max-height: 44px; max-width: 100%; object-fit: contain; opacity: .85; filter: grayscale(.15); transition: .2s; }
.cz-provider-chip:hover img { opacity: 1; filter: none; }
.cz-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.cz-socials a {
    width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #1a2533; border: 1px solid #263244; color: #9fb2c7; transition: .18s;
}
.cz-socials a:hover { background: var(--cz-primary); border-color: var(--cz-primary); color: #fff; transform: translateY(-2px); }

/* header notifications */
.cz-notif { display: flex; align-items: center; }
.cz-notif > div { display: flex; }
.cz-notif .dropdown-notifications { list-style: none; margin: 0; padding: 0; }
.cz-notif .nav-link {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    color: #cdd8e6; position: relative; padding: 0;
}
.cz-notif .nav-link i { font-size: 15px !important; }
.cz-notif .nav-link:hover { color: #fff; border-color: rgba(var(--cz-primary-rgb), .5); }
.cz-notif .badge-notifications {
    position: absolute; top: 4px; right: 4px;
    font-size: 8px; min-width: 14px; height: 14px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cz-primary) !important; color: #fff;
    border-radius: 10px; box-shadow: 0 0 0 2px #161f2c;
}
.cz-notif .dropdown-menu {
    right: 0; left: auto;
    width: 330px; max-width: calc(100vw - 28px);
    padding: 0; overflow: hidden;
}
.cz-notif .dropdown-menu-header { border-color: #223041 !important; }
.cz-notif .dropdown-header { padding: 12px 14px; }
.cz-notif .dropdown-notifications-list { max-height: 380px; overflow-y: auto; }
.cz-notif .dropdown-notifications-item {
    background: transparent; border-color: #1f2a39; padding: 11px 13px;
}
.cz-notif .dropdown-notifications-item:hover { background: rgba(255,255,255,.03); }
.cz-notif .dropdown-notifications-item p { color: #dbe6f3; font-size: 12.5px; margin: 0; }
.cz-notif .dropdown-notifications-item p.small { color: #8ea0b8; font-size: 11.5px; margin-top: 2px; }
.cz-notif .avatar-initial {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: rgba(var(--cz-primary-rgb), .12); color: var(--cz-primary); border-radius: 9px;
}
.cz-notif .dropdown-menu-footer { border-color: #223041 !important; padding: 4px; }

@media (min-width: 769px) and (max-width: 1023px) {
    .main-content { margin-left: 64px; }
}

/* list group used by notifications */
.list-group-item { background: transparent; color: inherit; border-color: #1f2a39; }

/* auth helpers */
.cz-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: #5f738a;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
}
.cz-or::before, .cz-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #263244;
}
.home-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    border-radius: 9px;
    background: #1a2533;
    border: 1px solid #2a3749;
    color: #e6eef8;
    font-size: 13px;
    font-weight: 600;
    transition: .18s;
}
.home-google:hover { background: #212e3e; border-color: #3a4b60; color: #fff; }

/* FAQ (home + faq page) */
.cz-faq { display: flex; flex-direction: column; gap: 12px; }
.cz-faq-item {
    background: #131d29;
    border: 1px solid #223042;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s;
}
.cz-faq-item:hover { border-color: #2e4057; }
.cz-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 19px;
    background: none;
    border: 0;
    color: #e6eef9;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.cz-faq-ic { color: var(--cz-primary); font-size: 12px; transition: transform .25s; flex-shrink: 0; }
.cz-faq-ic.rot, .cz-chevron.rot { transform: rotate(180deg); }
.cz-faq-a { padding: 0 19px 18px; color: #94a6bb; font-size: 12.8px; line-height: 1.85; }
.cz-faq-a a { color: var(--cz-primary); }

/* live cashouts marquee */
.cz-ticker-group {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    flex: 0 0 auto;
}
.home-cashouts-ticker-track {
    animation: cz-ticker-scroll 55s linear infinite;
    will-change: transform;
}
.home-cashouts-ticker-track:hover { animation-play-state: paused; }
@keyframes cz-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-cashouts-ticker-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Bootstrap dark-theme compatibility for legacy components
   -------------------------------------------------------------------------- */
.modal-content { background: #131c28; border: 1px solid #263244; border-radius: 16px; color: #dbe6f3; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.modal-header { border-color: #223042; padding: 16px 20px; }
.modal-title { font-size: 16px; font-weight: 700; color: #fff; }
.modal-body { padding: 18px 20px; }
.modal-footer { border-color: #223042; }
.modal-backdrop.show { opacity: .7; background: #05090f; }
.btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: .55;
}
.btn-close:hover { opacity: 1; }
.form-control, .form-select {
    background-color: #101a25; border: 1px solid #263244; color: #e6eef9;
    border-radius: 9px; font-size: 13px; padding: 9px 12px;
}
.form-control::placeholder { color: #64788f; }
.form-control:focus, .form-select:focus {
    background-color: #101a25; border-color: rgba(var(--cz-primary-rgb), .65);
    color: #fff; box-shadow: 0 0 0 3px rgba(var(--cz-primary-rgb), .14);
}
.form-control:disabled, .form-control[readonly] { background-color: #0d1620; color: #8194a9; }
.form-label { color: #b9c8d9; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.input-group-text { background: #1a2533; border-color: #263244; color: #9fb2c7; }
.invalid-feedback { color: #f87171; font-size: 11px; }
.card { background: #131d29; border: 1px solid #223042; border-radius: 14px; color: #cfdbe9; }
.card-header, .card-footer { background: transparent; border-color: #223042; }
.bg-body, .bg-white, .bg-light { background-color: #141e2a !important; color: #cfdbe9; }
.bg-lighter, .bg-label-primary { background: rgba(var(--cz-primary-rgb), .14) !important; color: var(--cz-primary) !important; }
.bg-label-danger { background: rgba(248, 113, 113, .14) !important; color: #f87171 !important; }
.bg-label-success { background: rgba(52, 211, 153, .14) !important; color: #34d399 !important; }
.bg-label-warning { background: rgba(251, 191, 36, .14) !important; color: #fbbf24 !important; }
.bg-label-info { background: rgba(96, 165, 250, .14) !important; color: #60a5fa !important; }
.nav-pills .nav-link { color: #9fb2c7; border-radius: 10px; }
.nav-pills .nav-link.active { background: var(--cz-primary) !important; color: #fff !important; }
.text-secondary { color: #8ea0b8 !important; }
.text-body { color: #cfdbe9 !important; }
.bg-dark { background-color: #0d131c !important; }
.table { color: #cfdbe9; --bs-table-bg: transparent; }
.table > :not(caption) > * > * { border-color: #223042; background: transparent; }
.alert-secondary { background: #1a2533; border-color: #263244; color: #c7d3e2; }
.list-group-item { background: transparent; border-color: #223042; color: #cfdbe9; }
.badge.bg-secondary { background: #263244 !important; }
.spinner-border { color: var(--cz-primary); }
.nav-tabs { border-color: #223042; }
.nav-tabs .nav-link { color: #9fb2c7; border: 0; }
.nav-tabs .nav-link.active { color: #fff; background: transparent; border-bottom: 2px solid var(--cz-primary); }
.pagination { --bs-pagination-bg: #131d29; --bs-pagination-border-color: #263244; --bs-pagination-color: #a9b9cb; --bs-pagination-hover-bg: #1c2735; --bs-pagination-hover-color: #fff; --bs-pagination-hover-border-color: #2e4057; }
.page-link { background: #131d29; border-color: #263244; color: #a9b9cb; }
.page-item.active .page-link { background: var(--cz-primary); border-color: var(--cz-primary); color: #fff; }

/* legacy complete-profile avatar picker */
.avatar-container { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.avatar-item {
    width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    cursor: pointer; border: 2px solid #263244; background: #0f1721;
    transition: .18s; display: flex; align-items: center; justify-content: center;
}
.avatar-item img { width: 100%; height: 100%; object-fit: cover; }
.avatar-item:hover { border-color: rgba(var(--cz-primary-rgb), .6); transform: translateY(-2px); }
.avatar-item.selected { border-color: var(--cz-primary); box-shadow: 0 0 0 3px rgba(var(--cz-primary-rgb), .22); }

/* offer card extras */
.cz-offer-devices {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    display: flex; gap: 5px;
    background: rgba(7, 12, 18, .72);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 7px; padding: 3px 6px;
    color: #cbd8e6; font-size: 10px;
}
.cz-offer-go { color: #7f92a9; font-size: 10.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.cz-offer-card:hover .cz-offer-go { color: var(--cz-primary); }
.cz-pagination { display: flex; justify-content: center; margin-top: 20px; }
.cz-pagination nav { width: 100%; }
.skeleton {
    background: linear-gradient(90deg, #16202d 25%, #1d2a3a 37%, #16202d 63%);
    background-size: 400% 100%;
    animation: cz-skeleton 1.3s ease infinite;
    border-radius: 6px;
}
@keyframes cz-skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skeleton-text { height: 10px; margin: 8px 0; width: 85%; }
.cz-offer-img.skeleton { height: 130px; }

/* page/panel heading helpers used by redesigned pages */
.cz-page-head h1 { color: #fff; font-size: 25px; line-height: 1.15; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.cz-page-head p { color: #8ea0b8; font-size: 13px; margin: 7px 0 0; max-width: 640px; line-height: 1.7; }
.cz-panel-head h3 { color: #eef5ff; font-size: 15px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 9px; }
.cz-panel-head h3 i { color: var(--cz-primary); font-size: 14px; }
.cz-panel-body { position: relative; }
.cz-link { color: var(--cz-primary); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cz-link:hover { color: #fff; }
.cz-balance-static { cursor: default; }
.cz-balance-static span { color: #7f92a9; font-size: 11px; font-weight: 500; }

.cz-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.cz-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.cz-search > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #6f8299; font-size: 12px; }
.cz-search .cz-input { padding-left: 36px; }
.cz-filters .cz-dropdown { position: relative; }
.cz-filters .cz-select {
    width: auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #101a25;
    color: #cfdbe9;
    font-size: 12.5px;
    padding: 0 13px;
}
.cz-filters .cz-select i.fa-chevron-down { margin-left: 4px; font-size: 9px; color: #7f92a9; }
.cz-filters .cz-dropdown-menu { top: calc(100% + 6px); left: 0; z-index: 50; }

/* redesigned cashout cards */
.cz-cashout-card {
    background: #16202d;
    border: 1px solid #243042;
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
    gap: 9px;
    padding: 13px;
    text-align: left;
    font-weight: 500;
}
.cz-cashout-card::before { display: none; }
.cz-cashout-card:hover { border-color: rgba(var(--cz-primary-rgb), .55); filter: none; }
.cz-cashout-logo {
    height: 58px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 9px; margin-bottom: 2px;
}
.cz-cashout-logo img { max-height: 38px; max-width: 100%; object-fit: contain; }
.cz-cashout-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cz-cashout-name { color: #edf4ff; font-size: 12.5px; font-weight: 600; }
.cz-cashout-cta { color: #7f92a9; font-size: 10.5px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.cz-cashout-card:hover .cz-cashout-cta { color: var(--cz-primary); }

.cz-stats-row { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 12px; }
@media (min-width: 640px) { .cz-stats-row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.cz-stat-mini {
    display: flex; align-items: center; gap: 12px;
    background: #141e2a; border: 1px solid #243042; border-radius: 12px; padding: 14px 16px;
}
.cz-stat-mini > i {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--cz-primary-rgb), .12); color: var(--cz-primary);
}
.cz-stat-mini strong { display: block; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; }
.cz-stat-mini span { color: #7f92a9; font-size: 11px; }

/* leaderboard */
.cz-page-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.cz-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #141e2a; border: 1px solid #243042; border-radius: 10px;
    padding: 9px 13px; color: #a9b9cb; font-size: 12px;
}
.cz-pill i { color: var(--cz-primary); }
.cz-podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 8px 0 24px; }
.cz-podium-card {
    background: #141e2a; border: 1px solid #243042; border-radius: 16px;
    width: 190px; padding: 18px 16px; text-align: center; position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.cz-podium-card.rank-1 {
    border-color: rgba(var(--cz-primary-rgb), .55);
    box-shadow: 0 20px 50px rgba(var(--cz-primary-rgb), .14);
    transform: translateY(-14px);
    background: linear-gradient(180deg, rgba(var(--cz-primary-rgb), .12), #141e2a 55%);
}
.cz-podium-place {
    position: absolute; top: 10px; right: 12px;
    color: var(--cz-primary); font-weight: 800; font-size: 13px;
}
.cz-podium-card.rank-1 .cz-podium-place i { font-size: 20px; color: #fbbf24; filter: drop-shadow(0 2px 6px rgba(251,191,36,.4)); }
.cz-podium-avatar {
    width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
    border: 2px solid #2a3749; margin-bottom: 4px; background: #0f1721;
}
.cz-podium-card.rank-1 .cz-podium-avatar { width: 88px; height: 88px; border-color: var(--cz-primary); box-shadow: 0 0 0 4px rgba(var(--cz-primary-rgb), .14); }
.cz-podium-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cz-podium-card strong { color: #fff; font-size: 14px; font-weight: 700; }
.cz-podium-points { color: var(--cz-primary); font-size: 12.5px; font-weight: 700; }
.cz-podium-prize { color: #8497ac; font-size: 10.5px; display: flex; align-items: center; gap: 5px; }
.cz-podium-prize i { color: #fbbf24; }

.cz-table-wrap { overflow-x: auto; }
.cz-table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.cz-table th {
    text-align: left; color: #7f92a9; font-size: 10.5px; text-transform: uppercase;
    letter-spacing: .07em; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid #243042;
}
.cz-table td { padding: 11px 12px; border-bottom: 1px solid #1d2836; color: #b9c8d9; }
.cz-table tr:last-child td { border-bottom: 0; }
.cz-table tbody tr:hover { background: rgba(255,255,255,.02); }
.cz-table .cz-td-primary { color: var(--cz-primary); font-weight: 700; }
.cz-rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: #1c2735; color: #9fb2c7; font-size: 11px; font-weight: 700;
}
.cz-rank-badge.rank-1 { background: rgba(251,191,36,.15); color: #fbbf24; }
.cz-rank-badge.rank-2 { background: rgba(203,213,225,.14); color: #cbd5e1; }
.cz-rank-badge.rank-3 { background: rgba(217,119,6,.16); color: #f59e0b; }
.cz-user-cell {
    display: inline-flex; align-items: center; gap: 9px;
    background: none; border: 0; color: #e2ebf6; font-size: 12.5px; cursor: pointer; padding: 0;
    font-family: inherit;
}
.cz-user-cell img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid #2a3749; }
.cz-user-cell:hover { color: var(--cz-primary); }
.cz-prize { display: inline-flex; align-items: center; gap: 5px; color: #dbe6f4; font-weight: 600; }
.cz-prize i { color: var(--cz-primary); font-size: 11px; }

/* streak rewards */
.cz-streak-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (min-width: 640px) { .cz-streak-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 900px) { .cz-streak-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1150px) { .cz-streak-grid { grid-template-columns: repeat(7, minmax(0,1fr)); } }
.cz-streak-card {
    background: #16202d; border: 1px solid #243042; border-radius: 13px;
    padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-align: center; transition: .18s;
}
.cz-streak-card.is-active { border-color: rgba(var(--cz-primary-rgb), .55); box-shadow: 0 12px 30px rgba(var(--cz-primary-rgb), .1); }
.cz-streak-card.is-claimed { opacity: .65; }
.cz-streak-day { color: #8ea0b8; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cz-streak-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(var(--cz-primary-rgb), .12); color: var(--cz-primary);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cz-streak-card.is-claimed .cz-streak-icon { background: rgba(34,197,94,.14); color: #4ade80; }
.cz-streak-points { color: #fff; font-size: 14px; font-weight: 700; }
.cz-streak-points small { color: #7f92a9; font-size: 9.5px; font-weight: 500; }

/* referral box */
.cz-referral-box { display: flex; gap: 10px; flex-wrap: wrap; }
.cz-referral-link {
    flex: 1 1 320px; display: flex; align-items: center; gap: 10px;
    background: #0e1621; border: 1px solid #2a3749; border-radius: 10px; padding: 0 14px;
}
.cz-referral-link i { color: var(--cz-primary); font-size: 13px; }
.cz-referral-link input {
    flex: 1; background: none; border: 0; outline: none; color: #e6eef9;
    font-size: 13px; height: 44px; font-family: inherit;
}
.cz-share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; color: #7f92a9; font-size: 11.5px; }
.cz-share {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
    border-radius: 8px; font-size: 11.5px; font-weight: 600; color: #fff;
    background: #1a2533; border: 1px solid #263244; transition: .18s;
}
.cz-share:hover { color: #fff; transform: translateY(-1px); }
.cz-share.wa:hover { background: #25d366; border-color: #25d366; }
.cz-share.tg:hover { background: #229ed9; border-color: #229ed9; }
.cz-share.fb:hover { background: #1877f2; border-color: #1877f2; }
.cz-share.tw:hover { background: #111; border-color: #444; }

.cz-steps { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 14px; }
@media (min-width: 800px) { .cz-steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.cz-step { background: #16202d; border: 1px solid #243042; border-radius: 12px; padding: 18px; }
.cz-step span {
    width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
    background: rgba(var(--cz-primary-rgb), .12); color: var(--cz-primary); font-weight: 700; font-size: 13px; margin-bottom: 10px;
}
.cz-step h4 { color: #eef5ff; font-size: 13.5px; font-weight: 700; margin: 0 0 6px; }
.cz-step p { color: #8ea0b8; font-size: 12px; line-height: 1.7; margin: 0; }
.cz-ticket-subject { color: #e2ebf6; font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 8px; }
.cz-ticket-subject i { color: var(--cz-primary); }
.cz-ticket-subject:hover { color: var(--cz-primary); }

/* legal + contact details */
.card h2 { color: #eef5ff; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.card .small, .card p { color: #93a6bb; font-size: 12.5px; line-height: 1.85; }
.card .small strong, .card p strong { color: #dbe6f4; }
.card ul.small { color: #93a6bb; }
.cz-contact-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #1e2a39; }
.cz-contact-row:last-child { border-bottom: 0; }
.cz-contact-row > i { width: 34px; height: 34px; border-radius: 9px; background: rgba(var(--cz-primary-rgb), .1); color: var(--cz-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.cz-contact-row strong { display: block; color: #e2ebf6; font-size: 12px; font-weight: 600; }
.cz-contact-row a, .cz-contact-row span { color: #8ea0b8; font-size: 12px; }
.cz-contact-row a:hover { color: var(--cz-primary); }

/* profile */
.progress-circle {
    width: 108px; height: 108px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 4px;
}
.progress-circle img { border-radius: 50%; object-fit: cover; width: 96px !important; height: 96px; }
.badge[class*="bg-label-"] { background: rgba(var(--cz-primary-rgb), .12) !important; color: var(--cz-primary) !important; }
.bg-label-danger { background: rgba(239,68,68,.14) !important; color: #f87171 !important; }
.bg-label-warning { background: rgba(245,158,11,.14) !important; color: #fbbf24 !important; }
.bg-label-success { background: rgba(34,197,94,.14) !important; color: #4ade80 !important; }
.bg-label-secondary { background: rgba(148,163,184,.14) !important; color: #cbd5e1 !important; }
.switch { display: inline-flex; align-items: center; }
.switch-input { display: none; }
.switch-toggle-slider {
    width: 38px; height: 20px; border-radius: 20px; background: #263244;
    display: inline-block; position: relative; transition: .2s;
}
.switch-toggle-slider::after {
    content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px;
    border-radius: 50%; background: #8ea0b8; transition: .2s;
}
.switch-input:checked + .switch-toggle-slider { background: var(--cz-primary); }
.switch-input:checked + .switch-toggle-slider::after { left: 21px; background: #fff; }

/* --------------------------------------------------------------------------
   Earn page (earnwinz layout: live strip + promo banners + wall tabs)
   -------------------------------------------------------------------------- */
.cz-live-bar {
    background: #0e151d;
    border-bottom: 1px solid #1d2836;
    overflow: hidden;
}
.cz-live-scroll {
    display: flex;
    gap: 6px;
    padding: 7px 14px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cz-live-scroll::-webkit-scrollbar { display: none; }
.cz-live-tile {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 4px 12px 4px 4px;
    border-radius: 9px;
    background: #131c27;
    border: 1px solid #1e2a39;
    min-width: 150px;
}
.cz-live-tile img {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
    border: 1px solid #2b3a4d; flex: 0 0 auto;
}
.cz-live-meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.cz-live-meta strong {
    color: #e8f1fa; font-size: 11px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 78px;
}
.cz-live-meta span {
    color: #7d90a6; font-size: 9.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 78px;
}
.cz-live-tile b {
    color: #e8f1fa; font-size: 11px; font-weight: 700; margin-left: auto;
    background: #1d2937; border: 1px solid #2a3a4d; padding: 2px 7px; border-radius: 6px;
}

.cz-promos { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cz-promo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(90deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 6px 18px rgba(190, 18, 60, .18);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}
.cz-promo:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(190, 18, 60, .28); color: #fff; }
.cz-promo-icon {
    width: 26px; height: 26px; border-radius: 6px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .18); font-size: 13px;
}
.cz-promo-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cz-promo-text strong { font-size: 14.5px; font-weight: 700; letter-spacing: .1px; }
.cz-promo-text small { font-size: 11.5px; color: rgba(255, 255, 255, .82); }
.cz-promo-caret { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .75); }
.cz-promo-check {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 6px;
    background: rgba(0, 0, 0, .22); color: #fff;
}

.cz-walls-title {
    display: flex; align-items: center; gap: 8px;
    color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 12px;
}
.cz-walls-title i { color: #8ea0b8; font-size: 14px; }
.cz-wall-tabs { display: flex; gap: 9px; margin-bottom: 16px; }
.cz-wall-tab {
    border: 1px solid #24303f; background: #16202b; color: #b9c8d9;
    font-size: 12.5px; font-weight: 600; padding: 7px 17px; border-radius: 999px;
    cursor: pointer; transition: .18s;
}
.cz-wall-tab:hover { color: #fff; border-color: #33445a; }
.cz-wall-tab.active {
    color: #1b1206; border-color: transparent;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 6px 16px rgba(245, 158, 11, .28);
}

.cz-wall-grid-earn { gap: 13px; }
.cz-wall-card-earn {
    min-height: 132px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 10px 14px;
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--wall-rgb), .12), transparent 68%),
        #101820;
    border: 1px solid rgba(var(--wall-rgb), .34);
    border-radius: 9px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.cz-wall-card-earn:hover {
    border-color: rgba(var(--wall-rgb), .8);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35), 0 0 0 1px rgba(var(--wall-rgb), .22);
}
.cz-wall-card-earn .cz-wall-logo {
    height: 52px; width: 100%; padding: 0 6px;
    background: transparent; border: 0;
}
.cz-wall-card-earn .cz-wall-logo img {
    max-height: 46px; max-width: 100%;
    filter: none;
}
.cz-wall-card-earn .cz-wall-name {
    color: #e9f1fb; font-size: 12px; font-weight: 600; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.cz-wall-stars { display: flex; gap: 2px; color: #f59e0b; font-size: 8.5px; }
.cz-wall-card-earn.is-locked { opacity: .55; }
.cz-wall-card-earn .cz-wall-lock { background: rgba(8, 13, 20, .82); }
.is-locked { cursor: not-allowed; }

@media (max-width: 640px) {
    .cz-promo { padding: 11px 13px; gap: 10px; }
    .cz-promo-text strong { font-size: 13px; }
    .cz-promo-text small { font-size: 10.5px; }
    .cz-promo-check { display: none; }
    .cz-live-tile { min-width: 138px; }
}

/* --------------------------------------------------------------------------
   Full theme coverage (keeps every legacy component on the chosen theme color)
   -------------------------------------------------------------------------- */
:root {
    --bs-primary: var(--cz-primary);
    --bs-primary-rgb: var(--cz-primary-rgb);
    --bs-link-color: var(--cz-primary);
    --bs-link-color-rgb: var(--cz-primary-rgb);
    --bs-link-hover-color: var(--cz-primary-hover);
    --bs-link-hover-color-rgb: var(--cz-primary-rgb);
}
a { color: var(--cz-primary); }
a:hover { color: var(--cz-primary-hover); }
.link-primary, .text-app, .text-green { color: var(--cz-primary) !important; }
.border-primary, .border-green { border-color: var(--cz-primary) !important; }
.bg-app-sec, .toast-success-m, .swiper-button-next, .swiper-button-prev,
.csm-tier-badge, .csm-tier-box .csm-tier-badge { background-color: var(--cz-primary) !important; }
.form-check-input:checked,
.form-check-input:focus { background-color: var(--cz-primary) !important; border-color: var(--cz-primary) !important; }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(var(--cz-primary-rgb), .2) !important; }
.form-range::-webkit-slider-thumb { background: var(--cz-primary); }
.progress-bar, .progress-bar.bg-primary { background-color: var(--cz-primary) !important; }
.spinner-border.text-primary { color: var(--cz-primary) !important; }
.dropdown-item.active, .dropdown-item:active { background: var(--cz-primary) !important; color: #fff !important; }
.nav-link.active, .nav-link:hover { color: var(--cz-primary); }
.missions-card:hover,
.csm-tier-box.csm-active,
.csm-streak-day.is-current,
.csm-streak-day.is-claimable { border-color: var(--cz-primary) !important; }
.csm-tier-progress span,
.rewards-mini-progress span,
.csm-progress-bar span,
.home-google:hover { background: linear-gradient(90deg, var(--cz-grad-start), var(--cz-grad-end)) !important; }
.toast-success-m { color: #fff !important; }
.cz-wall-tab.active { background: linear-gradient(90deg, var(--cz-grad-start), var(--cz-grad-end)); color: #1b1206; }
.cz-wall-stars { color: var(--cz-primary); }
.cz-wall-card-earn:hover { border-color: rgba(var(--cz-wall-rgb, var(--cz-primary-rgb)), .85); }
.is-sidebar-open .sidebar-panel { border-right-color: rgba(var(--cz-primary-rgb), .3); }
.csm_b_nav_active, .csm-bottom-nav ul li a.csm_b_nav_active { color: var(--cz-primary) !important; }

/* --------------------------------------------------------------------------
   Earn page featured rows (earnwinz style horizontal scrollers)
   -------------------------------------------------------------------------- */
.cz-featured { margin-bottom: 22px; }
.cz-featured-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}
.cz-featured-head h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.cz-featured-head h2 i { color: var(--cz-primary); font-size: 13px; }
.cz-featured-nav { display: flex; gap: 7px; }
.cz-featured-nav button {
    height: 28px; width: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    border: 1px solid #263244;
    background: #16202b;
    color: #9fb2c7;
    font-size: 11px;
    cursor: pointer;
    transition: .18s;
}
.cz-featured-nav button:hover { color: #fff; border-color: rgba(var(--cz-primary-rgb), .55); background: rgba(var(--cz-primary-rgb), .12); }

.cz-featured-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.cz-featured-row::-webkit-scrollbar { display: none; }

.cz-fo-card {
    flex: 0 0 auto;
    width: 116px;
    background: #131c2e;
    border: 1px solid #243049;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s, transform .18s;
}
.cz-fo-card:hover { border-color: var(--cz-primary); transform: translateY(-2px); }
.cz-fo-card:active { transform: scale(.98); }

.cz-fo-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0f1726;
    overflow: hidden;
}
.cz-fo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-fo-img::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 62%;
    background: linear-gradient(to top, rgba(8, 12, 22, .94), rgba(8, 12, 22, 0));
    pointer-events: none;
}
.cz-fo-type {
    position: absolute;
    top: 6px; left: 6px;
    z-index: 2;
    font-size: 8.5px;
    font-weight: 700;
    color: #0b1220;
    background: var(--cz-primary);
    border-radius: 6px;
    padding: 1px 6px;
    text-transform: capitalize;
}
.cz-fo-title {
    position: absolute;
    left: 7px; right: 7px; bottom: 6px;
    z-index: 2;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cz-fo-pts {
    padding: 7px 6px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.cz-fo-pts i { color: var(--cz-primary); font-size: 11px; margin-right: 4px; }

@media (min-width: 768px) {
    .cz-fo-card { width: 128px; }
}

/* --------------------------------------------------------------------------
   Sidebar offset (content must never sit under the fixed sidebar)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    body.is-sidebar-open .main-content { margin-left: var(--sidebar-panel-width, 225px); }
    body:not(.is-sidebar-open) .main-content { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.cz-blog-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.cz-blog-search {
    display: flex; align-items: center; gap: 9px; padding: 0 12px;
    height: 38px; border-radius: 10px; background: #111b26;
    border: 1px solid #223142; color: #6f8399; min-width: 220px;
}
.cz-blog-search:focus-within { border-color: rgba(var(--cz-primary-rgb), .55); }
.cz-blog-search i { font-size: 12px; }
.cz-blog-search input {
    border: 0; background: transparent; outline: none; color: #e6efff;
    font-size: 12.5px; width: 100%;
}
.cz-blog-search input::placeholder { color: #5f7389; }

.cz-blog-lead {
    display: grid; grid-template-columns: 300px 1fr; gap: 0;
    background: #111b26; border: 1px solid #1e2c3c; border-radius: 16px;
    overflow: hidden; text-decoration: none; margin-bottom: 16px;
    transition: border-color .18s, transform .18s;
}
.cz-blog-lead:hover { border-color: rgba(var(--cz-primary-rgb), .5); transform: translateY(-2px); }
.cz-blog-lead-thumb { position: relative; min-height: 200px; background: #0d1620; }
.cz-blog-lead-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.cz-blog-lead-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.cz-blog-lead-body h2 { font-size: 21px; font-weight: 700; color: #f2f7ff; line-height: 1.35; margin: 0; }
.cz-blog-lead-body p { font-size: 13px; color: #93a5bb; line-height: 1.6; margin: 0; }
.cz-blog-more { margin-left: auto; color: var(--cz-primary); font-weight: 600; }

.cz-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cz-blog-card {
    display: flex; flex-direction: column; text-decoration: none;
    background: #111b26; border: 1px solid #1e2c3c; border-radius: 16px;
    overflow: hidden; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.cz-blog-card:hover {
    border-color: rgba(var(--cz-primary-rgb), .5); transform: translateY(-3px);
    box-shadow: 0 16px 34px -22px rgba(var(--cz-primary-rgb), .65);
}
.cz-blog-thumb { position: relative; aspect-ratio: 16 / 9; background: #0d1620; overflow: hidden; }
.cz-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.cz-blog-card:hover .cz-blog-thumb img { transform: scale(1.05); }
.cz-blog-tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--cz-primary); color: #0a1018;
    font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 999px;
}
.cz-blog-tag-static { position: static; display: inline-block; }
.cz-blog-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cz-blog-title { font-size: 14px; font-weight: 700; color: #eaf2ff; line-height: 1.42; margin: 0; }
.cz-blog-excerpt { font-size: 12px; color: #8ea0b8; line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-blog-meta {
    margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 14px;
    font-size: 11px; color: #6c8098; flex-wrap: wrap;
}
.cz-blog-meta i { font-size: 10.5px; margin-right: 4px; }
.cz-blog-empty { text-align: center; padding: 46px 20px; }
.cz-blog-empty i { font-size: 26px; color: #3c5064; }
.cz-blog-empty h3 { font-size: 15px; font-weight: 700; color: #e6efff; margin: 12px 0 4px; }
.cz-blog-empty p { font-size: 12.5px; color: #8ea0b8; margin: 0; }

.cz-blog-cta {
    margin-top: 20px; display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; padding: 20px 22px; border-radius: 16px;
    border: 1px solid rgba(var(--cz-primary-rgb), .28);
    background: linear-gradient(120deg, rgba(var(--cz-primary-rgb), .12), #111b26 62%);
}
.cz-blog-cta h3 { font-size: 16px; font-weight: 700; color: #f2f7ff; margin: 0 0 4px; }
.cz-blog-cta p { font-size: 12.5px; color: #93a5bb; margin: 0; }

/* Post detail */
.cz-post-crumbs {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 11.5px; color: #6f8399; margin-bottom: 14px;
}
.cz-post-crumbs a { color: #93a5bb; text-decoration: none; }
.cz-post-crumbs a:hover { color: var(--cz-primary); }
.cz-post-crumbs i { font-size: 9px; }
.cz-post { background: #111b26; border: 1px solid #1e2c3c; border-radius: 18px; overflow: hidden; }
.cz-post-head { padding: 24px 26px 18px; display: flex; flex-direction: column; gap: 12px; }
.cz-post-head h1 { font-size: 26px; line-height: 1.32; font-weight: 800; color: #f4f8ff; margin: 0; letter-spacing: -.2px; }
.cz-post-excerpt { font-size: 13.5px; color: #93a5bb; line-height: 1.65; margin: 0; }
.cz-post-meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: #7d92a8; flex-wrap: wrap; }
.cz-post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #3f5468; }
.cz-post-avatar {
    width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--cz-primary-rgb), .14); color: var(--cz-primary); font-size: 11px;
}
.cz-post-cover { aspect-ratio: 16 / 8; background: #0d1620; overflow: hidden; }
.cz-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-post-body { padding: 22px 26px 26px; max-width: 860px; }
.cz-post-body h2 { font-size: 16px; font-weight: 700; color: #f0f6ff; margin: 20px 0 8px; }
.cz-post-body h2:first-child { margin-top: 0; }
.cz-post-body p { font-size: 13.5px; line-height: 1.78; color: #a9bacd; margin: 0 0 12px; }
.cz-post-body ul { margin: 0 0 14px; padding-left: 18px; }
.cz-post-body li { font-size: 13.5px; line-height: 1.75; color: #a9bacd; margin-bottom: 6px; }
.cz-post-body li::marker { color: var(--cz-primary); }
.cz-post-share {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid #1e2c3c;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #8298ae;
}
.cz-post-share span { margin-right: 4px; }
.cz-post-share a {
    width: 32px; height: 32px; border-radius: 9px; display: inline-flex;
    align-items: center; justify-content: center; background: #16212d;
    border: 1px solid #223142; color: #b9c9db; text-decoration: none;
}
.cz-post-share a:hover { color: var(--cz-primary); border-color: rgba(var(--cz-primary-rgb), .5); }
.cz-post-copy {
    margin-left: auto; height: 32px; padding: 0 12px; border-radius: 9px; cursor: pointer;
    background: #16212d; border: 1px solid #223142; color: #b9c9db; font-size: 11.5px;
}
.cz-post-copy:hover { color: var(--cz-primary); border-color: rgba(var(--cz-primary-rgb), .5); }

@media (max-width: 1023px) {
    .cz-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cz-blog-lead { grid-template-columns: 1fr; }
    .cz-blog-lead-thumb { min-height: 0; aspect-ratio: 16 / 9; }
    .cz-post-head h1 { font-size: 21px; }
    .cz-post-body { padding: 18px 18px 22px; }
    .cz-post-head { padding: 20px 18px 16px; }
}
@media (max-width: 640px) {
    .cz-blog-grid { grid-template-columns: 1fr; }
    .cz-blog-toolbar { flex-direction: column; align-items: stretch; }
    .cz-blog-search { width: 100%; }
}

/* blog detail refinements */
.cz-blog-tag-static { align-self: flex-start; }
.cz-post-cover { aspect-ratio: 16 / 7; max-height: 380px; }
.cz-post-cover img { max-height: 380px; object-position: center 30%; }
.cz-post-body ul { list-style: disc; }
.cz-post-body ul li { padding-left: 2px; }

/* blog cover: full width with fixed height */
.cz-post-cover { aspect-ratio: auto; height: 360px; max-height: none; }
.cz-post-cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 32%; }
@media (max-width: 640px) { .cz-post-cover { height: 210px; } }

/* --------------------------------------------------------------------------
   Offerwall / partner modal — centered, full-height viewer
   -------------------------------------------------------------------------- */
.cz-wall-modal {
    padding: 0 !important;
    background: rgba(3, 7, 12, .82) !important;
    backdrop-filter: blur(6px);
}
.cz-wall-modal .modal-dialog,
.cz-wall-modal .modal-dialog.modal-lg,
.cz-wall-modal .modal-dialog.modal-xl {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 28px auto;
    height: calc(100vh - 56px);
}
.cz-wall-modal .modal-dialog-centered { display: flex; align-items: center; }
.cz-wall-modal .modal-content {
    display: flex; flex-direction: column;
    width: 100%; height: 100%;
    border-radius: 16px; overflow: hidden;
    background: #101a24; border: 1px solid #223142;
    box-shadow: 0 40px 90px -30px #000;
}
.cz-wall-modal .modal-header {
    flex: 0 0 auto; padding: 11px 14px;
    background: #0d1620; border-bottom: 1px solid #1e2c3c;
}
.cz-wall-modal .modal-title {
    color: #eef5ff; font-size: 15px; font-weight: 700;
    text-decoration: none; gap: 6px;
}
.cz-wall-modal .modal-title:hover { color: var(--cz-primary); }
.cz-wall-modal .modal-title svg { opacity: .75; }
.cz-wall-close {
    width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: #16212d; border: 1px solid #24344a; color: #b9c9db; font-size: 14px;
}
.cz-wall-close:hover { background: #1d2c3b; color: #fff; border-color: rgba(var(--cz-primary-rgb), .5); }
.cz-wall-modal .modal-body {
    flex: 1 1 auto; min-height: 0; padding: 0; position: relative;
    display: flex; flex-direction: column;
}
.cz-wall-spinner {
    position: absolute; inset: 0; z-index: 3;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; background: #101a24;
}
.cz-wall-spinner-text { font-size: 12.5px; color: #8ea0b8; }
#iframeOffer { flex: 1 1 auto; min-height: 0; display: flex; }
#iframeOffer iframe {
    width: 100%; height: 100%; border: 0; display: block;
    background: #0b141d; transition: opacity .2s;
}
.cz-wall-error {
    margin: auto; text-align: center; color: #93a5bb;
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px;
}
.cz-wall-error i { font-size: 24px; color: #3f5468; }
.cz-wall-error p { margin: 0; font-size: 13px; }

@media (max-width: 767px) {
    .cz-wall-modal .modal-dialog { width: 100%; height: 100vh; margin: 0; max-width: 100%; }
    .cz-wall-modal .modal-content { border-radius: 0; border: 0; height: 100%; }
}

/* Partner modal: compact centered window (earnwinz style) */
.cz-wall-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.cz-wall-modal .modal-dialog,
.cz-wall-modal .modal-dialog.modal-lg,
.cz-wall-modal .modal-dialog.modal-xl {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    height: min(74vh, 700px);
    margin: 0 auto;
    display: block;
}
@media (max-width: 767px) {
    .cz-wall-modal .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        max-width: 100%;
    }
}
