/* Bonuses Block Styles */

.bonus-block {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 36px;
    margin: 24px 0;
    box-sizing: border-box;
}

.bonus-block__container {
    max-width: 100%;
}

.bonus-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    padding: 12px 0;
}

.bonus-block__header-right {
    display: none;
}

@media (min-width: 769px) {
    .bonus-block__left .bonus-block__header-right {
        display: none;
    }
    
    .bonus-block__right .bonus-block__header-right {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 21px;
        width: 100%;
        max-width: 100%;
        max-height: 70px;
        box-sizing: border-box;
    }
}

.bonus-block__logo-wrapper {
    flex-shrink: 0;
}

.bonus-block__logo {
    max-width: 185px;
    height: auto;
    object-fit: contain;
}

.bonus-block__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    color: #34363D;
    margin-right: 36px;
    white-space: nowrap;
}

.referral-button {
    width: calc(50% - 6px);
    min-width: 150px;
    max-width: 100%;
    height: 70px;
    position: relative;
    font-family: "Manrope", sans-serif;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    padding: 0;
    flex: 1 1 calc(50% - 6px);
}

.referral-code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF9E6;
    border: 2px dashed #FFC107;
    border-radius: 9px;
    box-sizing: border-box;
}

.referral-button:hover .referral-code-background {
    background-color: #FFF5D6;
}

.referral-code-main {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #5DB24C;
    color: white;
    padding-left: 20px;
    display: flex;
    align-items: center;
    border-radius: 10px 0 0 10px;
    width: 75%;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    z-index: 1;
}

.referral-button:hover .referral-code-main {
    background-color: #4a9c3d;
}

.referral-label {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.referral-code-fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 10px 10px 0;
    pointer-events: none;
    box-sizing: border-box;
}

.referral-code-fold::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 100%;
    background-color: #EFF7ED;
    transform: skewX(-15deg);
    transform-origin: top right;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* .referral-code-fold::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 25px;
    background-color: #EFF7ED;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
} */

.referral-code-value {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
}

.referral-star {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.referral-button .referral-star path {
    fill: #FFC107;
}

.goto-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    background: #5DB24C;
    color: #FFFFFF;
    border-radius: 10px;
    width: calc(50% - 6px);
    font-weight: 600;
    font-family: 'Manrope', serif;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.goto-button:hover {
    background: #4fa33f;
}

.goto-button .gift-icon-wrapper {
    width: 54px;
    height: 54px;
    background: #FFFFFF;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bonus-block__content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 36px;
    align-items: start;
}

.bonus-block__left {
    display: flex;
    flex-direction: column;
}

.bonus-block__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
    margin-right: 30px;
    min-height: 100%;
}

.bonus-block__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-card {
    border-radius: 10px;
    padding: 24px;
}

.bonus-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bonus-card__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #34363D;
}

.bonus-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFC10726;
    color: #34363D;
    padding: 11px 16px;
    border-radius: 100px;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 12px;
}

.bonus-card__badge svg {
    width: 12px;
    height: 12px;
}

.bonus-card--exclusive {
    background: #FFC1071A;
    border: 1px solid #FFC107;
}

.bonus-card--standard {
    background: #F8F8F8;
    border: 1px solid #E6E6E6;
}

.bonus-card__offer {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #34363D
}

.bonus-block__verified {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-block__verified svg {
    flex-shrink: 0;
}

.bonus-block__verified span {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #908F8F;
}

.bonus-block__description p {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #34363D;
}

.bonus-block__disclaimer {
    margin-top: auto;
}

.bonus-block__disclaimer p {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #ACACB5;
}

@media (max-width: 1600px) {
    .bonus-block__title {
        font-size: 40px;
    }
    .goto-button {
        gap: 10px;
    }
    .referral-code-main {
        left: 0;
    }

}
@media (max-width: 1400px) {
    .bonus-block__title {
        font-size: 38px;
    }
    .bonus-block {
        padding: 16px;
    }
}
@media (max-width: 900px) {
    .bonus-block__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bonus-block {
        padding: 20px;
        border-radius: 16px;
        margin: 16px 0;
    }
    
    .bonus-block__content {
        display: flex;
        flex-direction: column;
    }
    
    .bonus-block__left {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .bonus-block__right {
        display: flex;
        flex-direction: column;
    }
    
    .bonus-block__header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        padding: 0;
        order: 1;
    }
    
    .bonus-block__logo-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .bonus-block__logo {
        max-width: 190px;
    }
    
    .bonus-block__title {
        font-size: 28px;
        margin-right: 0;
        text-align: center;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100%;
    }
    
    .bonus-block__left .bonus-block__header-right {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
        max-height: none;
        width: 100%;
        order: 2;
    }
    
    .bonus-block__right .bonus-block__header-right {
        display: none;
    }
    
    .bonus-block__cards {
        order: 3;
    }
    
    .bonus-block__verified {
        order: 4;
    }
    
    .bonus-block__description {
        order: 5;
    }
    
    .bonus-block__disclaimer {
        order: 6;
    }
    
    .referral-button,
    .goto-button {
        width: 100%;
        font-size: 20px;
        line-height: 140%;
        height: 70px !important;
        min-height: 70px;
        flex: 1 1 100%;
    }
    
    .referral-code-text {
        display: inline;
        margin-left: 8px;
    }
    
    .referral-label {
        font-size: 20px;
    }
    
    .referral-code-value {
        right: 16px;
    }
    
    
    .goto-button {
        gap: 16px;
        padding: 6px;
    }
    
    .goto-button .gift-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .bonus-block__right {
        margin-right: 0;
    }
    
    .bonus-card {
        padding: 24px;
    }
    
    .bonus-card__title {
        font-size: 16px;
    }
    
    .bonus-card__offer {
        font-size: 22px;
    }
    
    .bonus-block__description p {
        font-size: 16px;
    }
    
    .bonus-block__verified span {
        font-size: 13px;
    }
    
    .bonus-block__disclaimer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .bonus-block {
        padding: 12px;
        border-radius: 12px;
    }
    
    .bonus-block__logo {
        max-width: 160px;
    }
    
    .bonus-block__title {
        font-size: 22px;
    }
    
    
    .goto-button .gift-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .bonus-card__title {
        font-size: 14px;
    }
    
    .bonus-block__description p {
        font-size: 14px;
    }
}
