.invite-page {
    width: calc(100vw - 40px);
    max-width: 1380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.invite-container {
    display: flex;
    width: 100%;
    max-width: 840px;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    height: auto;
}

.invite-top {
    width: 100%;
    height: 260px;
    border-radius: 24px;
    background: radial-gradient(114.4% 232.46% at 82.44% -106.92%, #6bda825c 0%, rgba(16, 22, 38, 0.00) 100%), radial-gradient(76.67% 83.64% at 12.14% 108.46%, rgb(107 218 130 / 19%) 0%, rgba(16, 22, 38, 0.00) 100%), #101626;
}

.invite-top .layer:first-child {
    margin-top: 0px;
}

.invite-top .layer {
    width: 100%;
    height: 260px;
    margin-top: -260px;
    display: flex;
}

.invite-top .layer:nth-child(1) {
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}
.invite-top .layer:nth-child(2) {
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}
.invite-top .layer:nth-child(3) {
    align-items: center;
    justify-content: flex-end;
}

.invite-top .layer:nth-child(4) {
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.invite-top .layer:nth-child(5) {
    position: relative;
    z-index: 2;
}

.invite-top .layer .money {
    width: 317px;
    height: 283px;
    background: url(../../../system/invite/money.png);
    background-size: 100%;
}

.invite-top .layer:nth-child(1) .money {
    transform: translate(-94px, -1px);
    position: absolute;
}
.invite-top .layer:nth-child(2) .money {transform: translate(71px, -81px) scale(0.7);}
 
.invite-top .layer .girl {
    width: 224px;
    height: 298px;
    background: url(../../../system/invite/girl.png);
    background-size: 100%;
    transform: translate(-52px, -19px);
}

.invite-top .layer .package {
    width: 304px;
    height: 229px;
    background: url(../../../system/invite/package.png);
    background-size: 100%;
    transform: translate(-20px, 59px);
}

.invite-top .content {
    display: flex;
    width: 100%;
    align-items: center;
    overflow: visible;
}
.invite-top .content .left {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    max-width: 240px;
    padding: 20px;
    height: 218px;
    align-items: center;
    gap: 36px;
}
.invite-top .content .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 35px;
}
.invite-top .content .top .title {
    color: #FFF;
    font-size: 20px;
    font-weight: 800;
     /* 100% */
}
.invite-top .content .left .top .royalty {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    border-radius: 14px;
    background: #215749;
    padding: 8px 14px;
}
.invite-top .content .left .balance {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
     /* 15.4px */
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
.invite-top .content .left .balance span {
    color: #75E877;
    font-size: 40px;
    font-weight: 600;
     /* 100% */
}
.invite-top .content .left .redeem {
    width: fit-content;
    height: 39px;
    border-radius: 14px;
    background: linear-gradient(0deg, #57BE97 0%, #57BE97 100%), #050E20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
    gap: 7px;
    transform: translate(0px, 39px);
    cursor: pointer;
    padding: 0px 10px;
}

.invite-top .content .left .redeem.tablet {
    display: none;
}

@media(max-width: 785px) {
    .invite-top .content .left .redeem.tablet {
        display: flex;
    }

    .invite-top .content .left .redeem.desktop {
        display: none;
    }
}

@media(max-width: 785px) {
    .invite-top .content .left .redeem.tablet {
        display: flex;
    }

    .invite-top .content .left .redeem.desktop {
        display: none;
    }
}

.invite-top .content .left .redeem span {
    color: #57BE97;
    font-size: 14px;
    font-weight: 500;
     /* 200% */
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 9px;
    border-radius: 14px;
    white-space: nowrap;
}

.invite-top .content hr {
    width: 1px;
    height: 220px;
    background: rgba(9, 15, 30, 0.20);
    border: 0;
    outline: 0;
}

.invite-top .content .right {
    height: 220px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.invite-top .content .right .stats {
    display: flex;
    flex-direction: row;
    gap: 32px;
}
.invite-top .content .right .stats .stat {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.invite-top .content .right .stats .stat .title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
     /* 15.4px */
}
.invite-top .content .right .stats .stat .values {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.invite-top .content .right .stats .stat .values .value {
    display: flex;
    align-items: center;
    gap: 5px;
}
.invite-top .content .right .stats .stat .values .value .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
}
.invite-top .content .right .stats .stat .values .value .icon svg {
    width: auto;
    height: auto;
}
.invite-top .content .right .stats .stat .values .value span {
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
     /* 125% */
}

.invite-top .content .right .link {
    height: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 20px;
}
.invite-top .content .right .link .input {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.invite-top .content .right .link .input span {
    padding-left: 20px;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
}

.invite-top .content .right .link .input span .mobile {
    padding-left: 0px;
}

.invite-top .content .right .link .input .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.invite-top .content .right .link .input .icon svg {
    opacity: 0.7;
    transition: all 300ms;
}

.invite-top .content .right .link .input .icon:hover svg {
    opacity: 1;
    transition: all 300ms;
}

.invite-top .content .right .link .button {
    display: flex;
    height: 50px;
    padding: 0px 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(84deg, #4FB1A1 -7.08%, #79EE73 132.64%);
    cursor: pointer;
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
     /* 200% */
}

.invite-top .content .right .link .button.tablet {
    display: none;
}

@media(max-width: 726px) {
    .invite-top .content .right .link .button {
        display: none;
    }

    .invite-top .content .right .link .button.tablet {
        padding: 0;
        min-width: 50px;
        display: flex;
    }
}

@media (max-width: 620px) {
    .invite-top .content hr {
        display: none;
    }

    .invite-top {
        height: 650px;
    }

    .invite-top .layer {
        height: 650px;
        margin-top: -650px;
        overflow: hidden;
    }

    .invite-top .content {
        flex-direction: column;
    }

    /* Buttons */
    .invite-top .content .right .link .button {
        display: flex;
        padding: 0px 20px;
    }

    .invite-top .content .right .link .button.tablet {
        display: none;
    }

    /* Redeem */
    .invite-top .content .left .redeem.tablet {
        display: none;
    }

    .invite-top .content .left .redeem.desktop {
        display: flex;
        transform: unset;
        margin-top: -40px;
    }

    .invite-top .content .left {
        width: 100%;
        max-width: calc(100% - 40px);
        height: auto;
        gap: 20px;
    }

    .invite-top .content .right {
        width: 100%;
        max-width: calc(100% - 40px);
        height: auto;
        gap: 10px;
    }

    .invite-top .layer .package {
        display: none;
    }

    .invite-top .content .left .balance {
        width: 100%;
        height: 140px;
        border-radius: 24px;
        border: 1px solid rgba(87, 190, 151, 0.40);
        background: rgba(87, 190, 151, 0.10);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .invite-top .content .right .stats {
        flex-direction: column;
    }

    .invite-top .content .right .stats {
        gap: 15px;
    }

    .invite-top .layer:nth-child(1) .money {
    transform: translate(-54px, 189px);
}
    .invite-top .layer:nth-child(2) .money {
    transform: translate(100px, 0px) rotate(-114deg) scale(0.8);
}
    .invite-top .layer:nth-child(3) .girl {
    transform: translate(-2px, 131px) scale(1.3);
}
}

@media (max-width: 447px) {
    .invite-top .content .right .link {
        gap: 10px;
    }

    .invite-top .content .right .link .input span .mobile {
        display: none;
    }
}

.invite-steps {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}
.invite-steps .title {
    color: #FFF;
    font-size: 20px;
    font-weight: 800;
     /* 100% */
}

.invite-steps .link-step {}


.invite-steps .steps-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.invite-steps .step {
    width: calc(100% - 40px);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.invite-steps .step.signup {
    background: radial-gradient(147.91% 75.04% at 124.39% 0%, #1dc3e7a6 0%, rgba(16, 22, 38, 0.00) 100%), radial-gradient(190.25% 129.69% at -21.34% 139.44%, #1dc3e794 0%, rgba(16, 22, 38, 0.00) 100%), linear-gradient(84deg, rgba(79, 172, 254, 0.10) -7.08%, rgba(0, 209, 219, 0.10) 132.64%), #101626;
}
.invite-steps .step.deposit {
    background: radial-gradient(147.91% 75.04% at 124.39% 0%, #78d77785 0%, rgba(16, 22, 38, 0.00) 100%), radial-gradient(190.25% 129.69% at -21.34% 139.44%, #70d47a8a 0%, rgba(16, 22, 38, 0.00) 100%), linear-gradient(85deg, rgba(6, 172, 164, 0.10) -71.3%, rgba(222, 254, 79, 0.10) 227.89%), #101626;
}
.invite-steps .step .top {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
}
.invite-steps .step .top span {
    display: flex;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
}
.invite-steps .step .bonus {
    display: flex;
    width: auto;
    height: 37px;
    border-radius: 39.67px;
    border: 1px solid #4FACFE;
    background: #101626;
    align-items: center;
    transform: rotate(-8deg);
}
.invite-steps .step .bonus .icon {
    width: 39px;
    height: 39px;
    background: linear-gradient(84deg, #4FACFE -7.08%, #00D1DB 132.64%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1px;
    margin-left: -1px;
}
.invite-steps .step .bonus .icon svg {}
.invite-steps .step .bonus .amount {
    color: #FFF;
    font-size: 23px;
    font-weight: 600;
     /* 25.455px */
    padding: 0px 16px;
    padding-left: 8px;
}
.invite-steps .step .royalty {
    border-radius: 14px;
    background: linear-gradient(85deg, #06ACA4 -71.3%, #DEFE4F 227.89%), rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    height: 40px;
    padding: 0px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    gap: 5px;
    transform: rotate(4.5deg);
}
.invite-steps .step .royalty b {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
}
.invite-steps .step .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.invite-steps .step .info .title {
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
}
.invite-steps .step .info .text {
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 700px) {
    .invite-steps .steps-container {
        flex-direction: column;
        gap: 10px;
    }
}

.invite-steps .link-step {
    width: 100%;
    padding: 0;
    height: 254px;
    border-radius: 24px;
    background: radial-gradient(114.4% 232.46% at 82.44% -106.92%, #682BC7 0%, rgba(16, 22, 38, 0.00) 100%), #101626;
}

.invite-steps .link-step .layer:first-child {
    margin-top: 0;
}

.invite-steps .link-step .layer {
    width: 100%;
    height: 254px;
    margin-top: -254px;
}

.invite-steps .link-step .layer .girl2 {
    width: 186px;
    height: 247px;
    background: url(../../../system/invite/girl2.png);
    background-size: 100%;
    transform: translate(40px, 6px);
}

.invite-steps .link-step .layer:nth-child(1) {
    display: flex;
    align-items: flex-end;
}

.invite-steps .link-step .layer:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

.invite-steps .link-step .layer .content {
    width: calc(100% - 300px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.invite-steps .link-step .layer .content .links {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    justify-content: space-between;
}
.invite-steps .link-step .layer .content .links .blocks {
    display: flex;
    gap: 20px;
    /* width: calc(100% - 40px); */
    width: calc(100%);
}

.invite-steps .link-step .layer .content .links .block.referral {width: 100%;}
.invite-steps .link-step .layer .content .links .block.promocode {
    width: 100%;
}
.invite-steps .link-step .layer .content .links .block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.invite-steps .link-step .layer .content .links .block .name {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
     /* 15.4px */
}
.invite-steps .link-step .layer .content .links .block .input {
    display: flex;
    padding-left: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    height: 50px;
    align-items: center;
    justify-content: space-between;
}
.invite-steps .link-step .layer .content .links .block .input .value {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    max-width: calc(100% - 50px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.invite-steps .link-step .layer .content .links .block .input .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.invite-steps .link-step .layer .content .links .block .input .icon svg {
    opacity: 0.8;
    transition: all 300ms;
}
.invite-steps .link-step .layer .content .links .block .input .icon:hover svg {
    opacity: 1;
    transition: all 300ms;
}

.invite-steps .link-step .layer .content .links .button {
    border-radius: 14px;
    background: linear-gradient(253deg, #635FF5 -17.61%, #892AF1 99.54%);
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.invite-steps .link-step .layer .content .links .button span {
    display: none;
}

@media (max-width: 860px) {
    .invite-steps .link-step .layer .content .links {
        flex-direction: column;
        align-items: flex-start;
    }

    .invite-steps .link-step .layer .content .links .button {
        width: 40%;
    }

    .invite-steps .link-step .layer .content .links .button span {
        display: flex;
        color: #FFF;
        font-size: 14px;
        font-weight: 400;
        padding: 0;
        background: unset;
    }

    .invite-steps .link-step .layer .content .links .blocks {
        width: 100%;
    }

    .invite-steps .link-step {
        height: 326px;
    }

    .invite-steps .link-step .layer {
        height: 326px;
        margin-top: -326px;
    }
    
    .invite-steps .link-step .layer .girl2 {
        transform: translate(40px, -17px) scale(1.2);
    }

    .invite-steps .link-step .layer .content .links .block.referral {
        width: calc(60% - 20px);
    }

    .invite-steps .link-step .layer .content .links .block.promocode {
        width: 40%;
    }
}

@media (max-width: 786px) {
    .invite-steps .link-step .layer .content .links .block .input span {
        display: none;
    }
}

@media (max-width: 698px) {
    .invite-steps .link-step .layer .content {
        width: calc(100% - 40px);
    }

    .invite-steps .link-step .layer:nth-child(2) {
        justify-content: center;
        overflow: hidden;
    }

    .invite-steps .link-step .layer:nth-child(1) {
        justify-content: flex-end;
        overflow: hidden;
    }

    .invite-steps .link-step .layer .girl2 {
        transform: translate(-4px, 0px) scale(1.4);
    }

    .invite-steps .link-step .layer .content .links .blocks {
        flex-direction: column;
    }

    .invite-steps .link-step {
        height: 433px;
    }

    .invite-steps .link-step .layer {
        height: 446px;
        margin-top: -446px;
        border-radius: 24px;
    }
}

/* Vip Plug */
.invite-page .vip-plug .content .title {
    font-size: 48px;
}

@media (max-width: 600px) {
    .invite-page .vip-plug .content .title {
        font-size: 33px;
    }   
}

.invite-history {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-history .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invite-history .top .title {
    color: #FFF;
    font-size: 20px;
    font-weight: 800;
    line-height: 20px; /* 100% */
}

.invite-history .table .col.user {
    text-align: left !important;
}

.invite-history .table .body .col.earned {}
.invite-history .table .body .col.xp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.invite-history .table .body .col.xp svg {
    width: 17px;
}
.invite-history .table .body .col.earned span {
    color: #9AEB68;
    font-weight: 500;
}
.invite-history .table .body .col.xp span {
    color: #faa13e;
    font-weight: 500;
}