:root {
    --ui-background-gradient: linear-gradient(rgba(74, 74, 74, 0.42), rgba(151, 151, 151, 0.42));
    --ui-background-gradient-inverted: linear-gradient(rgba(151, 151, 151, 0.42), rgba(74, 74, 74, 0.42));
    --ui-menu-background-gradient: linear-gradient(rgba(55, 48, 82, 0.7), rgba(90, 80, 115, 0.7));
    --ui-glass-shadow: inset -0.5px -1px 0 0 rgba(255, 255, 255, 0.05),
        inset 0.5px 1px 0 0 rgba(255, 255, 255, 0.25);

    --text-color: rgba(255, 255, 255, 1);
    --pink: #ED5CAB;
    --pink-hover: #f074b8;
    --red: #ED497C;
    --red-hover: #ef5a89;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-color: var(--pink) transparent; /* thumb color, track color */
    scrollbar-width: thin;
    overscroll-behavior: contain; /* опционально — отключает "bounce" */
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
    height: 5px;
    margin-right: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgba(217, 217, 217, 0.2);
    border-radius: 2.5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--pink);
    border-radius: 2.5px;
}

img {
    pointer-events: none;
}

html {
    font-size: 11px;
}

@media (max-width: 1132px) {
    html {
        font-size: 8px;
    }
}

@media (max-width: 743px) {
    html {
        font-size: 7px;
    }
}

.body {
    width: 100dvw;
    height: 100vh;
    height: calc(var(--vh) * 100);
    /* background оставлен, как fallback, видимый фон у класса .lines */
    background: linear-gradient(to right, #090944, #c746ab);

    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
	font-style: normal;
    position: relative;
    color: var(--text-color);
    overflow-x: hidden;

    /*overflow: hidden;*/
}

@media (width <= 480px) {
    .body {
        background: linear-gradient(to right, #3a2360, #702974);
    }
}

/** Begin bg lines and circles */

.lines {
    position: fixed;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to right, #090944, #c746ab);
    z-index: -1;
    overflow: hidden;
}

.lines__img {
    width: 100%;
    height: calc(100vh + 100px);
    object-fit: cover;
    object-position: calc(50% + 3vw) calc(50% - 100px);
    mix-blend-mode: plus-lighter;
}

.lines__img--interests {
    
        /* background-image: url("../images/background-interests-pattern.06fff1d2332c.webp"); */
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    object-fit: contain;
    object-position: right 0 top 0;
    mix-blend-mode: plus-lighter;
}

@media (width <= 1439px) {
    .lines__img {
        object-position: 50% calc(50% - 100px);
    }
}

@media (width <= 1132px) and (orientation: portrait) {
    .lines__img {
        object-position: 70% calc(50% - 100px);
    }
}

@media (width <= 991px) {
    .lines__img {
        object-position: 70% calc(50% - 100px);
    }
}

@media (width <= 480px) {
    .lines {
        background: linear-gradient(to right, #3a2360, #702974);
    }
}

/** End bg lines and circles */

.container {
    max-width: 1440px;
    width: 100%;
    /* height: 100%; */
    height: 100vh;
    height: calc(var(--vh) * 100); /* 100% высоты экрана */
    /*overflow-y: auto; *//* Показывать скролл только при необходимости */
    margin: 0 auto;
    padding: 48px 20px;

    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    position: relative;

    /* overflow: hidden; */
}


@media (max-width: 1439px) {
    .container {
        width: calc(100vw - 80px);
        padding: 48px 10px;
        padding-bottom: 15px;

    }
}

@media (max-width: 1280px) {
    .container {
        width: 100vw;
        padding: 10px;
    }
}

@media (max-width: 743px) {
    .container {
        width: 100vw;
        width: calc(var(--vw) * 100);
        padding: 10px 20px; /* Адаптивы */
        max-height: 100vh;
        max-height: calc(var(--vh, 1vh) * 100); /* Адаптивы */
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.krissy-img {
    position: fixed;

    width: auto;
    height: 100vh;
    height: calc(var(--vh) * 100);
    object-fit: contain;

    bottom: 0;
    left: 45vw;

    z-index: 2;
}

@media (max-width: 1439px) {
    .krissy-img {
        right: 10vw;
        left: auto;
    }
}

@media (max-width: 1132px) and (orientation: portrait) {
    .krissy-img {
        max-height: 90vh;
        max-height: calc(var(--vh, 1vh) * 90);
        right: -10vw;
        right: calc(var(--vw) * -10);
    }
}

@media (max-width: 743px) {
    .krissy-img {
        max-height: 80vh;
        max-height: calc(var(--vh, 1vh) * 80);
        transform: translateX(10%);
        object-fit: contain;
        object-position: center bottom;
    }
}

@media (max-width: 480px) {
    .krissy-img {
        max-height: 68vh;
        max-height: calc(var(--vh, 1vh) * 68);
        transform: translate(3%, -96px);
    }

    .container:has(.main--auth) .krissy-img { 
        transform: translate(3%, -86px);
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .krissy-img {
        transform: translateX(10%);
    }
}

@media (max-width: 376px) {
    .krissy-img {
        max-width: 100vw;
        max-height: 68vh;
        max-height: calc(var(--vh, 1vh) * 68);
        transform: translate(0, -96px);
    }

    .container:has(.main--auth) .krissy-img { 
        transform: translate(0, -86px);
    }
}

@media (max-height: 700px) and (orientation: portrait) {
    .krissy-img {
        max-height: max(360px, 72vh);
        max-height: max(360px, calc(var(--vh) * 72));
        transform: translate(1%, -96px);
    }

    .container:has(.main--auth) .krissy-img {  
        transform: translate(-4%, -86px);
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.header__menu-button {
    width: 60px;
    height: 60px;

    margin-top: 2px;
    margin-left: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;

    color: var(--text-color);

    border: none;
    border-radius: 50%;

    backdrop-filter: blur(64px);
    -webkit-backdrop-filter: blur(64px);

    background: var(--ui-background-gradient);
    box-shadow: var(--ui-glass-shadow);

    cursor: pointer;
}

.header__menu-button:hover {
    background: var(--ui-background-gradient-inverted);
}

[data-open-menu] {
    z-index: 1;
}

.header__menu-button_hided {
    visibility: hidden;
    opacity: 0;
    user-select: none;
}

.scroll-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 10px 10px;
    background: linear-gradient(rgba(76, 54, 96, 0), rgba(76, 54, 96, 1) 78%);
    border: none; 
    cursor: pointer; 
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-out, visibility 0s ease-out .3s;
}  

@keyframes moveArrow {
    0%, 100% {
        transform: translateY(4px);
    }
    50% {
        transform: translateY(0);
    }
}

.scroll-btn img {
    height: 20px;
    opacity: 1;
    filter: invert(1);
    animation: moveArrow 1.5s linear infinite both;
}

.scroll-btn--show {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease-out, visibility 0s ease-out;
}

.header__logo {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-color);
}

/* .header__logo_img {
    height: auto; 
    width: 25%; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 1.2rem; 
    cursor: pointer;
    display: inline-block;
} */

.header__logo_link {
    width: 350px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    display: inline-block;
}

@media (max-width: 1280px) {
    .header__logo_link {
        width: 25%;
    }
}

.header__logo_img {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
}

.header__beta_img {
    /*display: block;*/
    /*height: 40% !important;*/ /* Фиксированная высота */
    /*width: auto;*/ /* Ширина изменяется автоматически */
    height: auto; /* Фиксированная высота  */
    width: 4vw; /* Ширина изменяется автоматически */
    margin-left: 12px;
}

.header__beta_img_mobil {
    display: none;
}

.header__beta_container{
    display: flex;
    flex-wrap: wrap; /* Чтобы элементы переносились, если не помещаются */
    align-items: center;
}

.header__filler {
    width: 60px;
    height: 60px;
}


@media (max-width: 1280px) {
    .header__menu-button {
        width: 48px;
        height: 48px;
    }

    .header__filler {
        width: 48px;
        height: 48px;
    }
}

.header__beta_img_mobil {
    display: none;
}

@media (max-width: 743px) {
    .header__menu-button {
        width: 40px;
        height: 40px;
    }
    /* Адаптивы */
    .header__beta_container {
        flex-direction: column;
    }
    /* Адаптивы */
    .header__beta_img {
        display: none;
    }

    .header__beta_img_mobil {
        font-size: 3.1rem;
        display: flex;
        text-align: center;
        color: #ec7edd;
        font-family: 'Eurofurence';
    }
/* 
    .header__filler {
        width: 32px;
        height: 32px;
    } */
}

.navmenu {
    display: flex;
    flex-direction: column;
    align-items: start;


    width: 373px;

    position: absolute;
    top: 0;
    left: 0;

    background: var(--ui-menu-background-gradient);
    box-shadow: var(--ui-glass-shadow);
    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px);
    border-radius: 30px;

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease-out;

    overflow: hidden;

    z-index: 3;
}

/*
@media (max-width: 743px) {
    .navmenu {
        max-width: 70%;
    }
}
*/

/* Адаптивы */
@media (max-width: 743px) {
    .navmenu {
        width: 100%;
        max-height: calc(100vh - 16px);
        max-height: calc(var(--vh, 1vh) * 100 - 16px);
    }
}

.navmenu__blur {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter .3s ease-in;
    z-index: 3;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    width: calc(var(--vw) * 100);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);

    visibility: hidden;
}

.navmenu__button {

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: none;
    border: none;
    border-radius: 30px 0 30px 0;

    transition: background .3s ease-in;

    cursor: pointer;
}

.navmenu__button:hover {
    background: #ffffff15;
}

.navmenu__list-links {
    width: 100%;
    max-height: calc(100vh - 72px - 10px);
    max-height: calc(var(--vh, 1vh) * 100 - 72px - 10px);
    overflow-y: auto;
}

.navmenu__mainlist {
    width: 100%;
    height: 100%;   
}

.navmenu__link {
    display: flex;
    align-items: center;

    font-size: 2rem;
    font-weight: 600;
    line-height: 120%;

    text-decoration: none;

    color: #ADACB9;

    transition: background .2s ease-out;
    padding: 5px 20px;
}

.navmenu__link:hover {
    background: #ffffff15;
}

.navmenu__link_unavailable {
    pointer-events: none;
    opacity: .5;
}

.navmenu__mainlist .navmenu__link:last-child {
    margin-bottom: 12px;
}

.navmenu__link-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 20px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);
    overflow: hidden; /* Чтобы картинка внутри не выходила за пределы */
}

.navmenu__link_current .navmenu__link-icon {
    background: var(--pink);
}

.navmenu__link-icon_krissy {
    /* background: #63515d7a; */
    background: linear-gradient(45deg, #a7139e, #f404b2);
    overflow: hidden;
}

.navmenu__link-icon_krissy img {
    width: 100%;
    height: auto;
    display: block;
    /* height: calc(100% + 4px); */
    /* margin-top: 4px; */
    object-fit: contain;
}


.navmenu__exit {
    width: 100%;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0 7px 0;
}

.navmenu__social {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    margin-bottom: 5px;
    margin-top: 30px;
}

.navmenu__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;

    transition: transform .2s ease-out;
}

.navmenu__social-link:hover {
    transform: scale(1.2);
}

.navmenu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    font-size: 1.3rem;
    font-weight: 400;
    line-height: 120%;

    padding: 10px 0 24px;

    color: rgba(255, 255, 255, 0.5);
}

.navmenu__footer a {
    color: rgba(255, 255, 255, 0.5);

    margin-bottom: 3px;
}

.navmenu__footer p {
    font-family: "Nunito Sans";
}

.header-menu {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* width: 256px; */
    width: 280px;

    position: absolute;
    top: 0;
    left: 0;

    background: var(--ui-menu-background-gradient);
    box-shadow: var(--ui-glass-shadow);
    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px);
    border-radius: 30px;

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease-out;

    overflow: hidden;

    z-index: 4;
}

.header-menu__header {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-menu__heading {
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.3rem;
}

.header-menu__close-button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: none;
    border: none;
    border-radius: 30px 0 30px 0;

    transition: background .3s ease-in;

    cursor: pointer;
}

.header-menu__close-button:hover {
    background: #ffffff15;
}

.header-menu__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 80vh;
    min-height: calc(var(--vh, 1vh) * 80);
    max-height: calc(100vh - 76px - 10px);
    max-height: calc(var(--vh, 1vh) * 100 - 76px - 10px);
    padding: 18px 0;
    overflow-y: auto;
}

.header-menu__button {
    display: flex;
    align-items: center;

    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.92rem;

    background: none;
    border: none;

    text-decoration: none;

    color: #ADACB9;

    transition: background .2s ease-out;
    padding: 18px 33px;
    cursor: pointer;
}

.header-menu__button_active {
    color: #ffffff;
}

.header-menu__button:hover {
    background: #ffffff15;
}

.header__close svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 743px) {
    .header__close svg {
        width: 32px;
        height: 32px;
    }
}

.main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding-top: 8vh;
    padding-top: calc(var(--vh, 1vh) * 8);
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main {
        margin-top: 10vh;
        margin-top: calc(var(--vh, 1vh)*10);
        align-items: stretch;
        padding-top: 0;
    }

    .main--auth {
        margin-top: 6vh;
        margin-top: calc(var(--vh, 1vh)*6);
    }
}

/* @media (max-width: 1439px) {
    .main {
        margin-top: 156px;
    }
}
@media (max-width: 1132px) {
    .main {
        margin-top: 80px;
    }
}
*/
/*
@media (max-width: 743px) {
    .main {
        margin-top: 7vh;
    }
} 
*/
/* Адаптивы */
@media (max-width: 743px) {
    .main {
        margin-top: 7vh;
        margin-top: calc(var(--vh, 1vh) * 7);
    }

    .header-menu {
        width: 100%;
        font-family: "Nunito Sans", sans-serif;
    }

    .header-menu__button {
        font-size: 2.8rem;
        line-height: 2.4rem;
    }

    .header-menu__heading {
        font-size: 3rem;
        font-family: "Nunito Sans", sans-serif;
    }

    .navmenu__link {
        font-size: 2.2rem;
    }

    .navmenu__social {
        margin-top: 5%;
    }

    .navmenu__footer {
        font-size: 1.5rem;
        line-height: 150%;
        padding: 5% 0;
    }
} 

@media (max-width: 480px) {
    .main {
        margin-top: 17vh;
        margin-top: calc(var(--vh, 1vh) * 17);
    }

    .main--auth {
        margin-top: 19vh;
        margin-top: calc(var(--vh, 1vh) * 19);
    }

    .header-menu__list {
        padding-top: 0;
        min-height: calc(100vh - 76px - 10px);
        min-height: calc(var(--vh, 1vh) * 100 - 76px - 10px);
    }

    .header-menu__button {
        padding: 18px 24px;
    }

    .navmenu__link {
        padding: 8px 20px;
    }

    .navmenu__link-icon {
        width: 37px;
        height: 37px;
        margin-right: 12px;
    }

    .navmenu__social {
        margin-top: 3%;
    }
}

@media (max-height: 600px) {
    .main {
        margin-top: 8vh;
        margin-top: calc(var(--vh, 1vh) * 8);
    }
}

.main__row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main__row {
        align-items: flex-end;
    }
}

.main--auth .main__row {
    align-items: flex-end;
}

.main__column:first-child {
    width: 40%;
    margin-right: 5vw;

    z-index: 2;
}

.main--auth .main__column:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 1439px) {
    .main__column:first-child {
        width: 35%;
    }
}

@media (max-width: 1132px) {
    .main__column:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 53%;
        height: 100%;
        margin-right: 2vw;
    }
}

@media (max-height: 743px) and (orientation: landscape) {
    .main--auth .main__row {
        align-items: stretch;
    }

    .main__column:first-child {
        width: 32%;
    }

    .main--auth .main__column:first-child {
        justify-content: space-between;
        height: auto;
    }

    .main__donate-block {
        margin-bottom: 36px;
    }
}

/*
@media (max-width: 743px) {
    .main__column:first-child {
        margin-right: 0;
        width: 100%;
        height: 100%;

        padding-top: 5vh;
        padding-bottom: 15px;
    }
}
*/
/* Адаптивы */
@media (max-width: 743px) {
    .header__logo_link {
        width: 40%;
    }
    /* .header__logo_img {
        width: 40%;
    } */


    .main__column:first-child {
        margin-right: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .main__column:first-child {
        padding-bottom: 0;
    }
}

@media (max-height: 480px) and (orientation: portrait) {
    .body:has(.main__row) .header__logo_link {
        display: none;
    }
}


.main__column:nth-child(2n) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 30%;
    padding-top: 10vh;
    padding-top: calc(var(--vh, 1vh) * 10);
    margin-right: auto;

    z-index: 2;
}

@media (max-width: 1439px) {
    .main__column:nth-child(2n) {
        margin-right: 40px;
        padding-top: 13vh;
        padding-top: calc(var(--vh, 1vh) * 13);
    }
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main__column:nth-child(2n) {
        display: none;
    }
}

@media (max-width: 743px) {
    .main__column:nth-child(2n) {
        display: none;
    }
}


.main__column:nth-child(3n) {
    display: flex;
    justify-content: end;
    align-items: flex-start;
    width: 30%;
    padding-top: 16vh;
    padding-top: calc(var(--vh) * 16);
    padding-bottom: 12vh;
    padding-bottom: calc(var(--vh) * 12);
    z-index: 2;
}

/* @media (max-width: 1439px) {
    .main__column:nth-child(3n){
        width: 300px;
        padding-top: 260px;
    }
} */

@media (max-width: 1280px) {
    .main__column:nth-child(3n) {
        padding-top: 26vh;
        padding-top: calc(var(--vh) * 26);
        padding-bottom: 4vh;
        padding-bottom: calc(var(--vh) * 4);
    }

    .main--auth .main__column:nth-child(3n) {
        padding-top: 30vh;
        padding-top: calc(var(--vh) * 30);
        padding-bottom: 0;
    }
}

@media (max-width: 1132px) {
    .main__column:nth-child(3n) {
        width: 32%;
        height: 100%;
        align-items: center;
        padding-top: 18vh;
        padding-top: calc(var(--vh) * 18);
        padding-bottom: 0;
    }
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main__column:nth-child(3n) {
        align-items: flex-end;
        width: 40%;
    }
}

@media (max-width: 743px) {
    .main__column:nth-child(3n) {
        display: none;
        padding-top: 140px;
    }
}

/* @media (min-height: 1080px){
    .main__column:nth-child(3n) {
        align-items: end;
        padding-bottom: 150px;
    }
} */

.main__title {
    font-size: 8rem;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;

    color: var(--text-color);

    margin-bottom: 9vh;
    margin-bottom: calc(var(--vh) * 9);
}

.main--auth .main__title {
    font-size: 6rem;
    line-height: 115%;
    margin-bottom: 5vh;
    margin-bottom: calc(var(--vh) * 5);
}

@media (max-width: 1439px) {
    .main__title {
        font-size: 70px;
    }

    .main--auth .main__title {
        font-size: 4.6rem;
    }
}

@media (max-width: 1280px) {
    .main--auth .main__title {
        font-size: 4.4rem;
        margin-bottom: 2vh;
        margin-bottom: calc(var(--vh) * 2);
    }
}

@media (max-width: 1132px) {
    .main__title {
        /* font-size: 55px; */
        margin-bottom: 6vh;
        margin-bottom: calc(var(--vh) * 6);
    }

    .main--auth .main__title {
        font-size: 5.6rem;
    }
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main--auth .main__title {
        font-size: 7vw;
    }
}

@media (max-width: 743px) {
    .main__title {
        width: 60%;
        font-size: 7rem;
        margin-bottom: 4vh;
        margin-bottom: calc(var(--vh, 1vh) * 4);
        order: -3;
    }

    .main--auth .main__title {
        width: 100%;
    }
}

/*
@media (max-height: 743px) and (orientation: landscape) {
    .main__title {
        font-size: 55px;
        line-height: 55px;
        margin-bottom: 4vh;
    }
}
*/
/* Адаптивы */
@media (max-height: 743px) and (orientation: landscape) {
    .main__title {
        /* font-size: 70px; */
        font-size: 5.5rem;
        margin-bottom: 4vh;
        margin-bottom: calc(var(--vh, 1vh) * 4);
        order: -3;
    }
}

@media screen and (max-width: 480px) {
    .main__title {
        font-size: 8vw;
        line-height: 120%;
    }

    .main--auth .main__title {
        font-size: 6.4vw;
    }
}

@media screen and (max-width: 376px) {
    .main__title {
        font-size: 7vw;
    }

    .main--auth .main__title {
        font-size: 6vw;
    }
}

.main__title_pink {
    color: var(--pink);
    font-weight: 700; /* Адаптивы */
}

.main__start-chat-button {

    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 60px;

    background-color: var(--pink);

    border: none;
    border-radius: 30px;

    font-size: 1.7rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;

    color: var(--text-color);

    cursor: pointer;

    transition: background .2s ease-out;
}

.main__start-chat-button:hover {
    background-color: var(--pink-hover);
}

.main__message {
    font-family: "Rubik";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 120%;

    max-width: 328px;
    max-height: 210px;

    color: var(--text-color);

    border-radius: 3rem;

    padding: 20px;

    background: var(--ui-background-gradient);
    box-shadow: var(--ui-glass-shadow);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);

    overflow: hidden;

    /* overflow-y: scroll; */
}

@media (max-width: 1132px) {
    .main__message {
        max-width: 280px;
        max-height: 181px;
    }
}

@media (max-width: 1132px) and (orientation: landscape) {
    .main__message{
        max-height: 200px;
    }
}

.main__column:nth-child(2n) .main__message {
    max-width: 300px;
}

@media (max-width: 1132px) {
    .main__column:nth-child(2n) .main__message {
        max-width: 280px;
    }
}

.main__message-text {
    padding-right: 6px;
    font-size: 1.45rem;
    line-height: 120%;
    max-height: 173px;
    overflow-y: auto;
}

@media (max-width: 1132px) {
    .main__message-text {
        font-size: 1.8rem;
        max-height: 143px;
        line-height: 110%;
    }
}

@media (max-width: 1132px) and (orientation: landscape) {
    .main__message-text {
        max-height: 159px;
    }
}

@media (max-width: 743px) {
    .main__message-text {
        max-height: 141px;
        overflow-y: auto;
    }
}

.main__message-text::-webkit-scrollbar {
    width: 4px; /* Ширина полосы прокрутки */
}

.main__message-text::-webkit-scrollbar-thumb {
    background-color: #dd67aa; /* Цвет ползунка */
    border-radius: 4px;
}

.main__message_voice {
    display: flex;
    align-items: center;
    /* justify-content: center; */

    margin-top: 4vh;
    margin-top: calc(var(--vh, 1vh) * 4);

    padding: 2rem;
}

.second-column__mobile {
    display: none;
}

.second-column__mobile .main__message_voice {
    margin-bottom: 1vh;
    margin-bottom: var(--vh, 1vh);
}

.second-column__mobile + .desk {
    margin-top: 3vh;
    margin-top: calc(var(--vh, 1vh) * 3);
}

.contact-us {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
}

.contact-us__heading {
    margin-top: 50px !important;
}

.contact-us__input {
    text-align: left !important;
    padding-left: 25px;
    margin-bottom: 10px;
}

.contact-us__message {
    font-family: "Nunito Sans";
    resize: none;

    text-align: left !important;
    height: 150px !important;

    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;

    margin-bottom: 15px;
}

@media (max-width: 1132px) and (orientation: portrait) {
    .second-column__mobile {
        display: flex;
        flex-direction: column-reverse;
        align-items: start;
        z-index: 3;
        height: 100%;
    }

    .second-column__mobile .main__message {
        width: 100%;
        max-width: 400px;
    }

    .second-column__mobile .main__message_voice {
        width: 100%;
        max-width: 280px;
        margin-top: 0;

    }

    .mobil_button_enter {
        display: none;
    }
}

/*
@media (max-width: 743px) {
    .second-column__mobile {
        display: flex;
        flex-direction: column-reverse;
        align-items: start;
    }

    .second-column__mobile .main__message {
        width: 100%;
        max-width: 100%;
        max-height: 108px;

    }

    .second-column__mobile .main__message-text {
        height: 100%;
        max-height: 68px;
        overflow-y: auto;
    }

    .second-column__mobile .main__message_voice {
        margin-top: 8px;

        width: fit-content;
        height: 52px;
    }

    .main__message_voice .voice-message__button {
        width: 30px;
        height: 30px;
    }

    .main__message_voice .voice-message__button svg {
        width: 15px;
        height: 15px;
    }

    .main__message_voice .voice-message__wave svg {

        width: 97px;
        height: 14px;

    }
}

@media (width <= 480px) {
    .second-column__mobile{
        order: 2;
    }

    .second-column__mobile+.ui-button {
        order: 1;
        width: 40vw;
        margin-bottom: auto;
    }
}
*/
/* Адаптивы */

@media (max-width: 743px) {
    .second-column__mobile {
        display: flex;
        flex-direction: column-reverse;
        align-items: start;
    }

 /*   @import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');*/

    .second-column__mobile .main__message {
        width: 100%;
        max-width: 400px;
        order: -3;
        font-family: "Nunito Sans", sans-serif;
    }

    .main--auth .second-column__mobile .main__message:not(.main__message_voice) {
        display: none;
    }

    .second-column__mobile .main__message-text {
        height: 76px;
        overflow-y: auto;
        font-size: 2rem;
    }

    .second-column__mobile .main__message_voice {
        order: -1;
        width: fit-content;
        height: 52px;
        margin-bottom: 2vh;
        margin-bottom: calc(var(--vh, 1vh) * 2);
        z-index: 1;
    }

    .main__message_voice .voice-message__button {
        width: 30px;
        height: 30px;
    }

    .main__message_voice .voice-message__button svg {
        width: 15px;
        height: 15px;
    }

    .main__message_voice .voice-message__wave svg {

        width: 97px;
        height: 14px;

    }

    .mobil_button_enter {
        display: none;
    }
}

@media (max-height: 743px) and (orientation: landscape) {
    .desk {
        max-width: 24rem;
    }
}

@media (width <= 480px) {
    .second-column__mobile{
        display: flex;
        flex-direction: column-reverse;
        z-index: 1;
    }

    .second-column__mobile .main__message {
        max-width: 100%;
        padding: 16px;
    }

    .second-column__mobile .main__message_voice {
        padding-left: 8px;
        padding-right: 10px;
        height: 44px;
    }

    .second-column__mobile .main__message-text {
        height: 54px;
        padding-right: 6px;
        font-size: 2.4rem;
    }

    .second-column__mobile+.ui-button {
        order: -1;
        width: 100%;
        margin-bottom: auto;
    }

    .mobil_button_enter {
        display: flex;
        width: 100%;
        order: -2;
        font-size: 18px;
        font-weight: 800;
        margin-bottom: var(--vh, 1vh);
    }

    .desk {
        display: none;
    }
}

@media (width <= 376px) {
    .second-column__mobile .main__message-text {
        height: 60px;
        font-size: 1.8rem;
        line-height: 120%;
    }
}

.footer {
    z-index: 2;
}

/*
@media (max-width: 743px) {
    .footer {
        display: none;
    }
}
*/
/* Адаптивы */
@media (max-width: 743px) {
    .footer {
        display: none;
    }
}

.footer__contact-link {
    font-size: 1.6rem;
    font-weight: 600;

    color: #ED5CAB;

    opacity: .5;
}

.footer__reviews-link {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.92rem;

    color: rgba(255, 255, 255, 0.71);
}


.custom-scroll-btn {
    background: transparent; /* Прозрачный фон */
    border: none; /* Убираем границу */
    cursor: pointer; /* Делаем кнопку кликабельной */
    padding: 0; /* Убираем лишние отступы */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-scroll-btn img {
/* .custom-scroll-btn svg { */
/*fill: var(--text-color);*/ /* Работает для SVG */
    width: auto; /* Размер иконки */
    height: 20px;
    opacity: 0.8; /* Полупрозрачность */
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: invert(1); /* Инвертирует цвета (чёрный → белый) */
}

.custom-scroll-btn:hover img {
    opacity: 1; /* Делаем ярче при наведении */
    transform: translateY(3px); /* Двигаем вниз */
}

.custom-scroll-btn + .tariff__size {
    margin-top: 10px;
}

.admin-link {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}

.admin-icon {
    width: 36px;
    height: 36px;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.2s;
}

.admin-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    cursor: pointer;
}

.main__donate-block {
    width: 90%;
}

@media (max-width: 1132px) and (orientation: portrait) {
    .main__donate-block {
        margin-top: var(--vh);
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 743px) and (orientation: landscape) {
    .main__donate-block {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .main__donate-block {
        max-width: 100%;
    }
}

.main__last-donates {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-height: 96px;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: var(--vh);
    z-index: 2;
    overflow: hidden;
    color: var(--text-color);
    background: linear-gradient(transparent, var(--text-color) 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@supports not (background-clip: text) {
    .main__last-donates {
        color: var(--text-color);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

.main__last-donates p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1132px) {
    .main__last-donates {
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .main__last-donates {
        padding-left: 16px;
        text-align: left;
    }
}

.main__donate-goal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main__donate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@media (max-width: 480px) {
    .main__donate-content {
        flex-direction: row;
    }
}

.main__donate-goal_outside {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 1.6rem 1.6rem;
    z-index: 1;
    background-image: linear-gradient(rgba(158, 98, 162, .2) 20%, rgba(158, 98, 162, 0)); 
    border-radius: 30px;
    box-shadow: 
        inset 0px -1px 0 0 rgba(255, 255, 255, .05), 
        inset 0px 1px 0 0 rgba(255, 255, 255, 0.25);
    text-align: center;
}

@media (max-width: 480px) {
    .main__donate-goal_outside {
        padding: 1.6rem;
        border-radius: 20px;
    }
}

.main__donate-heading {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 7px;
}

@media (max-width: 480px) {
    .main__donate-heading {
        margin-bottom: 10px;
    }
}

.main__donate-bar-wrapper {
    width: 100%;
    height: 32px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, .03);
    box-shadow: inset -0.5px -1px 0 0 rgba(255, 255, 255, 0.25);
    padding: 3px;
    position: relative;
}

@media (max-width: 480px) {
    .main__donate-bar-wrapper {
        height: 24px;
        padding: 2px;
    }
}

.main__donate-bar {
    background-color: var(--pink);
    box-shadow: var(--ui-glass-shadow);
    width: 0%;
    height: 100%;
    border-radius: 33px;
}

.main__donate-money {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 4px;
}

@media (max-width: 1132px) {
    .main__donate-money {
        padding-top: 2px;
    }
}

@media (max-width: 743px) {
    .main__donate-money {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .main__donate-money {
        line-height: 20px;
    }
}

.main__donate-money-current {
    font-size: 1.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    margin-right: 10px;
    margin-top: -4px;
}

@media (max-width: 1132px) {
    .main__donate-money-current {
        margin-top: -2px;
    }
}

@media (max-width: 743px) {
    .main__donate-money-current {
        font-size: 1.8rem;
        margin-right: 4px;
    }
}

.main__donate-money-goal {
    margin-left: 10px;
}

@media (max-width: 743px) {
    .main__donate-money-goal {
        margin-left: 4px;
    }
}

.main__donate-button {
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 100%;
    background-color: var(--pink);
    text-decoration: none;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    box-shadow: var(--ui-glass-shadow);
    border: none;
    border-radius: 30px;
    transition: background .2s ease-out;
    cursor: pointer;
    padding: 12px 16px 10px;
    margin-top: 8px;
}

.main__donate-button:hover{
    background-color: var(--pink-hover);
}

@media (max-width: 480px) {
    .main__donate-button {
        margin-left: 8px;
        margin-top: 0;
    }
}
