.loyalty-header {
    padding: 3rem 0;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.loyalty-header::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 100%;
    width: 100%;
    height: auto;
    background-image: url(../../assets/images/loyalty-header-bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1845 / 15;
}

.loyalty-header.small {
    aspect-ratio: 1920 / 320;
}

.loyalty-header.big {
    aspect-ratio: 1920 / 700;
}

.loyalty-header.small::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #001F35CC;
}

.loyalty-header.big::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #1A3C46CC;
}

.loyalty-header .header-content-wrapper {
    z-index: 9;
    position: relative;
    text-align: center;
}

.loyalty-header .container,
.loyalty-header .row,
.loyalty-header .row>* {
    height: 100%;
}

.loyalty-header .header-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
}

.loyalty-header .header-content-wrapper h2 {
    font-size: 5.6rem;
    line-height: 1.5;
    position: relative;
}

.loyalty-header .header-content-wrapper.api p {
    font-size: 2.8rem;
    font-weight: 400;
}

.loyalty-header .header-content-wrapper *,
.loyalty-header .header-content-wrapper {
    color: #fff;
    margin: 0;
}

.loyalty-header .header-content-wrapper.normal {
    max-width: 75%;
    margin: 0 auto;
}

.loyalty-header .header-content-wrapper.normal p {
    font-size: 2rem;
    line-height: 1.5;
}

.loyalty-header.circle .header-content-wrapper.normal h2::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 75%;
    width: 191%;
    height: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-2.301deg);
    border-radius: 50%;
    border: 2px solid #FFE500;
    z-index: -1;
}

.loyalty-header .header-content-wrapper.normal p {
    margin-top: 3.2rem;
}

.loyalty-header .header-content-wrapper em *,
.loyalty-header .header-content-wrapper em {
    color: #ffe500;
    font-style: normal;
}

.loyalty-header .header-content-wrapper .header-description-short {
    color: #ffe500;
    font-size: 2.4rem;
    margin: 0 !important;
}

.loyalty-header .header-arrow-down {
    position: relative;
    z-index: 9;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    display: flex;
    color: #fff;
    top: -5rem;
    gap: 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
}

.loyalty-header .user-status-badge {
    position: absolute;
    right: 9rem;
    top: 8rem;
    transform: translateY(-50%) translateX(50%) rotateZ(45deg);
    width: 314px;
    padding: 1.5rem;
}

.loyalty-header .user-status-badge.Żółty {
    background-color: #FFE500;
}

.loyalty-header .user-status-badge.Gold {
    background: var(--GOLD, linear-gradient(90deg, #6A5321 0%, #BD9750 22%, #C29A54 30%, #FFFFC7 41.99%, #FFE38F 63.99%, #FFE38F 70.99%, #FFFFC7 75.99%, #FFE38F 81.99%, #9C793F 89.99%));
}

.loyalty-header .user-status-badge.Diamante {
    background: var(--Diamond, linear-gradient(270deg, #C8D4DA 0%, #FFF 16.67%, #AEC0CE 33.33%, #E3E9EE 50%, #FAFBFC 66.67%, #D6DFE6 83.33%, #B8C9D3 100%));
}

.loyalty-header .user-status-badge h4 {
    color: #000;
    text-align: center;
    font-size: 4rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width:1500px) {
    .loyalty-header .user-status-badge {
        top: 6rem;
        right: 6rem;
        padding: 0.5rem;
    }

    .loyalty-header .user-status-badge h4 {
        font-size: 3rem;
    }
}

@media (max-width:1199px) {
    .loyalty-header.big {
        aspect-ratio: initial;
    }

    .loyalty-header .header-arrow-down {
        top: 0;
    }

    .loyalty-header .header-arrow-down p {
        display: none;
    }

    .loyalty-header .header-content-wrapper h2 {
        font-size: 3.6rem;
    }

    .loyalty-header .header-content-wrapper.normal h2::before {
        height: 70%;
    }

    .loyalty-header .header-content-wrapper.normal p {
        font-size: 1.8rem;
    }

    .loyalty-header::after {
        transform: translateX(-50%) translateY(-100%);
    }

}

@media (max-width:991px) {
    .loyalty-header .header-content-wrapper.normal {
        max-width: 100%;
    }

    .loyalty-header .user-status-badge {
        top: 5rem;
        right: 5rem;
    }

    .loyalty-header .user-status-badge h4 {
        font-size: 2.4rem;
    }
}

@media (max-width:991px) {
    .loyalty-header .user-status-badge {
        display: none;
    }

    .loyalty-header.small {
        aspect-ratio: auto;
    }
}