/* Root */
html,
body {
    color-scheme: dark !important;
    scroll-behavior: smooth !important;
    text-rendering: optimizelegibility !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-font-smoothing: antialiased !important;
    background-color: var(--background) !important;
    font-family: 'Lato', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
	color: var(--text) !important;
}

* {
    padding: 0;
    margin: 0;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    cursor: default;
}

a {
    transition: 0.3s !important;
    cursor: pointer !important;
    color: var(--primary);
    text-decoration: none !important;
}

input {
    outline: none;
    transition: 0.3s;
    padding: 16px;
    padding-left: 55px;
    border-radius: 4px;
    background: var(--background);
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
}

select {
	outline: none;
	display: block;
	width: 100%;
    transition: 0.3s;
    padding: 16px;
    padding-right: 2.25rem;
    padding-left: 55px;
    border-radius: 4px;
    background-color: var(--background);
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
	-webkit-appearance: none;
	appearance: none;
	background-image: var(--bs-form-select-bg-img);
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: 16px 12px;
}

button {
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    padding: 13px 20px 13px 20px;
    align-items: center;
    gap: 15px;
    border: none;
    border-radius: 4px !important;
    background: var(--primary);
    color: var(--dark-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.91px;
    font-family: 'Lato', sans-serif;
}

button img {
    width: 24px;
    height: 24px;
}

a:hover,
button:hover {
    opacity: 0.8;
}

a:active,
button:active {
    opacity: 0.5;
}

button:disabled {
    background: var(--secondary);
    color: var(--text);
}


.secondary {
    background: var(--secondary);
    color: var(--text);
}

.app-logotype {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-logotype img {
    width: 55px;
    height: 55px;
    -o-object-fit: contain;
    object-fit: contain;
}

.app-logotype div h1 {
    color: var(--text);
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
	margin-bottom: 0 !important;
}

.app-logotype div h2 {
    color: var(--primary);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
	margin-bottom: 0 !important;
    letter-spacing: 1.65px;
}

/* Header */

header {
    position: absolute;
    z-index: 123456;
    width: 100%;
    height: 200px;
    top: 0;
    left: 0;
    background-image: url(../pics/header.png);
    background-size: cover;
    background-repeat: no-repeat;
    white-space: nowrap;
}

header .content {
    margin: auto;
    margin-top: 25px;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 75px;
}

header .content .links {
    display: flex;
    align-items: center;
    gap: 35px;
}

header .content .links a {
    display: flex;
    align-items: center;
    gap: 12px;
}

header .content .links a div {
    border-radius: 4px;
    display: flex;
    width: calc(32px - 8px * 2);
    height: calc(32px - 8px * 2);
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: var(--background);
}

header .content .links a div img {
    color: var(--text);
    width: 18px;
    height: 18px;
}

header .content .links a h2 {
    color: var(--text);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.91px;
    margin-top: 3px;
}

header .content .links .active h2 {
    color: var(--primary);
}

header .content .links .active div {
    background: var(--secondary);
}

header .content .links .active div img {
    color: var(--primary);
}

header .content .manage {
    display: flex;
    align-items: center;
    gap: 25px;
}

header .content .manage .media {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    height: 24px;
}

header .content .manage .media img {
    margin-top: -5px;
}

header .content .manage .link {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain;
}

.media-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    -webkit-backdrop-filter: blur(64px);
    backdrop-filter: blur(64px);
    background-color: var(--background);
    z-index: 123456789;
}

.media-menu .close {
    position: absolute;
    top: 30px;
    right: 32px;
    font-size: 32px;
}

.media-menu .close img {
    width: 48px;
    height: 58px;
}

.media-menu .media-content {
    position: relative;
    padding: 32px 28px;
    background-color: var(--background);
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    display: flex
}

.media-menu .media-content .content {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    height: calc(100% - 80px);
    display: grid;
    grid-template-rows: -webkit-min-content;
    grid-template-rows: min-content;
    align-items: end;
}

.media-menu .media-content .content .links {
    display: grid;
    align-items: center;
    gap: 20px;
}

.media-menu .media-content .content .links a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.media-menu .media-content .content .links a div {
    border-radius: 4px;
    display: flex;
    width: calc(34px - 8px * 2);
    height: calc(34px - 8px * 2);
    padding: 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: var(--background);
}

.media-menu .media-content .content .links a div img {
    color: var(--text);
    width: 20px;
    height: 20px;
}

.media-menu .media-content .content .links a h2 {
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.91px;
    margin-top: 3px;
}

.media-menu .media-content .content .links .active h2 {
    color: var(--primary);
}

.media-menu .media-content .content .links .active div {
    background: var(--light-main)
}

.media-menu .media-content .content .links .active div img {
    color: var(--primary);
}

.media-menu .media-content .content .manage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.media-menu .media-content .content .manage .link {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain;
}

.media-menu .media-content .content .manage button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* Select */

.app-select {
    transition: 0.3s;
    background-color: var(--background);
    border-radius: 8px;
    border: 2px solid var(--primary);
    padding: 10px;
    position: relative;
    display: none;
    align-items: center;
    cursor: pointer;
    margin: auto;
    margin-top: 15px;
    width: calc(90% - 14px * 2 - 2px * 2);
    max-width: calc(350px - 14px * 2 - 2px * 2)
}

.app-select .app-select-styled {
    width: 100%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.app-select .app-select-styled:active {
    opacity: 0.5;
}

.app-select .app-select-styled p {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    /* 13.2px */
    letter-spacing: 0.24px;
    color: var(--text);
}

.app-select .app-select-styled img {
    transition: 0.3s;
    line-height: 0;
}

.app-select .app-select-options {
    transition: display 0.3s;
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 123;
    background-color: var(--background);
    border-radius: 8px;
    border: 2px solid var(--primary);
    max-height: calc(255px + 1px * 2);
    overflow-y: scroll;
}

.app-select .app-select-options::-webkit-scrollbar,
.app-select .app-select-options::-webkit-scrollbar-track,
.app-select .app-select-options::-webkit-scrollbar-thumb {
    background-color: transparent;
    width: 0px;
    display: none;
}

.app-select .app-select-options li {
    transition: 0.3s;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 14px;
}

.app-select .app-select-options li p {
    transition: 0.3s;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    /* 13.2px */
    letter-spacing: 0.24px;
}

.app-select .app-select-options li:hover p {
    opacity: 0.8;
}

.app-select .app-select-options li:active {
    opacity: 0.5;
}

/* Select Animations */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Content */

main {
    margin-top: 105px;
    width: 100%;
}

.content main {
    margin-top: 105px;
    width: 100%;
}


.app-hello {
    /* height: 600px; */
    display: flex;
    align-items: center;
    background-image: url(../pics/hello.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
}

.app-hello .content {
    display: flex;
    justify-content: space-between;
	flex-direction: column;
	gap: 10px;
    margin: auto;
	text-align: justify;
    width: 90%;
    max-width: 1200px;
}

.app-hello .content .text {
    width: calc(50% - 16px);
}

.app-hello .content .text h1 {
    color: var(--text);
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    /* 52.8px */
    letter-spacing: 0.96px;
}

.app-hello .content .text h2 {
    color: #777;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    /* 25.2px */
    letter-spacing: 0.36px;
    margin-top: 25px;
    max-width: 385px;
}

.app-hello .content .text h3 {
    margin-top: 55px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    /* 21.6px */
    letter-spacing: 0.36px;
}

.app-hello .content .text h3 img {
    width: 28px;
    height: 28px;
}

.app-hello .content .text .manage {
    max-width: 490px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-hello .content .image {
    display: flex;
    justify-content: center;
    width: calc(50% - 16px);
    position: absolute;
    right: 0;
}

.app-hello .content .image img {
    margin: auto;
    width: 100%;
    max-width: 870px;
    -o-object-fit: contain;
    object-fit: contain;
}

.app-pre {
    margin: auto;
    text-align: center;
    width: 90%;
    /* max-width: 540px; */
    height: 230px;
    margin-bottom: 65px;
}

.app-pre h3 {
    color: var(--primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    /* 21.6px */
    letter-spacing: 0.36px;
}

.app-pre h1 {
    margin-top: 10px;
    color: var(--text);
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    /* 39.6px */
    letter-spacing: 0.72px;
}

.app-pre h2 {
    margin-top: 15px;
    color: #777;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    /* 22.5px */
    letter-spacing: 0.36px;
}

.app-pre .manage {
    margin: auto;
    /* max-width: 490px; */
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-shop {
    position: relative;
    margin-top: 65px;
    overflow: hidden;
}

.app-shop .images {
    pointer-events: none;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.app-shop .images img {
    -o-object-fit: contain;
    object-fit: contain;
    mix-blend-mode: color-dodge;
    height: 750px;
}

.app-shop .images img:last-of-type {
    height: 950px;
}

.app-shop .links {
    text-align: center;
    display: none;
    align-items: center;
    margin: auto;
    width: 90%;
    max-width: 1200px;
}

.app-shop .links.active {
    display: flex;
}

.app-shop .links a {
    width: 100%;
    color: var(--text);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    /* 19.8px */
    letter-spacing: 0.36px;
    padding-bottom: 25px;
    border-bottom: solid 2px #1B1B1B;
}

.app-shop .links .active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.app-shop .items {
    display: none;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
    gap: 20px;
    /*gap: 1%;*/
    align-items: center;
}

.app-shop .items.active {
    display: flex;
}

.app-shop .items .block {
    transition: 0.3s;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #202020;
    background: #161616;
    padding: 20px;
    position: relative;
    overflow: hidden;
    width: calc((100% - 20px * 4) / 5 - 20px * 2 - 1px * 2);
    height: calc(250px - 20px * 2 - 1px * 2);
	flex-grow: 1;
	/*margin-bottom: 1%;*/
}

.app-shop .items .block:hover {
    opacity: 0.8;
}

.app-shop .items .block:active {
    opacity: 0.5;
}

.app-shop .items .block .product-ribbon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 3;
    top: 6px;
    right: -52px;
    width: 220px;
    text-align: center;
    padding: 7px 0 7px 35px;
    background: linear-gradient(90deg, #8f5ce6 0%, #4a2a8c 100%);
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transform: rotate(33deg);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(74, 42, 140, 0.45);
}

.app-shop .items .block .product-ribbon::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 100%;
    width: 14px;
    height: 8px;
    background: #2f1b5a;
    transform: skewX(-32deg);
    opacity: 0.95;
}

.app-shop .items .block .shade {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(180deg, #161616 6.25%, rgba(22, 22, 22, 0.00) 34.38%, rgba(22, 22, 22, 0.00) 61.46%, #161616 92.19%);
}

.app-shop .items .block .price {
    position: absolute;
    z-index: 2;
    display: flex;
    gap: 10px;
    top: 20px;
    left: 20px;
    right: 20px;
}

.app-shop .items .block .price h2 {
    display: inline-flex;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--dark-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.app-shop .items .block .price h3 {
    display: inline-flex;
    padding: 4px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    opacity: 0.4;
    background: #2D2D2D;
    color: #646464;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    -webkit-text-decoration-line: strikethrough;
    text-decoration-line: strikethrough;
}

.app-shop .items .block img {
    width: calc(100% - 20px * 2);
    height: calc(100% - 20px * 2);
    position: absolute;
    -o-object-fit: contain;
    object-fit: contain;
    z-index: 0;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.app-shop .items .block .manage {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: space-between;
}

.app-shop .items .block .manage h1 {
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.32px;
}

.app-shop .items .block .manage button {
    color: var(--primary);
    display: flex;
    width: 40px;
    height: 40px;
    padding: 11px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.app-buys {
    position: relative;
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
}

.app-buys h1 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--text);
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0.48px;
}

.app-buys .fade {
    display: none;
}

.app-buys .fade:nth-child(2) {
    display: none;
}

.app-buys .items {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 24px auto 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.app-buys .items::-webkit-scrollbar {
    display: none;
}

.app-buys .items .block {
    width: calc((100% - 10px * 4) / 5);
    min-width: 0;
    max-width: none;
    height: 74px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(143, 92, 230, 0.26);
    background: rgba(35, 33, 42, 0.95);
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 calc((100% - 10px * 4) / 5);
}

.app-buys .items .block.empty {
    min-width: min(520px, 100%);
    max-width: min(520px, 100%);
    justify-content: center;
}

.app-buys .items .block .avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    image-rendering: pixelated;
    background: #16151d;
}

.app-buys .items .block .content {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.app-buys .items .block .content .title {
    min-width: 0;
}

.app-buys .items .block .content .title h2 {
    color: var(--text);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-buys .items .block .content .title h3 {
    margin-top: 4px;
    color: var(--primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-buys .items .block .content span {
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 700px) {
    .app-buys {
        margin-top: 64px;
    }

    .app-buys h1 {
        width: 95%;
        font-size: 28px;
    }

    .app-buys .items {
        margin-top: 16px;
        padding: 0 12px;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
    }

    .app-buys .items .block {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        height: 76px;
        padding: 12px 14px;
        flex: 0 0 220px;
    }

    .app-buys .items .block .avatar {
        width: 34px;
        height: 34px;
    }

    .app-buys .items .block .content .title h2 {
        font-size: 13px;
    }

    .app-buys .items .block .content .title h3 {
        font-size: 12px;
    }

    .app-buys .items .block .content span {
        font-size: 11px;
    }

    .app-buys .fade {
        display: none;
    }
}

/* Footer */

footer {
    margin-top: 100px;
    position: absolute;
    width: 100%;
    background-image: url(../pics/footer.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
    dispaly: flex;
}

footer .content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer .content .company {
    margin-right: 60px;
}

footer .content .copyright {
    margin-top: 20px;
    white-space: nowrap;
}

footer .content .copyright h1 {
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    /* 19.2px */
    letter-spacing: 0.32px;
}

footer .content .copyright h2 {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    /* 19.6px */
    letter-spacing: 0.28px;
}

footer .content .links {
    margin-right: 70px;
}

footer .content .links:last-child {
    margin-right: 0;
}

footer .content .links h1 {
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.32px;
}

footer .content .links .list {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}

footer .content .links .list a {
    color: var(--text);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.28px;
}

/* Modals */

.modals {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(64px);
    backdrop-filter: blur(64px);
    z-index: 123456789;
    justify-content: center;
    align-items: center;
}

.modals .modals-background {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}

.modals .modal {
    text-align: center;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    /* width: 90%; */
    max-width: 435px;
    height: fit-content;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Р—Р°РіРѕР»РѕРІРѕРє СЃ РёРєРѕРЅРєРѕР№ */
.modals .modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.modals .modal .modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background-color: var(--primary-alpha-10);
    transition: all 0.3s ease;
}

.modals .modal .modal-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.modals .modal h1 {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: left;
}

.modals .modal h2 {
    margin: 4px 0 0 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

/* .modals .modal:hover .modal-icon {
    background-color: var(--primary-alpha-15);
    transform: scale(1.05);
} */

.modals .modal .sparkles-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    stroke: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-alpha-40));
    animation: sparkle-pulse 2s ease-in-out infinite;
}

@keyframes sparkle-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.modals .modal .modal-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modals .modal .modal-header-text h1 {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin: 0;
}

.modals .modal .modal-header-text h2 {
    margin: 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

/* .modals .modal .modal-icon:hover {
    box-shadow: 0 0 20px var(--primary-alpha-30);
} */

.modals .modal .modal-icon:active {
    transform: scale(0.95);
}

/* Р¤РѕСЂРјР° */
form {
    margin-top: 24px;
    display: grid;
    gap: 24px;
}

/* Р“СЂСѓРїРїС‹ РёРЅРїСѓС‚РѕРІ */
form .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

form .input-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-text);
}

form .input-group input,
form .input-group select {
    height: 48px;
    padding: 0 16px 0 44px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s ease;
}

form .input-group input:focus,
form .input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--background);
}

form .input-group {
    position: relative;
}

form .input-group .input-svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--muted-text);
    pointer-events: none;
}

/* Р•СЃР»Рё РµСЃС‚СЊ label, РїРѕР·РёС†РёРѕРЅРёСЂСѓРµРј РёРєРѕРЅРєСѓ РїСЂР°РІРёР»СЊРЅРѕ */
form .input-group label + .input-svg {
    top: calc(50% + 12px);
}

/* Checkbox РіСЂСѓРїРїР° */
form .checkbox-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

form .checkbox-input-group input[type='checkbox'] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

form .checkbox-input-group label {
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

/* Р’С‹Р±РѕСЂ СЃСЂРѕРєР° РїСЂРёРІРёР»РµРіРёРё */
#sub-group-selection {
    text-align: left;
}

#sub-group-selection h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-text);
    margin-bottom: 12px;
}

.sub-group-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sub-group-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background-color: var(--input-bg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sub-group-option:hover {
    border-color: var(--primary-alpha-50);
}

.sub-group-option.active {
    border-color: var(--primary);
    background-color: var(--primary-alpha-10);
}

.sub-group-option.active::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.option-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.sub-group-option.active .option-name {
    color: var(--primary);
}

.option-price {
    font-size: 12px;
    color: var(--muted-text);
}

/* Р¦РІРµС‚РѕРІР°СЏ РіСЂСѓРїРїР° РґР»СЏ С‚РёС‚СѓР»РѕРІ */
form .color-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

form .color-button {
    flex: 1;
    min-width: calc(33.333% - 6px);
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid transparent;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

form .color-button:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* РљРЅРѕРїРєРё */
form button[type="submit"],
form #continue-prefix {
    margin: 12px auto 0;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    border: none;
    background-color: var(--primary);
    color: var(--background);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

form button[type="submit"]:hover:not(:disabled),
form #continue-prefix:hover:not(:disabled) {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-alpha-30);
}

form button[type="submit"]:disabled,
form #continue-prefix:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Р®СЂРёРґРёС‡РµСЃРєРёР№ С‚РµРєСЃС‚ */
form p {
    font-size: 12px;
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
}

form p a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

form p a:hover {
    text-decoration: underline;
}

form b {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted-text);
    font-weight: 500;
}

/* РћС€РёР±РєРё */
.modals .modal form #prefix-error {
    display: block;
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 8px;
}

@media screen and (max-width: 700px) {
    .modals .modal .modal-header {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .modals .modal .modal-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
    }
    
    .modals .modal .sparkles-icon {
        width: 22px;
        height: 22px;
    }
    
    .modals .modal .modal-header-text h1 {
        font-size: 18px;
    }
    
    .modals .modal .modal-header-text h2 {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .modals .modal .modal-header {
        gap: 8px;
        margin-bottom: 18px;
    }
    
    .modals .modal .modal-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 8px;
    }
    
    .modals .modal .sparkles-icon {
        width: 20px;
        height: 20px;
    }
    
    .modals .modal .modal-header-text h1 {
        font-size: 16px;
    }
    
    .modals .modal .modal-header-text h2 {
        font-size: 12px;
    }
}

.modals .modal .modal-icon {
    animation: modal-icon-appear 0.4s ease-out;
}

@keyframes modal-icon-appear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    60% {
        transform: scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@media (prefers-color-scheme: light) {
  :root {
    --text: #e6e6e6;
	--dark-text: #1c1c1c;
    --background: #0E0E0E;
    --primary: #8f5ce6;
    --secondary: #1c1c1c;
    --accent: #4a2a8c;
	--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");

    --card-bg: rgba(23, 23, 23, 0.95);
    --border-color: rgba(32, 32, 32, 0.5);
    --input-bg: rgba(14, 14, 14, 0.5);
    --muted-text: #999999;

    --primary-alpha-10: color-mix(in srgb, var(--primary) 10%, transparent);
    --primary-alpha-15: color-mix(in srgb, var(--primary) 15%, transparent);
    --primary-alpha-30: color-mix(in srgb, var(--primary) 30%, transparent);
    --primary-alpha-40: color-mix(in srgb, var(--primary) 40%, transparent);
    --primary-alpha-50: color-mix(in srgb, var(--primary) 50%, transparent);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6e6e6;
	--dark-text: #1c1c1c;
    --background: #0E0E0E;
    --primary: #8f5ce6;
    --secondary: #1c1c1c;
    --accent: #4a2a8c;
	--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");

    --card-bg: rgba(23, 23, 23, 0.95);
    --border-color: rgba(32, 32, 32, 0.5);
    --input-bg: rgba(14, 14, 14, 0.5);
    --muted-text: #999999;

    --primary-alpha-10: color-mix(in srgb, var(--primary) 10%, transparent);
    --primary-alpha-15: color-mix(in srgb, var(--primary) 15%, transparent);
    --primary-alpha-30: color-mix(in srgb, var(--primary) 30%, transparent);
    --primary-alpha-40: color-mix(in srgb, var(--primary) 40%, transparent);
    --primary-alpha-50: color-mix(in srgb, var(--primary) 50%, transparent);
  }
}


/* Adaptation */

@media screen and (max-width: 1375px) {
    /* Header */

    header .content {
        gap: 25px;
    }

    /* Content */

    .app-hello .content .image {
        width: calc(45% - 16px);
    }

    .app-shop .items {
        justify-content: center;
    }

    .app-shop .items .block {
        width: calc((100% - 20px * 3) / 4 - 20px * 2 - 1px * 2);
    }

    /* Footer */

    footer .content .company,
    footer .content .copyright,
    footer .content .links {
        margin-right: 32px;
    }

    footer .content .copyright,
    footer .content .links {
        white-space: unset;
    }
}

@media screen and (max-width: 1200px) {
    /* Header */

    header .content .links {
        display: none;
    }

    header .content .manage .media {
        display: flex;
    }

    /* Content */

    /*.app-hello {
        height: 950px;
    }*/

    .app-hello .content {
        display: grid;
        justify-content: center;
    }

    .app-hello .content .text {
        width: 100%;
        text-align: center;
    }

    .app-hello .content .text h2 {
        margin: auto;
        margin-top: 25px;
    }

    .app-hello .content .text h3 {
        margin: auto;
        margin-top: 55px;
        justify-content: center;
    }

    .app-hello .content .text .manage {
        margin: auto;
        margin-top: 32px;
    }

    .app-hello .content .image {
        margin-top: 64px;
        position: static;
        width: 100%;
    }

    .app-hello .content .image img {
        height: 350px;
    }

    .app-shop .items .block {
        width: calc((100% - 20px * 2) / 3 - 20px * 2 - 1px * 2);
    }

    /* Footer */

    footer .content .company,
    footer .content .copyright,
    footer .content .links {
        margin-right: 0;
    }

    footer .content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }
}

@media screen and (max-width: 700px) {
    /* Root */

    button {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.78px;
    }

    button img {
        width: 18px;
        height: 18px;
    }

    /* Header */

    header .content .manage .link,
    header .content .manage button {
        display: none;
    }

    /* Content */

    /*.app-hello {
        height: 590px;
    }*/

    .app-hello .content .text {
        display: grid;
        gap: 10px;
    }

    .app-hello .content .text h3 {
        margin: auto;
        order: -1;
        font-size: 14px;
        letter-spacing: 0.28px;
    }

    .app-hello .content .text h1 {
        font-size: 14px;
    font-style: normal;
    font-weight: 600;
        line-height: 110%;
        /* 30.8px */
        letter-spacing: 0.56px;
    }

    .app-hello .content .text h2 {
        margin-top: 0px;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        /* 16.8px */
        letter-spacing: 0.24px;
    }

    .app-hello .content .text .manage {
        margin-top: 0px;
        display: grid;
    }

    .app-hello .content .image {
        margin-top: -25px;
    }

    .app-hello .content .image img {
        max-width: 400px;
    }

    .app-pre {
        margin-bottom: 0;
        height: auto;
    }

    .app-pre h3 {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
        /* 16.8px */
        letter-spacing: 0.28px;
    }

    .app-pre h1 {
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 110%;
        /* 26.4px */
        letter-spacing: 0.48px;
    }

    .app-pre h2 {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%;
        /* 15px */
        letter-spacing: 0.24px;
    }

    .app-pre .manage {
        margin-top: 30px;
    }
    .app-shop {
        margin-top: 0;
        margin-bottom: 22px;
    }

    .app-shop .images {
        display: none;
    }

    .app-shop .links, .app-shop .links.active {
        display: none;
    }

    .app-shop .items {
        margin-top: 25px;
    }

    .app-shop .items .block {
        width: 100%;
    }

    .app-select {
        display: flex;
    }

    .app-buys .items {
        width: 100%;
        margin-left: 0;
        padding: 0 12px;
    }

    /* Footer */

    footer {
        margin-top: 85px;
        background-color: var(--background);
        text-align: center;
        justify-content: center;
    }

    footer .content .links .list a {
        max-width: 210px;
    }

    /* Modals */

    .modals .modal {
        padding: 24px;
        /* width: 95%; */
    }
    
    .sub-group-options {
        grid-template-columns: 1fr;
    }
    
    form .color-button {
        min-width: calc(50% - 4px);
    }
}

@media screen and (max-width: 400px) {
    .modals .modal h1 {
        font-size: 18px;
    }
    
    form button[type="submit"],
    form #continue-prefix {
        height: 44px;
        font-size: 15px;
    }
}



