:root {
    --family-roboto500: 'Roboto500', sans-serif;
    --family-roboto600: 'Roboto600', sans-serif;
    --family-roboto700: 'Roboto700', sans-serif;
    --family-bebas300: 'BebasNeue300', sans-serif;
    --family-bebas700:  'BebasNeue700', sans-serif;
    --color-primary: #181818;
    --color-white: #ffffff;
    --color-pink: #FF1493;
    --font-size-large: 24px;
    --spacing-unit: 16px;
}
a:where([class]) {
    display: initial;;
}
::-moz-selection {
    background: #FF1493;
}
::selection {
    background: #FF1493;
}
*:focus {
    outline: none;
    box-shadow: none;
}
@font-face {
    font-family: 'Roboto500';
    src: url('../font/roboto/Roboto-Regular.ttf') format('woff2'),
         url('../font/roboto/Roboto-Regular.woff') format('woff'),
         url('../font/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Roboto600';
    src: url('../font/roboto/Roboto-Medium.ttf') format('ttf'),
    url('../font/roboto/Roboto-Medium.woff') format('woff'),
    url('../font/roboto/Roboto-Medium.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Roboto700';
    src: url('../font/roboto/Roboto-Bold.ttf') format('ttf'),
    url('../font/roboto/Roboto-Bold.woff') format('woff'),
    url('../font/roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'BebasNeue300';
    src: url('../font/bebasneue/BebasNeueProLight.ttf') format('ttf'),
    url('../font/bebasneue/BebasNeueProLight.woff') format('woff'),
    url('../font/bebasneue/BebasNeueProLight.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'BebasNeue700';
    src: url('../font/bebasneue/BebasNeueProBold.ttf') format('ttf'),
    url('../font/bebasneue/BebasNeueProBold.woff') format('woff'),
    url('../font/bebasneue/BebasNeueProBold.woff2') format('woff2');
    font-weight: normal;
}
body {
    font-family: var(--family-roboto);
    font-weight: 500;
    background-color: var(--color-primary);
    min-width: 320px;
    min-height: calc(100vh - 154px);
    max-width: 600px;
    margin: 0 auto;
}
.main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 12px 130px;
}
.section {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.row {
    display: flex;
}
.title {
    font-family: var(--family-roboto700);
    font-size: 17px;
    line-height: 26px;
    font-weight: normal;
    color: var(--color-white);
}
.description {
    font-family: var(--family-roboto500);
    font-size: 13px;
    font-weight: normal;
    line-height: 22px;
    color: var(--color-white);
    margin: 8px 0 0;
}

/*btn start*/
.btn {
    font-family: var(--family-bebas700);
    font-weight: normal;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn_pink {
    color: var(--color-white);
    background: var(--color-pink);
    padding: 12px 0;
    line-height: 10.65px;
    font-size: 16px;
}
.create-style__btn {
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 20px;
    display: flex;
    justify-content: space-between;
    padding: 13px 32px;
}
.create-style__balance {
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 13px;
    font-weight: normal;
    line-height: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.create-style__balance:before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../img/logo-balance-white.svg);
    display: block;
}
/*btn end*/

/*banner start*/
.banner {
    width: 100%;
    background: #00000052;
    border-radius: 20px;
    overflow: hidden;
}
.banner__container {
    height: 190px;
}
.banner__image,
.banner__info {
    flex: 0 0 50%;
}
.banner__image {
    position: relative;
}
.banner__image:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background-image: url(../img/effect/effect-banner-image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
}
.banner__image:after {
    content: '';
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg,rgba(16, 16, 16, 1) 2%, rgba(16, 16, 16, 0.97) 10%, rgba(16, 16, 16, 0) 100%);
    border-radius: 0 0 0 20px;
    z-index: 20;
}
.banner__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}
.banner__img {
    min-width: auto;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    z-index: 10;
}
.banner__info {
    padding: 28px 24px 28px 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.banner__title {
    font-family: var(--family-bebas700);
    color: var(--color-white);
    line-height: 26px;
    font-weight: normal;
}
.banner__title span {
    font-family: var(--family-bebas300);
    color: var(--color-white);
    line-height: 26px;
    font-weight: normal;
}
.banner__btn {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
}
/*banner end*/


/*headline start*/
.headline__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}
.headline__title {
    font-family: var(--family-roboto700);
    font-size: 17px;
    font-weight: normal;
    line-height: 26px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.headline__btn {
    position: relative;
}
.headline__btn-link {
    font-family: var(--family-roboto700);
    font-size: 13px;
    font-weight: normal;
    line-height: 26px;
    color: var(--color-pink);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.headline__btn-link:after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(../img/icon/icon-pink-arrow-right.svg);
}
.headline__image {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    border: 2px solid var(--color-white);
    overflow: hidden;
}
.headline__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*headline end*/



/*double block start*/
.double__row {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.double__col {
    flex: 0 0 calc(50% - 4px);
    flex-direction: column;
    text-decoration: none;
}
.double__image {
    position: relative;
}
.double__img {
    /*width: 164px;*/
    /*height: 120px;*/
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 18.31px 36.63px 0px #0000000A;
}
/*double block end*/

/*single block start*/
.single__img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}
/*single block end*/

/*expert start*/
.expert__image {
    position: relative;
}
.expert__img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}
.miniature {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 23vw;
    height: 23vw;
    border-radius: 100%;
    border: 3px solid var(--color-white);
    overflow: hidden;
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease-out,
    box-shadow 0.3s ease-out;
}
.miniature__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    transform: scale(1);
    transition: transform 0.5s ease;
}
/*expert end*/


/*all*/
.all__title {
    margin: 0 0 12px;
}
.all__row {
    gap: 7px;
    flex-wrap: wrap;
}
.all__col {
    flex: 0 0 calc(50% - 3.5px);
    text-decoration: none;
}
.all__img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
/*all */


/*select start*/
.select-avatar__native-option_select {
    font-weight: bold;
    background-color: #007bff;
    color: white;
}

.select-avatar {
    position: relative;
    width: 100%;
}

.select-avatar__header {
    font-family: var(--family-roboto500);
    font-weight: 300;
    font-size: 15px;
    color: var(--color-white);
    border-radius: 8px;
    background: #161616;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.select-avatar__header:after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../img/icon/icon-arrow-white-right.svg);
}

.select-avatar__native {
    display: none;
}

/* Модальное окно */
.select-avatar__modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #161616;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}
.select-avatar__modal:after {
    content: '';
    width: 36px;
    height: 4px;
    background: #212121;
    position: absolute;
    top: 8px;
    margin: auto;
    left: 0;
    right: 0;
}

.select-avatar__modal_show {
    transform: translateY(0);
}

.select-avatar__modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
}
.select-avatar__modal-title {
    font-family: var(--family-roboto700);
    font-weight: normal;
    color: var(--color-white);
    font-size: 17px;
    line-height: 26px;
    padding: 8px 0 0;
}
.select-avatar__modal-close-container {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
    border-radius: 100%;
    background: #212121;
}
.select-avatar__modal-close {
    border: none;
    transition: background-color 0.3s ease;
    width: 28px;
    height: 28px;
    background-image: url(../img/icon/icon-modal-close.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
}
.select-avatar__modal-content {
    padding: 10px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
}
.select-avatar__option {
    padding: 12px 0;
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 15px;
    line-height: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.select-avatar__option:after {
   content: '';
    width: 24px;
    height: 24px;
    background-image: url(../img/icon/icon-select-modal.svg);
    display: block;
}
.select-avatar__option_selected:after {
    content: '';
    background-image: url(../img/icon/icon-select-modal-active.svg);
}
.select-avatar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.select-avatar__overlay_show {
    opacity: 1;
    visibility: visible;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}
/*select end*/

/*generation click on btn create style start*/
/* Ключевые стили для модального окна */
.create-style__modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #161616;
    border-radius: 16px 16px 0 0;
    z-index: 1001;
    transform: translateY(100%);
}

.create-style__modal_show {
    transform: translateY(0);
}

.create-style__modal-content {
    padding: 40px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}
.create-style__modal-content:after {
    content: '';
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: #212121;
    position: absolute;
    margin: auto;
    top: 8px;
    left: 0;
    right: 0;
}


.create-style__animation {
    width: 150px;
    height: 150px;
    background-image: url(../img/effect/effect-circle-animation-generation.svg);
    position: relative;
}
.create-style__animation:after {
    content: '';
    width: 49px;
    height: 49px;
    background-image: url(../img/effect/effect-star-animation-generation.svg);
    background-size: contain;
    display: block;
}


.create-style__text {
    text-align: center;
    color: white;
    transition: opacity 0.5s ease;
}
.create-style__text-title {
    font-family: var(--family-roboto700);
    color: var(--color-white);
    font-size: 15px;
    font-weight: normal;
    line-height: 26px;
}
.create-style__text-subtitle {
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 13px;
    line-height: 18px;
}
.create-style__text-check {
    font-family: var(--family-roboto700);
    color: var(--color-pink);
    font-size: 15px;
    font-weight: normal;
    line-height: 26px;
    padding-bottom: 36px;
}

.create-style__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.create-style__overlay_show {
    opacity: 1;
    visibility: visible;
}

/* Анимации */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}
/*generation click on btn create style end*/

/*page balance*/
.volume-balance {
    width: 100%;
    height: 383px;
    padding: 8px 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.volume-balance__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.volume-balance__title {
    font-family: var(--family-roboto700);
    color: var(--color-white);
    font-size: 17px;
    line-height: 26px;
    font-weight: normal;
}
.volume-balance__num {
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.volume-balance__num:before {
    content: '';
    width: 36px;
    height: 36px;
    background-image: url(../img/logo-balance-pink-middle.svg);
    display: block;
}

.subtext-balance {
    text-align: center;
}
.subtext-balance__title {
    font-family: var(--family-roboto700);
    color: var(--color-white);
    font-size: 17px;
    line-height: 26px;
    font-weight: normal;
    padding: 0 0 4px;
}
.subtext-balance__subtitle {
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 13px;
    line-height: 18px;
    font-weight: normal;
}
.balance__pay-bot {
    margin: 40px 0 0;
}
.balance__pay-bot-btn {
    font-family: var(--family-bebas700);
    color: var(--color-white);
    font-size: 24px;
    line-height: 20px;
    padding: 13px 0;

}
/*page balance end*/

/*page expert-list start*/
.expert-list__container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/*page expert-list end*/


/*page expert-profile start*/
.expert-profile__avatars-info {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;
    min-height: 120px;
    background: #161616;
    border-radius: 20px;
    padding: 12px;
}
.expert-profile__avatars-image {
    width: 96px;
    height: 96px;
    border-radius: 100%;
    border: 4px solid var(--color-white);
    overflow: hidden;
}
.expert-profile__avatars-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-profile__info-name {
    font-family: var(--family-roboto600);
    color: var(--color-white);
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
}
.expert-profile__info-id {
    font-family: var(--family-roboto500);
    color: #707579;
    font-size: 15px;
    line-height: 22px;
}
.examples-work {
    margin: 24px 0 0;
}
.examples-work__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/*page expert-profile end*/

/*page feed start*/
.feed__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.feed__item {
    flex: 0 0 calc(50% - 4px);
}
.feed__image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 0 10px;
    position: relative;
}
.feed__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feed__client {
    display: flex;
    align-items: center;
    gap: 8px;
}
.feed__client-image {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    overflow: hidden;
}
.feed__client__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feed__client-name {
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-size: 13px;
    line-height: 26px;
    font-weight: normal;
}
.save-favorites {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 100;
}
.save-favorites__icon {
    width: 100%;
    height: 100%;
    background-color: #16161633;
    backdrop-filter: blur(14px);
    border-radius: 100%;

    background-image: url(../img/icon/icon-save-favorites.svg);
    background-repeat: no-repeat;
    background-position: center center;
}
.save-favorites_active .save-favorites__icon {
    background-color: #FF14931A;
    background-image: url(../img/icon/icon-save-favorites-active.svg);
}
/*page feed end*/

/*page profile start*/
.profile__info {
    width: 100%;
    min-height: 120px;
    background-color: #161616;
    border-radius: 20px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.profile__info-image {
    width: 96px;
    height: 96px;
    border-radius: 100%;
    position: relative;
}
.profile__info_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}
.profile__info-name {
    font-family: var(--family-roboto600);
    color: var(--color-white);
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
}
.profile__info-id {
    font-family: var(--family-roboto500);
    color: #707579;
    font-size: 15px;
    line-height: 22px;
}
.profile__info-edit {
    width: 36px;
    height: 24px;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
}
.profile__info-edit:after {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background-color: var(--color-pink);
    background-image: url(../img/icon/icon-profile-edit.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.invite__header {
    min-height: 133px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}
.invite__header-animate {
    width: 116px;
    height: 116px;
    position: relative;
    overflow: hidden;
}

.invite__header-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/effect/effect-circle-animation-profile.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: pulseScale 3s infinite;
}

@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.1); /* Резкое увеличение на 10% */
    }
    6% {
        transform: scale(1.095); /* Сразу начинаем плавно уменьшать */
    }
    20% {
        transform: scale(1.05);
    }
    40% {
        transform: scale(1.02);
    }
    70% {
        transform: scale(1.005);
    }
}
.invite__header-coin {
    width: 90px;
    height: 90px;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-image: url(../img/effect/effect-coin-profile.png);
    background-size: contain;
}
.invite__header-anons {
    font-family: var(--family-bebas700);
    color: var(--color-white);
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: normal;
}
.invite__header-anons span {
    color: var(--color-pink);
}

.invite__link-title {
    font-family: var(--family-roboto600);
    color: var(--color-white);
    font-size: 15px;
    line-height: 22px;
    font-weight: normal;
    margin: 0 0 8px;
}
.invite__button {
    margin: 16px 0 0;
}
.invite_btn {
    font-size: 18px;
    padding: 17px;
    line-height: 11px;
    font-weight: normal;
    letter-spacing: 0.5px;
}

/*copylink start*/
.link-copy {
    position: relative;
}
.link-copy__input {
    width: 100%;
    height: 48px;
    background-color: #161616;
    border-color: transparent;
    border-radius: 8px;
    font-family: var(--family-roboto500);
    color: var(--color-white);
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}
.link-copy__button {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background-color: transparent;
    background-image: url(../img/icon/icon-copy-link.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.link-copy__message {
    visibility: hidden;
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--family-roboto500);
    color: var(--color-pink);
    font-size: 10px;
}
.link-copy__message_show {
    visibility: visible;
}
.link-copy__button_copy {
    display: none;
}
.link-copy__checkmark.link-copy__checkmark_show {
    display: block;
}
.checkmark {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}
.check {
    transform-origin: 50% 50%;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    stroke-width: 2;
    stroke-miterlimit: 9;
    stroke: #FF1493;
    fill: none;
    animation: check 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.1s forwards;
}
@keyframes check {
    100% {
        stroke-dashoffset: 0;
    }
}

/*copylink end*/

.visibility {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 100;
}
.visibility__icon {
    width: 100%;
    height: 100%;
    background-color: #16161633;
    backdrop-filter: blur(14px);
    border-radius: 100%;
    background-image: url(../img/icon/icon-visibility.svg);
    background-repeat: no-repeat;
    background-position: center center;
}
.visibility_visible .visibility__icon {
    background-color: #FF14931A;
    background-image: url(../img/icon/icon-visibility-visible.svg);
}
.slider__item_invisible {
    display: none;
}
/*page profile end*/





