/* =========================
   FOOTER BASE
========================= */
.crickex-footer {
    background: linear-gradient(180deg, #02142c, #010c1f);
    color: #fff;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   TOP BAR
========================= */
.footer-top .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* TRUST */
.footer-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-trust img {
    width: 55px;
}

.trust-title {
    font-size: 15px;
    font-weight: 700;
}

.trust-sub {
    font-size: 12px;
    color: #9dc7ff;
}

/* MENU */
.footer-menu {
    display: flex;
    gap: 18px;
}

.footer-menu a {
    color: #cde6ff;
    font-size: 14px;
    text-decoration: none;
}

.footer-menu a::after {
    content: "•";
    margin-left: 12px;
    color: #2ab7ff;
}

.footer-menu a:last-child::after {
    display: none;
}

/* SOCIAL */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-title {
    font-size: 14px;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 36px;
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* =========================
   CTA BOX
========================= */
.footer-cta-wrap {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    background: linear-gradient(135deg, #031a3a, #04224c);
    border-radius: 18px;
    border: 1px solid rgba(0,140,255,0.25);
}

/* LEFT */
.cta-left { width: 20%; }
.cta-left img { width: 230px; }

/* CENTER */
.cta-center { width: 35%; }

.cta-title {
    font-size: 30px;
    font-weight: 600;
}

.cta-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.cta-brand img { 
    height: 42px; 
}

.cta-brand span {
    font-size: 40px;
    font-weight: 800;
    color: #39ff14;
}

.cta-desc {
    font-size: 14px;
    color: #b7d4ff;
    margin-top: 10px;
}

/* FEATURES */
.cta-features {
    width: 30%;
    padding-left: 40px;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.feature-item img { width: 42px; }

.f-title {
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}

.f-text {
    font-size: 13px;
    color: #a6c8ff;
    line-height: 1.4;
}

.feature-item div {
    max-width: 220px;
}

/* RIGHT */
.cta-right {
    width: 20%;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 40px;
}

.cta-right-title {
    font-size: 21px;
    color: #8fff2a;
    margin-bottom: 10px;
}

.cta-title {
    font-size: 30px;
    font-weight: 400;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #008ef6, #006ae0);
    color: #ffffff;
    padding: 10px 33px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    /*box-shadow: 0 0 20px rgba(100,255,0,0.6);*/
}

.cta-trust {
    margin-top: 12px;
    font-size: 13px;
    color: #a6c8ff;
}

/* =========================
   BOTTOM BAR
========================= */
.bottom-wrap {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.bottom-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2ab7ff, transparent);
}

.bottom-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bottom-center img { width: 22px; }

.bottom-center span {
    font-size: 13px;
    color: #a6c8ff;
}

/* =========================
   MOBILE / TABLET FIX ONLY
========================= */
@media (max-width: 992px) {

    .footer-top .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-trust {
        flex-direction: column;
        gap: 8px;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        max-width: 300px;
    }

    .footer-menu a {
        font-size: 13px;
        white-space: nowrap;
    }

    .footer-menu a::after {
        display: none;
    }

    .footer-social {
        flex-direction: column;
        gap: 8px;
    }

    .social-icons {
        justify-content: center;
    }

    /* CTA STACK */
    .footer-cta-wrap {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
        gap: 25px;
    }

    .cta-left,
    .cta-center,
    .cta-features,
    .cta-right {
        width: 100%;
        border: none;
        padding: 0;
    }

    .cta-title { font-size: 26px; }
    .cta-brand span { font-size: 30px; }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-item div {
        max-width: 100%;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-brand img {
    height: 50px;
    display: block;
    margin: 0 auto;
}
}

/* SMALL MOBILE */
@media (max-width: 576px) {

    .cta-title { font-size: 26px; }
    .cta-brand span { font-size: 26px; }

    .footer-menu {
        max-width: 250px;
    }

    .bottom-wrap {
        flex-direction: column;
    }

    .bottom-line {
        display: none;
    }

    .cta-brand img {
    height: 50px;
    display: block;
    margin: 0 auto;
}
}

/* =========================================================
   FINAL MOBILE FOOTER CTA COMPACT FIX
   Remove extra space and keep clean mobile card
   Desktop/web unchanged
========================================================= */

@media (max-width: 992px) {
    .footer-cta-wrap {
        padding: 28px 18px 30px !important;
        gap: 16px !important;
        border-radius: 18px !important;
    }

    .cta-left img {
        width: 150px !important;
        max-width: 70% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .cta-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    .cta-brand {
        justify-content: center !important;
        margin: 8px 0 8px !important;
    }

    .cta-brand img {
        height: 38px !important;
        margin: 0 auto !important;
    }

    .cta-brand span {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .cta-desc {
        max-width: 300px !important;
        margin: 8px auto 0 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .cta-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 4px !important;
    }

    .feature-item {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .feature-item img {
        width: 32px !important;
        flex: 0 0 32px !important;
    }

    .feature-item div {
        max-width: 230px !important;
    }

    .f-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .f-text {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .cta-right {
        padding-top: 6px !important;
    }

    .cta-right-title {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }

    .cta-btn {
        width: min(100%, 300px) !important;
        min-height: 44px !important;
        padding: 11px 24px !important;
        margin: 0 auto !important;
        font-size: 16px !important;
        border-radius: 999px !important;
    }

    .cta-trust {
        margin-top: 10px !important;
        font-size: 12px !important;
    }
}

/* Small mobile tighter */
@media (max-width: 576px) {
    .crickex-footer {
        padding: 30px 0 !important;
    }

    .footer-container {
        padding: 0 14px !important;
    }

    .footer-cta-wrap {
        padding: 24px 16px 26px !important;
        gap: 14px !important;
    }

    .cta-left img {
        width: 130px !important;
    }

    .cta-title {
        font-size: 20px !important;
    }

    .cta-brand img {
        height: 34px !important;
    }

    .cta-brand span {
        font-size: 25px !important;
    }

    .cta-desc {
        font-size: 12.5px !important;
    }

    .feature-item {
        gap: 10px !important;
    }

    .feature-item img {
        width: 28px !important;
        flex: 0 0 28px !important;
    }

    .f-title {
        font-size: 14px !important;
    }

    .f-text {
        font-size: 11.5px !important;
    }

    .cta-right-title {
        font-size: 16px !important;
    }

    .cta-btn {
        width: min(100%, 280px) !important;
        font-size: 15px !important;
    }
}

/* =========================================================
   FINAL MOBILE FOOTER CTA CLEAN FIX
   Mobile only - desktop/web unchanged
========================================================= */

@media (max-width: 992px) {

    .footer-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .footer-cta-wrap {
        width: calc(100% - 18px) !important;
        max-width: 420px !important;
        margin: 28px auto 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 24px 18px 22px !important;
        gap: 10px !important;

        border-radius: 14px !important;
        border: 1px solid rgba(0, 140, 255, 0.35) !important;
        box-sizing: border-box !important;
    }

    .cta-left,
    .cta-center,
    .cta-features,
    .cta-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-left: 0 !important;
        box-sizing: border-box !important;
    }

    .cta-features::before,
    .cta-features::after,
    .cta-right::before,
    .cta-right::after {
        content: none !important;
        display: none !important;
    }

    .cta-left img {
        width: 92px !important;
        max-width: 45% !important;
        height: auto !important;
        margin: 0 auto 4px !important;
        display: block !important;
    }

    .cta-title {
        margin: 0 !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }

    .cta-brand {
        justify-content: center !important;
        gap: 6px !important;
        margin: 5px 0 !important;
    }

    .cta-brand img {
        height: 28px !important;
        margin: 0 auto !important;
    }

    .cta-brand span {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .cta-desc {
        max-width: 250px !important;
        margin: 10px auto 0 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .cta-features {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 4px !important;
    }

    .footer-cta-wrap .feature-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 15px !important;

        text-align: left !important;
        min-height: auto !important;
    }

    .footer-cta-wrap .feature-item img {
        width: 22px !important;
        flex: 0 0 22px !important;
        height: auto !important;
    }

    .footer-cta-wrap .feature-item div {
        max-width: 210px !important;
        width: auto !important;
    }

    .f-title {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        font-weight: 500 !important;
        white-space: normal !important;
    }

    .f-text {
        margin: 1px 0 0 !important;
        font-size: 10.8px !important;
        line-height: 1.25 !important;
    }

    .cta-right {
        margin-top: 8px !important;
        text-align: center !important;
    }

    .cta-right-title {
        margin: 0 0 10px !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .cta-btn {
        width: min(100%, 280px) !important;
        min-height: 44px !important;
        margin: 0 auto !important;
        padding: 11px 20px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 15px !important;
        border-radius: 999px !important;
        box-sizing: border-box !important;
    }

    .cta-trust {
        margin-top: 8px !important;
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }
}

/* Extra small mobile */
@media (max-width: 576px) {

    .footer-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .footer-cta-wrap {
        width: calc(100% - 20px) !important;
        max-width: 380px !important;
        padding: 22px 14px 20px !important;
        gap: 15px !important;
    }

    .cta-left img {
        width: 82px !important;
    }

    .cta-title {
        font-size: 17px !important;
    }

    .cta-brand img {
        height: 50px !important;
    }

    .cta-brand span {
        font-size: 20px !important;
    }

    .cta-desc {
        max-width: 230px !important;
        font-size: 11.5px !important;
    }

    .footer-cta-wrap .feature-item {
        max-width: 240px !important;
        gap: 7px !important;
    }

    .footer-cta-wrap .feature-item img {
        width: 30px !important;
        flex: 0 0 20px !important;
    }

    .f-title {
        font-size: 14.5px !important;
    }

    .f-text {
        font-size: 10.5px !important;
    }

    .cta-right-title {
        font-size: 14.5px !important;
    }

    .cta-btn {
        width: min(100%, 260px) !important;
        min-height: 42px !important;
        font-size: 14.5px !important;
    }
}


/* =========================================================
   FINAL MOBILE FOOTER FEATURE DIVIDER FIX
   First divider goes below "Earn up to 50% lifetime commission."
   Mobile only - desktop/web unchanged
========================================================= */

@media (max-width: 992px) {

    /* Remove all unwanted global pseudo lines from footer feature rows */
    .footer-cta-wrap .feature-item::before,
    .footer-cta-wrap .feature-item::after {
        content: none !important;
        display: none !important;
    }

    /* Clean row alignment */
    .footer-cta-wrap .feature-item {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        padding: 0 0 12px !important;
        text-align: left !important;
        min-height: auto !important;
    }

    .footer-cta-wrap .feature-item img {
        width: 22px !important;
        flex: 0 0 22px !important;
        height: auto !important;
    }

    .footer-cta-wrap .feature-item > div {
        position: relative !important;
        max-width: 210px !important;
        width: 210px !important;
        padding-bottom: 8px !important;
    }

    /* Add divider below the subtitle/text only */
    .footer-cta-wrap .feature-item:nth-child(1) > div::after,
    .footer-cta-wrap .feature-item:nth-child(2) > div::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -4px !important;
        height: 1px !important;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.10),
            transparent
        ) !important;
    }

    .footer-cta-wrap .feature-item:nth-child(3) > div::after {
        content: none !important;
        display: none !important;
    }

    .footer-cta-wrap .f-title {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        font-weight: 500 !important;
        white-space: normal !important;
    }

    .footer-cta-wrap .f-text {
        margin: 2px 0 0 !important;
        font-size: 10.8px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 576px) {
    .footer-cta-wrap .feature-item {
        max-width: 240px !important;
        gap: 7px !important;
        padding-bottom: 11px !important;
    }

    .footer-cta-wrap .feature-item img {
        width: 30px !important;
        flex: 0 0 20px !important;
    }

    .footer-cta-wrap .feature-item > div {
        width: 200px !important;
        max-width: 200px !important;
    }

    .footer-cta-wrap .f-title {
        font-size: 12.5px !important;
    }

    .footer-cta-wrap .f-text {
        font-size: 10.5px !important;
    }
}

/* =========================================================
   FINAL MOBILE CTA ICON HIDE FIX
   Hide CTA icon only on mobile
   Keep visible on web / iPad / tablet
========================================================= */

@media (max-width: 767px) {
    .footer-cta-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-cta-wrap .cta-left {
        display: none !important;
    }

    .footer-cta-wrap .cta-center {
        width: 100% !important;
        max-width: 260px !important;
        text-align: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .footer-cta-wrap .cta-title {
        text-align: center !important;
    }

    .footer-cta-wrap .cta-brand {
        justify-content: center !important;
    }

    .footer-cta-wrap .cta-desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}