@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Geologica&display=swap');

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.background-layer2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2500px;
    z-index: -1;
    background: black url("/assets/bg/svg_bg_bon.svg") no-repeat center top;
    background-size: cover;
}


/* Заголовок и подпись */
.catalog-title-wrapper {
    margin-top: 72px;
    margin-left: 365px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.catalog-title-main {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 93px;
    color: white;
    margin: 0;
}

.catalog-title-sub {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: white;
    margin: -15px 0 0 5px; /* Чуть вверх и вправо для эффекта */
}

/* Адаптив */

@media (max-width: 1024px) {
    .catalog-title-wrapper {
        margin-top: 200px;
        margin-left: 40px;
    }

    .catalog-title-main {

        font-size: 48px;
        line-height: 64px;
    }

    .catalog-title-sub {
        font-size: 20px;
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    .catalog-title-main {
        font-size: 36px;
        line-height: 48px;
    }

    .catalog-title-sub {
        font-size: 16px;
        margin-top: -8px;
    }

    .catalog-title-wrapper {
        margin-left: 20px;
    }
}


.bonus-container {
    max-width: 1640px;
    margin: 100px auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 240px 200px;
    justify-content: center;
}

.bonus-block {
    position: relative;
    width: 480px;
}

.bonus-title {
    position: absolute;
    top: -40px;
    left: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.bonus-card {
    width: 100%;
    height: 180px;
    border-radius: 35px;
    background-size: cover;
    background-position: center;
}

.label {
    position: absolute;
    font-size: 32px;
    font-weight: 400;
    line-height: 44px;
    border-radius: 50px;
    padding: 2px 24px;
    white-space: nowrap;
    transform: rotate(-0.4deg);
}

.accumulation {
    background: #fff;
    color: #1c1c1c;
    top: 205px;
    left: 25px;
}

.discount {
    background: #8744a4;
    color: #fff;
    top: 260px;
    left: 25px;
    transform: rotate(-3.9deg);
}

/* ——— Адаптивность ——— */

/* ——— Адаптивность ——— */

@media (max-width: 1440px) {
    .bonus-container {
        gap: 180px 120px;
    }
}

@media (max-width: 1024px) {
    .bonus-container {
        gap: 180px 80px;
    }

    .label {
        font-size: 24px;
        padding: 4px 16px;
    }

    .bonus-title {
        font-size: 16px;
        top: -30px;
    }

    .label {
        border-radius: 35px;
    }
}

@media (max-width: 768px) {
    .bonus-container {
        gap: 100px 40px;
        margin: 0px auto;
    }
    .background-layer2 {
        position: fixed; /* фиксируется на экране */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: black url("/assets/bg/svg_bg_bon.svg") no-repeat center top;
        background-size: cover;
    }

    .bonus-block {
        width: 100%;
        max-width: 480px;
    }

    .accumulation {
        top: 195px;
    }

    .discount {
        top: 240px;
    }

    .label {
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .bonus-container {
        flex-direction: column;
        align-items: center;
        gap: 180px;
    }

    .label {
        line-height: 30px;
        font-size: 20px;
        padding: 4px 12px;
        border-radius: 20px;
    }

    .bonus-title {
        font-size: 14px;
    }

    .accumulation {
        top: 185px;
    }

    .discount {
        top: 225px;
    }
}


/* 1600px+ */
@media (min-width: 1600px) {
    .bonus-block {
        width: 560px;
    }

    .bonus-card {
        height: 210px;
    }

    .accumulation {
        top: 235px;
        left: 35px;
    }

    .discount {
        top: 295px;
        left: 35px;
    }
}

@media (min-width: 1900px) {
    .bonus-block {
        width: 600px;
    }

    .bonus-card {
        height: 230px;
    }

    .accumulation {
        top: 260px;
        left: 40px;
    }

    .discount {
        top: 320px;
        left: 40px;
    }


}





.qr-section {
    position: relative;
    padding: 200px 20px;
    max-width: 1640px;
    margin: 0 auto;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.qr-heading {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 64px;
    line-height: 93px;
    transform: rotate(0.44deg);
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.qr-subheading {
    font-size: 40px;
    font-weight: 500;
    transform: rotate(-1.05deg);
    margin: 20px auto 80px;
    text-align: center;
}

.qr-arrow {
    position: absolute;
    width: 114px;
    height: 147px;
    left: 50%;
    top:420px;
    transform: translateX(-50%);
    z-index: 3;
}

.qr-container {
    position: absolute;
    left: 60%;
    top: 570px;
    width: 360.85px;
    height: 358.81px;
    transform: rotate(-8.04deg);
    z-index: 2;
}

.qr-image {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-inside {
    position: absolute;
    width: 267.79px;
    height: 267.79px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qr-text-block {
    max-width: 700px;
    font-size: 32px;
    font-weight: 500;
    line-height: 39px;
    transform-origin: left;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.qr-text-block strong {
    font-weight: 700;
}

.qr-text-block.first {

    margin-top: calc(120px + 40px); /* QR 180px + небольшой отступ */



    transform: rotate(-1.15deg);
    margin-left: 40px;
}

.qr-text-block.second {
    transform: rotate(1.92deg);
    margin-left: 120px;
}

.qr-text-block.third {
    transform: rotate(-1.07deg);
    margin-left: 20px;
}

/* — Адаптивность — */
@media (max-width: 1024px) {
    .qr-heading {
        font-size: 48px;
        line-height: 64px;
    }

    .qr-subheading {
        font-size: 28px;
    }

    .qr-text-block {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .qr-heading {
        font-size: 38px;
        text-align: center;
    }
    .qr-section {

        padding: 100px 20px;

    }
    .qr-subheading {
        font-size: 22px;
        text-align: center;
    }

    .qr-arrow {
        position: absolute;

        left: 80px;
        margin: 0;
        width: 80px;
        height: auto;
        display: block;
        transform: none;
    }


    .qr-container {
        position: absolute;
        top: 400px;
        right: 20px;
        left: auto;
        margin: 0;
        width: 240px;
        height: 240px;
        transform: rotate(-8deg);
    }


    .qr-inside {
        width: 160px;
        height: 160px;
    }

    .qr-text-block {
        font-size: 20px;
        margin: 40px auto;
        text-align: center;
    }

    .qr-text-block.first {
        transform: rotate(-1.15deg);
        margin-left: 20px;
        margin-top: calc(220px + 40px); /* QR-код высота + отступ */
        text-align: left;
    }


    .qr-text-block.second {
        transform: rotate(1.92deg);
        margin-left: 40px;
        text-align: left;
    }

    .qr-text-block.third {
        transform: rotate(-1.07deg);
        margin-left: 20px;
        text-align: left;
    }

}

@media (max-width: 490px) {
    .qr-heading {
        font-size: 30px;
        line-height: 38px;
    }
    .qr-arrow {
        width: 60px;
        left: 80px;
        margin-top: -190px ;
    }

    .qr-container {
        width: 220px;
        height: 220px;
        top: 250px;
        right: 30px;
    }

    .qr-inside {
        width: 120px;
        height: 120px;
    }

    .qr-subheading {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .qr-container {
        width: 180px;
        height: 180px;
    }


    .qr-text-block {
        font-size: 18px;
        line-height: 26px;
        margin: 30px auto;
    }
}

.qr-social {
    position: absolute;
    top: calc(100% - 200px);
    right: 200px;
    display: flex;
    gap: 40px;
    z-index: 3;
}


.qr-social a {
    width: 64px;
    height: 64px;

    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.qr-social a img {
    width: 64px;/* или 24px, если нужно меньше */
    height: 64px;
    object-fit: contain;
}


.qr-social a:hover img {
    transform: scale(1.1);
}

/* — Адаптив — */
@media (max-width: 1024px) {
    .qr-social {
        position: relative;
        top: 80px;
        right: auto;
        justify-content: right;

    }
}
@media (max-width: 768px) {
    .qr-social {
        right: 40px;
    }

    .qr-social a {
        width: 56px;
        height: 56px;
    }

    .qr-social a img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .qr-social {
        right: 30px;
        gap: 30px;
    }

    .qr-social a {
        width: 48px;
        height: 48px;
    }

    .qr-social a img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 360px) {
    .qr-social {
        right: 20px;
        gap: 24px;
    }

    .qr-social a {
        width: 44px;
        height: 44px;
    }

    .qr-social a img {
        width: 20px;
        height: 20px;
    }
}
.back-button {
    position: absolute;
    top: 25%; /* ← стало 120px вместо 30px */
    left: 30px;
    z-index: 1000;
    background: linear-gradient(105deg, #8744a4, #d035e2);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(105deg, #9a57c6, #e14ae8);
}

@media (max-width: 480px) {
    .back-button {
        top: 160px;
        left: 16px;
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 400px) {
    .back-button {
        top: 160px;
    }
}

@media (max-width: 360px) {
    .back-button {
        top: 140px;
    }
}
