/* =========================
   SECTION
========================= */

/* =========================================
   COMMISSION SECTION FONT - POPPINS
========================================= */
.cf-section,
.cf-section *,
.cf-section *::before,
.cf-section *::after {
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}


.cf-section {
    padding: 90px 0 70px;
    background: #f4f7fb;
    position: relative;
    overflow: hidden;
}

.cf-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* =========================
   HEADER
========================= */
.cf-header {
    text-align: center;
    margin-bottom: 44px;
}

.cf-title {
    margin: 0;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #122b72;
}

.cf-title span {
    color: #22c98c;
}

.cf-subtitle {
    margin: 18px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #6f7e91;
}

/* =========================
   FLOW STEPS - WEB / DESKTOP
========================= */
.cf-steps {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr 56px 1fr 56px 1fr;
    align-items: start;
    gap: 0;
    margin: 0 auto 72px;
    max-width: 1180px;
}

.cf-step {
    text-align: center;
    min-width: 0;
}

.cf-step-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(31, 57, 92, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-step-icon::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -8px;
    height: 10px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, #79d4ff 0%, #83e0cf 100%);
    z-index: -1;
    opacity: 0.95;
}

.cf-step-icon img {
    max-width: 68px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cf-step-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #152844;
}

.cf-step-title .highlight {
    color: #25c55a;
}

.cf-step-arrow {
    align-self: start;
    justify-self: center;
    width: 38px;
    height: 38px;
    margin-top: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(23, 44, 72, 0.08);
    font-size: 0;
    line-height: 1;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cf-step-arrow::before {
    content: "-";
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    color: #152844;
    display: block;
    margin-top: -2px;
}

/* connector between PAYMENT FEE and NET PROFIT */
.cf-steps > .cf-step-arrow:nth-child(8)::before {
    content: "=";
    font-size: 23px;
    margin-top: -1px;
}

/* last connector before affiliate */
.cf-steps > .cf-step-arrow:nth-child(10) {
    width: 42px;
    height: 38px;
    background: transparent;
    box-shadow: none;
}

.cf-steps > .cf-step-arrow:nth-child(10)::before {
    content: "»";
    font-size: 38px;
    font-weight: 700;
    color: #67d6b5;
    margin-top: -5px;
}

/* =========================
   MAIN TABLE BOX
========================= */
.cf-main-table {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    border-radius: 34px;
    box-shadow: 0 20px 55px rgba(22, 42, 74, 0.09);
    padding: 84px 22px 26px;
    overflow: visible;
}

.cf-table {
    position: relative;
}

/* =========================
   BIG RIBBON
========================= */
.cf-ribbon {
    position: absolute;
    top: -42px;
    left: 18px;
    width: 910px;
    z-index: 4;
    pointer-events: none;
}

.cf-ribbon img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   BADGE
========================= */
.cf-badge {
    position: absolute;
    top: -26px;
    left: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
}

.cf-badge-icon {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5fd0ff 0%, #1f6ee7 55%, #1f54c8 100%);
    box-shadow: 0 12px 28px rgba(25, 71, 139, 0.24);
    border: 8px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-badge-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.cf-badge-title {
    display: none;
}

/* =========================
   TABLE HEADER
========================= */
.cf-table-head {
    display: grid;
    grid-template-columns: 1.12fr 1fr 1fr;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.cf-table-head .cf-col {
    padding: 24px 20px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.22);
}

.cf-table-head .cf-col:last-child {
    border-right: none;
}

.cf-table-head .cf-col:nth-child(1) {
    background: linear-gradient(90deg, #1d63cf 0%, #1f9fe0 100%);
}

.cf-table-head .cf-col:nth-child(2) {
    background: linear-gradient(90deg, #14b5bc 0%, #23c1a0 100%);
}

.cf-table-head .cf-col:nth-child(3) {
    background: linear-gradient(90deg, #5ec94b 0%, #82db4f 100%);
}

.cf-table-head .cf-col span {
    display: inline;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.96;
}

/* =========================
   TABLE BODY
========================= */
.cf-table-body {
    background: #fff;
    border-radius: 0 0 22px 22px;
    position: relative;
    z-index: 2;
}

.cf-row {
    display: grid;
    grid-template-columns: 1.12fr 1fr 1fr;
    min-height: 132px;
    border-bottom: 1px solid #e8edf3;
}

.cf-row:last-child {
    border-bottom: none;
}

.cf-row .cf-col {
    padding: 28px 20px;
    border-right: 1px solid #e8edf3;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cf-row .cf-col:last-child {
    border-right: none;
}

.cf-row .cf-col:first-child {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
    padding-left: 86px;
}

.cf-row .cf-col:first-child img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.cf-row .cf-col:first-child span {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #334861;
}

.cf-row .cf-col strong {
    display: block;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 800;
    color: #15304e;
    margin-bottom: 8px;
}

.cf-row .cf-col p {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #78879a;
}

.cf-row .cf-col .green {
    color: #21c14e;
}

/* =========================
   SIDE IMAGE
========================= */
.cf-side-img {
    position: absolute;
    right: -94px;
    bottom: -45px;
    width: 250px;
    z-index: 3;
    pointer-events: none;
}

.cf-side-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   BOTTOM BLOCKS
========================= */
.cf-bottom {
    margin-top: 34px;
    background: #edf8f4;
    border-radius: 999px;
    padding: 24px 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 30px;
}

.cf-bottom-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.cf-bottom-item + .cf-bottom-item {
    border-left: 1px solid rgba(28, 45, 68, 0.14);
    padding-left: 32px;
}

.cf-bottom-item img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    flex-shrink: 0;
}

.cf-bottom-item h4 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #1d2d42;
}

.cf-bottom-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #6a798d;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
    .cf-title {
        font-size: 48px;
    }

    .cf-steps {
        max-width: 1080px;
        grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr;
    }

    .cf-step-icon {
        width: 110px;
        height: 110px;
    }

    .cf-step-icon img {
        max-width: 64px;
        max-height: 64px;
    }

    .cf-step-arrow {
        width: 36px;
        height: 36px;
        margin-top: 38px;
    }

    .cf-ribbon {
        width: 820px;
    }

    .cf-side-img {
        width: 270px;
    }
}

@media (max-width: 1100px) {
    .cf-steps {
        max-width: 980px;
        grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
    }

    .cf-step-icon {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }

    .cf-step-icon img {
        max-width: 58px;
        max-height: 58px;
    }

    .cf-step-title {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .cf-step-arrow {
        width: 34px;
        height: 34px;
        margin-top: 34px;
    }

    .cf-step-arrow::before {
        font-size: 22px;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::before {
        font-size: 34px;
    }

    .cf-ribbon {
        width: 680px;
    }

    .cf-row .cf-col:first-child {
        padding-left: 40px;
    }
}

@media (max-width: 992px) {
    .cf-title {
        font-size: 42px;
    }

    .cf-main-table {
        padding: 72px 16px 20px;
    }

    .cf-ribbon {
        width: 560px;
        top: -34px;
    }

    .cf-badge-icon {
        width: 90px;
        height: 90px;
    }

    .cf-table-head .cf-col {
        font-size: 16px;
        padding: 20px 14px;
    }

    .cf-table-head .cf-col span {
        font-size: 13px;
    }

    .cf-side-img {
        display: none;
    }

    .cf-bottom {
        border-radius: 28px;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .cf-bottom-item + .cf-bottom-item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(28, 45, 68, 0.14);
        padding-top: 20px;
    }
}


/* =========================
   MOBILE / TABLET - CLEAN
========================= */
@media (max-width: 768px) {
    .cf-section {
        padding: 70px 0;
    }

    .cf-container {
        padding: 0 18px !important;
    }

    .cf-title {
        font-size: 34px;
    }

    .cf-subtitle {
        font-size: 14px;
    }

    .cf-steps {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto 52px !important;
        box-sizing: border-box !important;
    }

    .cf-step {
        width: calc(100% - 28px) !important;
        max-width: 640px !important;
        min-height: unset !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: clamp(14px, 3.8vw, 20px) clamp(14px, 4vw, 22px) !important;
        background: #ffffff !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(14px, 4vw, 24px) !important;
        text-align: left !important;
        position: relative !important;
        box-shadow:
            0 4px 12px rgba(18, 40, 68, 0.07),
            0 12px 24px rgba(18, 40, 68, 0.06) !important;
    }

    .cf-step-icon {
        width: clamp(88px, 25vw, 120px) !important;
        height: clamp(74px, 21vw, 100px) !important;
        min-width: clamp(88px, 25vw, 120px) !important;
        margin: 0 !important;
        position: relative !important;
        background:
            linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) padding-box,
            linear-gradient(135deg, rgba(91, 201, 255, 0.55), rgba(67, 207, 168, 0.62)) border-box !important;
        border: 1.5px solid transparent !important;
        border-radius: 13px !important;
        box-shadow:
            0 3px 8px rgba(18, 40, 68, 0.08),
            0 10px 22px rgba(18, 40, 68, 0.10) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cf-step-icon::before {
        content: "" !important;
        position: absolute !important;
        inset: 4px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.85) !important;
        pointer-events: none !important;
    }

    .cf-step-icon::after {
        display: none !important;
    }

    .cf-step-icon img {
        max-width: clamp(52px, 15vw, 76px) !important;
        max-height: clamp(52px, 15vw, 76px) !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        position: relative !important;
        z-index: 2 !important;
        filter: drop-shadow(0 4px 6px rgba(18, 40, 68, 0.18)) !important;
    }

    .cf-step-title {
        flex: 1 !important;
        margin: 0 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: clamp(15px, 3.2vw, 23px) !important;
        line-height: 1.35 !important;
        font-weight: 900 !important;
        letter-spacing: clamp(0.6px, 0.3vw, 1.8px) !important;
        text-transform: uppercase !important;
        color: #101f39 !important;
        text-align: left !important;
        word-break: break-word !important;
    }

    .cf-step-title .highlight {
        color: #22c55e !important;
    }

    .cf-step-arrow {
        width: clamp(42px, 9vw, 56px) !important;
        height: clamp(42px, 9vw, 56px) !important;
        margin: -8px auto !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        box-shadow:
            0 2px 7px rgba(18, 40, 68, 0.07),
            0 8px 18px rgba(18, 40, 68, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 5 !important;
        font-size: 0 !important;
        color: transparent !important;
    }

    .cf-step-arrow::before {
        content: "-" !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: clamp(24px, 5vw, 30px) !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: #101f39 !important;
        margin-top: -4px !important;
    }

    .cf-step-arrow::after {
        content: none !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(8)::before {
        content: "=" !important;
        font-size: clamp(22px, 5vw, 30px) !important;
        margin-top: -2px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10) {
        width: clamp(48px, 10vw, 62px) !important;
        height: clamp(38px, 8vw, 50px) !important;
        margin: 12px auto 16px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::before,
    .cf-steps > .cf-step-arrow:nth-child(10)::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        width: clamp(16px, 3.8vw, 22px) !important;
        height: clamp(16px, 3.8vw, 22px) !important;
        border-right: clamp(4px, 0.9vw, 7px) solid #43cfa8 !important;
        border-bottom: clamp(4px, 0.9vw, 7px) solid #43cfa8 !important;
        transform: translateX(-50%) rotate(45deg) !important;
        border-radius: 2px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::before {
        top: 0 !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::after {
        top: clamp(11px, 2.5vw, 16px) !important;
    }

    .cf-steps > .cf-step:last-child {
        border: 1.5px solid #48c95c !important;
        background: linear-gradient(90deg, #ffffff 0%, #f5fff6 100%) !important;
        box-shadow:
            0 2px 8px rgba(18, 40, 68, 0.07),
            0 10px 24px rgba(18, 40, 68, 0.05) !important;
    }
}

@media (max-width: 480px) {
    .cf-container {
        padding: 0 16px !important;
    }

    .cf-title {
        font-size: 28px;
    }

    .cf-step {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 12px 14px !important;
        border-radius: 16px !important;
        gap: 14px !important;
        box-sizing: border-box !important;
    }

    .cf-step-icon {
        width: 90px !important;
        height: 74px !important;
        min-width: 90px !important;
        border-radius: 10px !important;
    }

    .cf-step-icon img {
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .cf-step-title {
        font-size: 13px !important;
        line-height: 1.32 !important;
        letter-spacing: 0.8px !important;
    }

    .cf-step-arrow {
        width: 40px !important;
        height: 40px !important;
        margin: -7px auto !important;
    }

    .cf-step-arrow::before {
        font-size: 22px !important;
        margin-top: -3px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(8)::before {
        font-size: 22px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10) {
        width: 46px !important;
        height: 36px !important;
        margin: 10px auto 14px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::before,
    .cf-steps > .cf-step-arrow:nth-child(10)::after {
        width: 15px !important;
        height: 15px !important;
        border-right-width: 4px !important;
        border-bottom-width: 4px !important;
    }

    .cf-steps > .cf-step-arrow:nth-child(10)::after {
        top: 11px !important;
    }

    .cf-bottom-item img {
        width: 54px;
        height: 54px;
    }

    .cf-bottom-item h4 {
        font-size: 16px;
    }

    .cf-bottom-item p {
        font-size: 14px;
    }
}

/* =========================================================
   MOBILE TABLE - FINAL CLEAN ALIGNMENT
   Replace earlier mobile table CSS with this block
========================================================= */
@media (max-width: 768px) {

    .cf-main-table {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-top: 18px !important;
    }

    .cf-table-head,
    .cf-badge,
    .cf-ribbon,
    .cf-side-img {
        display: none !important;
    }

    .cf-table-body {
        background: transparent !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    .cf-row {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: unset !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        border: 1px solid rgba(18, 40, 68, 0.06) !important;
        padding: 42px 14px 12px !important;
        overflow: hidden !important;
        box-shadow:
            0 3px 10px rgba(18, 40, 68, 0.07),
            0 12px 26px rgba(18, 40, 68, 0.08) !important;
    }

    /* Tier header */
    .cf-row::before {
        content: "TIER 1" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 50px !important;
        background: linear-gradient(90deg, #1f78e8 0%, #1598f0 100%) !important;
        color: #ffffff !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 22px !important;
        font-weight: 900 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        display: flex !important;
        align-items: center !important;
        padding-left: 56px !important;
        z-index: 3 !important;
    }

    .cf-row:nth-child(2)::before {
        content: "TIER 2" !important;
        background: linear-gradient(90deg, #19bdbb 0%, #15b5a6 100%) !important;
    }

    /* Header people circle */
    .cf-row::after {
        content: "" !important;
        position: absolute !important;
        top: 6px !important;
        left: 14px !important;
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
            linear-gradient(135deg, #57b6ff 0%, #176fe7 100%) !important;
        border: 3px solid rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 4px 10px rgba(18, 40, 68, 0.16) !important;
        z-index: 4 !important;
        box-sizing: border-box !important;
    }

    .cf-row:nth-child(2)::after {
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
            linear-gradient(135deg, #55d7c7 0%, #12a897 100%) !important;
    }

    /* Each mobile row item */
    .cf-row .cf-col {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 44px 1fr !important;
        column-gap: 13px !important;
        align-items: center !important;
        min-height: 70px !important;
        padding: 10px 0 10px 28px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(18, 40, 68, 0.08) !important;
        text-align: left !important;
        overflow: visible !important;
    }

    .cf-row .cf-col:last-child {
        border-bottom: none !important;
    }

    /* Timeline line + centered dot */
    .cf-row .cf-col::after {
        content: "" !important;
        position: absolute !important;
        left: 7px !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 12px !important;
        background:
            radial-gradient(circle at center, #1f78e8 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 12px 12px no-repeat,
            linear-gradient(#1f78e8, #1f78e8) center / 2px 100% no-repeat !important;
        z-index: 1 !important;
    }

    .cf-row .cf-col:nth-child(2)::after {
        background:
            radial-gradient(circle at center, #16b9bd 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 12px 12px no-repeat,
            linear-gradient(#16b9bd, #16b9bd) center / 2px 100% no-repeat !important;
    }

    .cf-row .cf-col:nth-child(3)::after {
        background:
            radial-gradient(circle at center, #69ca49 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 12px 12px no-repeat,
            linear-gradient(#69ca49, #69ca49) center / 2px 100% no-repeat !important;
    }

    /* Hide uploaded active icon on mobile card */
    .cf-row .cf-col:first-child img {
        display: none !important;
    }

    /* Active players icon */
    .cf-row .cf-col:first-child::before {
        content: "" !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background:
            url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23094455' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 20px 20px no-repeat,
            #f3f8ff !important;
        border: 1px solid rgba(30, 115, 232, 0.12) !important;
        box-shadow: 0 2px 6px rgba(18, 40, 68, 0.05) !important;
        z-index: 3 !important;
        align-self: center !important;
        justify-self: center !important;
    }

    /* Loss icon */
    .cf-row .cf-col:nth-child(2)::before {
        content: "$" !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(180deg, #e8fbf8 0%, #dff8f4 100%) !important;
        border: 1px solid rgba(20, 181, 188, 0.12) !important;
        color: #16a99e !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        box-shadow: 0 2px 6px rgba(18, 40, 68, 0.05) !important;
        z-index: 3 !important;
        align-self: center !important;
        justify-self: center !important;
    }

    /* Commission icon */
    .cf-row .cf-col:nth-child(3)::before {
        content: "%" !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(180deg, #effbea 0%, #e6f9df 100%) !important;
        border: 1px solid rgba(94, 201, 75, 0.14) !important;
        color: #54b943 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        box-shadow: 0 2px 6px rgba(18, 40, 68, 0.05) !important;
        z-index: 3 !important;
        align-self: center !important;
        justify-self: center !important;
    }

    /* Text alignment */
    .cf-row .cf-col:first-child span,
    .cf-row .cf-col strong,
    .cf-row .cf-col p {
        grid-column: 2 !important;
        position: relative !important;
        z-index: 3 !important;
        text-align: left !important;
        font-family: Arial, Helvetica, sans-serif !important;
        align-self: center !important;
    }

    .cf-row .cf-col:first-child span {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        color: #667386 !important;
    }

    .cf-row .cf-col:first-child span::before {
        content: "ACTIVE PLAYERS" !important;
        display: block !important;
        margin-bottom: 3px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        color: #10213d !important;
        text-transform: uppercase !important;
        letter-spacing: 0.35px !important;
    }

    .cf-row .cf-col strong {
        margin: 0 0 3px !important;
        font-size: 24px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: #10213d !important;
    }

    .cf-row .cf-col:nth-child(2) strong::before {
        /*content: "PLAYER LOSS (MONTHLY)" !important;*/
        content: attr(data-loss-heading) !important;
        display: block !important;
        margin-bottom: 4px !important;
        font-size: 10.8px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        color: #12aaa7 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.35px !important;
    }

    .cf-row .cf-col:nth-child(3) strong::before {
        content: "% COMMISSION (AFFILIATE EARNINGS)" !important;
        display: block !important;
        margin-bottom: 4px !important;
        font-size: 10.3px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        color: #59b946 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.25px !important;
    }

    .cf-row .cf-col p {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        color: #778294 !important;
    }

    .cf-row .cf-col .green {
        color: #21c14e !important;
    }

    /* Remove previous broken pseudo dots */
    .cf-row .cf-col:first-child span::after,
    .cf-row .cf-col:nth-child(2) p::after,
    .cf-row .cf-col:nth-child(3) p::after,
    .cf-row .cf-col strong::after {
        content: none !important;
    }
}

/* =========================================================
   MOBILE TABLE - MICRO ALIGN TIMELINE LINE + DOT
========================================================= */
@media (max-width: 768px) {
    .cf-row .cf-col::after {
        left: 8px !important;
        width: 14px !important;
        background:
            radial-gradient(circle at center, #1f78e8 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 14px 14px no-repeat,
            linear-gradient(#1f78e8, #1f78e8) center / 2px 100% no-repeat !important;
    }

    .cf-row .cf-col:nth-child(2)::after {
        background:
            radial-gradient(circle at center, #16b9bd 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 14px 14px no-repeat,
            linear-gradient(#16b9bd, #16b9bd) center / 2px 100% no-repeat !important;
    }

    .cf-row .cf-col:nth-child(3)::after {
        background:
            radial-gradient(circle at center, #69ca49 0 3px, #ffffff 3.2px 5px, transparent 5.2px) center / 14px 14px no-repeat,
            linear-gradient(#69ca49, #69ca49) center / 2px 100% no-repeat !important;
    }
}

/* =========================================================
   MOBILE TABLE - AUTO TIER NUMBER + 3 COLOR LOOP
   Tier 1 = Blue, Tier 2 = Aqua, Tier 3 = Green
   Tier 4 = Blue, Tier 5 = Aqua, Tier 6 = Green
========================================================= */
@media (max-width: 768px) {

    .cf-table-body {
        counter-reset: cf-tier;
    }

    .cf-row {
        counter-increment: cf-tier;
    }

    /* Auto Tier Text */
    .cf-row::before {
        content: "TIER " counter(cf-tier) !important;
    }

    /* Tier 1, 4, 7... Blue */
    .cf-row:nth-child(3n + 1)::before {
        background: linear-gradient(90deg, #1f78e8 0%, #1598f0 100%) !important;
    }

    .cf-row:nth-child(3n + 1)::after {
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
            linear-gradient(135deg, #57b6ff 0%, #176fe7 100%) !important;
    }

    /* Tier 2, 5, 8... Aqua */
    .cf-row:nth-child(3n + 2)::before {
        background: linear-gradient(90deg, #19bdbb 0%, #15b5a6 100%) !important;
    }

    .cf-row:nth-child(3n + 2)::after {
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
            linear-gradient(135deg, #55d7c7 0%, #12a897 100%) !important;
    }

    /* Tier 3, 6, 9... Green */
    .cf-row:nth-child(3n)::before {
        background: linear-gradient(90deg, #5ec94b 0%, #82db4f 100%) !important;
    }

    .cf-row:nth-child(3n)::after {
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3s1.34 3 3 3Zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
            linear-gradient(135deg, #72d957 0%, #47bd35 100%) !important;
    }
}

.cf-table-title-wrap {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    clear: both !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 20 !important;
}

.cf-table-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #122b72 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cf-weekly-title-wrap {
    margin-top: 40px !important;
}

@media (max-width: 768px) {
    .cf-table-title {
        margin-bottom: 14px !important;
        font-size: 23px !important;
    }

    .cf-weekly-title-wrap {
        margin-top: 30px !important;
    }
}