@media  screen and (min-width: 1025px) {

    .card-content-text {
        justify-content: center;
    }
}

@media  screen and (min-width: 768px) and (max-width: 1024px) {
    .rp-text-content {
        margin-top: 40px;
    }

    .rp-text-content h4 {
        font-size: 1em;
    }

    .rp-text-content h2 {
        font-size: 3.5em;
    }

    .card-content-text {
        justify-content: center;
    }

    .rp-level > div {
        width: 25px;
        height: 25px;
        font-size: 0.9em;
    }

    .rp-level > h3 {
        font-size: 1.2em;
    }

    .earn-rewards h2 {
        font-size: 1em;
    }

    .earn-rewards p {
        font-size: 0.8em;
    }

    .card-gradient {
        height: 50%;
    }
}

@media  screen and (min-width: 481px) and (max-width: 767px) {
    .br-desk {
        display: none;
    }
    
    .br-mobile {
        display: block;
    }

    .rp-cards {
        display: none;
    }

    .rp-cards-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 2000px;
        gap: 15px;
        position: relative;
        top: -160px;
    }

    .rp-text-content {
        width: 80%;
    }

    .rp-text-content h4 {
        font-size: clamp(1em, 24px, 30px);
        text-align: center;
    }

    .rp-text-content h2 {
        font-size: clamp(2rem, 48px, 4rem);
        text-align: center;
    }

    .rp-text-content p {
        font-size: clamp(1em, 1rem, 24px);
    }

    .referral-program {
        height: auto;
        margin-bottom: -24%;
    }

    .rp-content {
        display: flex;
        justify-content: center;
        max-height: 660px;
    }

    .card-level1 {
        width: 90%;
        height: 288%;
        object-fit: fill;
    }

    .card-level2 {
        width: 90%;
        height: 288%;
        object-fit: fill;
    }

    .card-level3 {
        width: 90%;
        height: 288%;
        object-fit: fill;
    }

    .card-content-text {
        height: 50%;
        justify-content: center;
    }

    .card-gradient {
        width: 100%;
        height: 50%;
    }

}

@media  screen and (max-width: 480px){
    .br-desk {
        display: none;
    }
    
    .br-mobile {
        display: block;
    }

    .rp-cards {
        display: none;
    }

    .rp-cards-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 1000px;
        gap: 15px;
        position: relative;
        top: -4%;
    }

    .rp-text-content {
        width: 80%;
    }

    .rp-text-content h4 {
        font-size: clamp(1em, 24px, 30px);
        text-align: center;
    }

    .rp-text-content h2 {
        font-size: clamp(2rem, 48px, 4rem);
        text-align: center;
    }

    .rp-text-content p {
        font-size: clamp(1em, 1rem, 24px);
    }

    .referral-program {
        height: 1750px;
        margin-bottom: -18%;
        padding: 6px 6px 0 6px;
    }

    .rp-content {
        height: 700px;
        display: flex;
        justify-content: center;
        border-radius: 12px
    }

    .card-level1 {
        width: 90%;
        height: 100%;
    }

    .card-level2 {
        width: 90%;
        height: 100%;
    }

    .card-level3 {
        width: 90%;
        height: 100%;
    }

    .card-content-text {
        height: 55%;
        justify-content: center;
    }

    .earn-rewards {
        gap: 10px;
    }

    .earn-rewards h2 {
        font-size: 4vw;
    }

    .earn-rewards p {
        font-size: 3vw;
    }
}