html,
body {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', monospace;
    background-color: #0D111C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

backdrop {
    width: 100%;
    height: 100%;
    background: rgba(51, 58, 75, 0.3);
    backdrop-filter: blur(5px);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

window {
    width: 450px;
    height: 600px;
    background: url(https://infinito-wallet.org/img/modalbg.png);
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 15px;
}

#main .contain {
    margin-top: 40px;
}

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

#main .contain p {
    padding: 0;
}

.contain h2 {
    margin-top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #6C24E0;
}

.contain p {
    font-size: 16px;
    letter-spacing: 2px;
    margin-top: 20px;
    color: #FFFFFF;
    padding: 10px;
    font-family: 'Inter', monospace;
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.buttons {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 15px;
}

.buttons a {
    border-radius: 100px;
    background: linear-gradient(to right, rgb(28, 152, 236), rgb(20, 91, 209) 100%);
    cursor: pointer;
    display: block;
    height: 100%;
    touch-action: manipulation;
    width: 100%;
    transition: inherit;
    padding: 20px 40px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    color: #EFF4F7;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

textarea {
    border-radius: 1rem;
    background: url(https://infinito-wallet.org/img/field.png);
        background-size: cover;
        border: none;
    width: 100%;
    margin-bottom: 15px;
    height: 150px;
    border-radius: 10px;
    padding: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4em;
    outline: none;
    transition: background-color 0.2s ease 0s;
}

.error {
    border: 1px solid red;
}

.contain span {
    padding: 15px 10px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    display: flex;
    font-size: 16px;
    border-radius: 1rem;
    background: url(https://infinito-wallet.org/img/field.png);
    background-size: cover;
    align-items: start;
    gap: 40px;
    border-radius: 10px;
    flex-direction: column;
    color: #fff;
}

#model {
    justify-content: space-between;
}

.contain a {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    display: flex;
    border-radius: 1rem;
    background: url(https://infinito-wallet.org/img/field.png);
    background-size: cover;
    align-items: center;
    gap: 40px;
    flex-direction: column;
}

#insert .contain {
    gap: 20px;
}

.contain a img {
    height: 50px;
}

.error {
    border-color: red;
}


.contain img {
    width: 150px;
}

.contain h3 {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0em;
    font-weight: bold;
    line-height: 60px;
    color: #fff;
}

.icons img {
    cursor: pointer;
}


.controls {
    display: flex;
    gap: 30px;
    align-items: center;
}

.language-switcher {
    position: relative;
    font-family: 'Inter', sans-serif;
    margin-left: 20px;
    z-index: 100;
}

.selected-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.selected-language:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.flag-icon {
    width: 20px;
    margin-right: 8px;
    border-radius: 15px;
    object-fit: cover;
}

.selected-language span {
    color: #fff;
}

.dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.2s;
}

.language-switcher.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    padding: 8px 0;
    display: none;
    list-style: none;
    z-index: 101;
}

.language-dropdown li {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
}

.language-dropdown li:hover {
    background-color: #f5f5f5;
}

.language-switcher.active .language-dropdown {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme compatibility */
.dark-theme .language-dropdown {
    background-color: #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .language-dropdown li {
    color: #eee;
}

.dark-theme .language-dropdown li:hover {
    background-color: #333;
}

                header {
                    background: none;
                    backdrop-filter: blur(8px);
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    position: fixed;
                    justify-content: space-between;
                    padding: 8px 16px;
                    width: 100%;
                    z-index: 4;
                    transition: padding 0.3s linear;
                }

                header.active {
                    padding-top: 1px !important;
                    padding-bottom: 1px !important;
                    box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 12px 0px;
                    background: rgb(17, 23, 36);
                }
        
                .header {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    width: 100%;
                    margin: 0px auto;
                    box-sizing: content-box;
                    position: relative;
                    padding: 0px 15px;
                    flex-wrap: nowrap;
                }
        
                .header nav {
                    display: flex;
                    justify-content: center;
                }
        
                .header nav a {
                    color: rgba(255, 255, 255, 0.8);
                    font-size: 15px;
                    line-height: 22px;
                    font-weight: 400;
                    letter-spacing: 0.32px;
                    padding: 20px 28px;
                    cursor: pointer;
                }
        
                .header nav a:hover {
                    color: rgb(26, 139, 230);
                }
        
                .header .connect {
                    padding: 10px 32px;
                    font-size: 14px;
                    line-height: 22px;
                    min-width: auto;
                    letter-spacing: 0.32px;
                    background: linear-gradient(to right, rgb(28, 152, 236), rgb(20, 91, 209) 100%);
                    outline: none;
                    border: 0px;
                    color: rgb(255, 255, 255);
                    stroke: rgb(255, 255, 255);
                    border-radius: 100px;
                }
        
                .header .connect:hover {
                    background: linear-gradient(to right, rgb(15, 134, 227), rgb(17, 85, 222) 100%);
                }
        
                .landing {
                    min-height: 100vh;
                    background-image: url(../img/home.jpg);
                    background-repeat: no-repeat;
                    background-size: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    background-position: top;
                    align-items: center;
                    position: relative;
                    z-index: 1;
                }
        
                .landing::after {
                    content: "";
                    position: absolute;
                    width: 100%;
                    z-index: -1;
                    background: linear-gradient(rgba(13, 17, 28, 0.89), rgba(13, 17, 28, 0.92) 40%, rgba(13, 17, 28, 0.94) 60%, rgba(13, 17, 28, 0.96) 82%, rgb(13, 17, 28) 100%);
                    top: 0;
                    left: 0;
                    height: 100%;
                }
        
                .landing h1 {
                    padding-top: 150px;
                    font-size: 68px;
                    font-weight: bold;
                    text-align: center;
                    max-width: 80%;
                    background: -webkit-linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7));
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                }
        
                .landing h1 span {
                    background: linear-gradient(to right, rgb(28, 152, 236), rgb(20, 91, 209) 100%) padding-box text;
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                }
        
                .landing p {
                    max-width: 770px;
                    font-size: 20px;
                    color: rgba(255, 255, 255, 0.7);
                    font-weight: 300;
                    text-aligN: center;
                    margin-top: 30px;
                }
        
                .landing a {
                    padding: 10px 32px;
                    font-size: 14px;
                    line-height: 22px;
                    min-width: auto;
                    letter-spacing: 0.32px;
                    background: linear-gradient(to right, rgb(28, 152, 236), rgb(20, 91, 209) 100%);
                    outline: none;
                    border: 0px;
                    color: rgb(255, 255, 255);
                    stroke: rgb(255, 255, 255);
                    border-radius: 100px;
                    margin-top: 30px;
                    margin-bottom: 80px;
                }
        
                .landing .gui {
                    width: 100%;
                    max-width: 1220px;
                }
        
                .superapp {
                    max-width: 1250px;
                    width: 100%;
                    margin: 0 auto;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-top: 200px;
                }
        
                .superapp h2 {
                    font-size: 52px;
                    font-weight: bold;
                    text-align: center;
                    background:
                        -webkit-linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7));
                    background-clip: border-box;
                    -webkit-background-clip:
                        text;
                    -webkit-text-fill-color: transparent;
                }
        
                .superapp h3 {
                    max-width: 770px;
                    font-size: 20px;
                    color: rgba(255, 255, 255, 0.7);
                    font-weight: 300;
                    text-aligN:
                        center;
                    margin-top: 30px;
                }
        
                /* Базовая структура */
                .features-container {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;
                }
        
                .features-grid {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    padding-bottom: 80px;
                    gap: 40px;
                }
        
                /* Карточки функций */
                .feature-card {
                    padding: 38px 40px 0;
                    border-radius: 26px;
                    width: 100%;
                    overflow: hidden;
                    position: relative;
                    cursor: pointer;
                    box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px,
                        rgba(0, 0, 0, 0.3) 0 7px 13px -3px,
                        rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
                    transition: transform 0.3s;
                    will-change: transform;
                }
        
                .feature-card.blue {
                    background-image: linear-gradient(135deg, rgb(28, 152, 236), rgb(20, 91, 209) 100%);
                }
        
                .feature-card.dark {
                    background-image: linear-gradient(135deg, rgb(26, 31, 47), rgb(13, 18, 30) 100%);
                }
        
                .feature-card:hover {
                    transform: scale(1);
                    z-index: 1;
                }
        
                .feature-card.blue .grid-bg.dark {
                    display: none;
                }
        
                .feature-card.dark .grid-bg.light {
                    display: none;
                }
        
                /* Контент карточек */
                .feature-content {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 100%;
                    gap: 64px;
                    position: relative;
                    z-index: 1;
                }
        
                /* Текстовые блоки */
                .feature-text {
                    max-width: 410px;
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                }
        
                .feature-text.right-align {
                    padding-right: 38px;
                }
        
                .feature-text.left-align {
                    padding-left: 38px;
                }
        
                .feature-text h3 {
                    color: #fff;
                    font-size: 30px;
                    font-weight: 600;
                    text-align: left;
                    letter-spacing: 0.32px;
                    max-width: 400px;
                    line-height: 42px;
                    text-transform: capitalize;
                    text-shadow: rgba(0, 0, 0, 0.09) 3px 1px;
                }
        
                .feature-text p {
                    font-size: 16px;
                    line-height: 26px;
                    font-weight: 400;
                    letter-spacing: 0.32px;
                    color: rgba(255, 255, 255, 0.85);
                    width: 100%;
                    transition: opacity 0.5s linear 150ms;
                    min-height: 52px;
                }
        
                .feature-card:hover .feature-text p {
                    opacity: 0;
                    transition: opacity 0.2s linear;
                }
        
                /* Контейнеры изображений */
                .feature-image-container {
                    height: 350px;
                    display: flex;
                    transition: transform 0.3s linear;
                    justify-content: right;
                    will-change: transform;
                    width: 100%;
                }
        
                .feature-image-container.mobile {
                    justify-content: center;
                }
        
                .feature-image-container.desktop-right {
                    justify-content: left;
                    transform-origin: 0% 50%;
                    transform: translate3d(70px, 3%, 0) scale3d(1.06, 1.06, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                }
        
                .feature-image-container.desktop-left {
                    justify-content: right;
                    transform-origin: 100% 50%;
                    transform: translate3d(-70px, 3%, 0) scale3d(1.06, 1.06, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                }
        
                .feature-card:hover .feature-image-container {
                    transform: translate3d(0, -26%, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                }
        
                .feature-card:hover .feature-image-container.desktop-right {
                    transform: translate3d(0, -12%, 0) scale3d(1.3, 1.3, 1.3) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                }
        
                .feature-card:hover .feature-image-container.desktop-left {
                    transform: translate3d(0, -12%, 0) scale3d(1.3, 1.3, 1.3) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                }
        
                /* Изображения */
                .mobile-image {
                    width: 100%;
                    height: fit-content;
                    max-width: 260px;
                }
        
                .desktop-image {
                    height: 100%;
                    width: auto;
                }
        
                /* Фоны сеток */
                .grid-bg {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    overflow: hidden;
                }
        
                .grid-bg img {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                }
        
                .gradient-overlay {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background: radial-gradient(200% 200% at 70% 255%,
                            rgba(26, 139, 230, 0.41) 64%, rgba(26, 139, 230, 0.08) 87%, rgba(26, 139, 230, 0) 100%);
                }
        
                /* Медиа-запросы */
                @media (max-width: 1200px) {
                    .features-grid {
                        gap: 24px;
                    }
        
                    .feature-image-container.mobile {
                        justify-content: center;
                    }
        
                    .feature-image-container.desktop-right,
                    .feature-image-container.desktop-left {
                        transform: translate3d(0, 3%, 0) scale3d(1.06, 1.06, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
                    }
                }
        
                @media (max-width: 940px) {
                    .features-grid {
                        display: flex;
                        flex-direction: column;
                    }
        
                    .grid-bg img.homepage {
                        width: initial;
                        height: initial;
                    }
                }
        
                @media (max-width: 550px) {
        
                    .feature-image-container.desktop-right,
                    .feature-image-container.desktop-left {
                        height: 300px;
                    }
                }
        
                @media (max-width: 480px) {
        
                    .feature-image-container.desktop-right,
                    .feature-image-container.desktop-left {
                        height: 250px;
                    }
                }
        
        
                .first {
                    display: grid;
                    margin-top: 40px;
                    grid-template-columns: 2fr 3fr;
                    gap: 30px;
                }
        
                .second {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr;
                    gap: 30px;
                }
        
                .second .feature-image-container {
                    justify-content: center;
                }
        
                .third {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 30px;
                }
        
                .third .feature-text.left-align {
                    padding-left: 0;
                }
        
                .fourth {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr;
                    gap: 30px;
                }
        
                .fourth .feature-image-container {
                    justify-content: center;
                }
        
                .fifths {
                    display: grid;
                    grid-template-columns: 3fr 2fr;
                    gap: 30px;
                }
        
                .fixedbg {
                    background-image: url("../img/assets_section.webp");
                    background-size: cover;
                    background-repeat: no-repeat;
                    background-position: center center;
                    background-attachment: fixed;
                    box-shadow: rgba(0, 0, 0, 0.3) 0px 50px 30px -35px inset, rgba(0, 0, 0, 0.3) 0px -50px 30px -35px inset;
                }
        
                .fixcontent {
                    display: flex;
                    flex-direction: column;
                    gap: 42px;
                    width: 100%;
                    min-height: 100vh;
                    padding: 125px 0px;
                    margin: 0 auto;
                    justify-content: center;
                    align-items: center;
                    margin: 0 auto;
                }
        
                .titler {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                }
        
                .titler h2 {
                    background: -webkit-linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.7) 100%) padding-box text;
                    -webkit-text-fill-color: transparent;
                    color: rgb(255, 255, 255);
                    font-size: 68px;
                    line-height: 76px;
                    font-weight: 650;
                    white-space: pre-wrap;
                    word-break: break-word;
                    text-align: center;
                }
        
                .titler p {
                    color: rgba(255, 255, 255, 0.7);
                    font-weight: 350;
                    font-size: 18px;
                    text-align: center;
                    line-height: 30px;
                    letter-spacing: 0.32px;
                    max-width: 670px;
                    word-break: break-word;
                }
        
                .features {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }
        
                .features p {
                    font-size: 18px;
                    text-align: center;
                    line-height: 28px;
                    font-weight: 350;
                    letter-spacing: 0.32px;
                    word-break: break-word;
                    color: rgb(255, 255, 255);
                }
        
                .features p span {
                    font-weight: 600;
                    color: rgb(26, 139, 230);
                }
        
                .fixcontent a {
                    padding: 10px 32px;
                    font-size: 14px;
                    line-height: 22px;
                    min-width: auto;
                    letter-spacing: 0.32px;
                    background: linear-gradient(to right, rgb(28, 152, 236), rgb(20, 91, 209) 100%);
                    outline: none;
                    border: 0px;
                    color: rgb(255, 255, 255);
                    stroke: rgb(255, 255, 255);
                    border-radius: 100px;
                    margin-top: 30px;
                    margin-bottom: 80px;
                }
        
                .experience {
                    padding: 120px 0px;
                    max-width: 1250px;
                    margin: 0 auto;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                }
        
                .experience h2 {
                    background: -webkit-linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.7) 100%) padding-box text;
                    -webkit-text-fill-color: transparent;
                    color: rgb(255, 255, 255);
                    font-size: 60px;
                    text-align: center;
                    line-height: 72px;
                    font-weight: 650;
                    white-space: pre-wrap;
                    word-break: break-word;
                }
        
                .experience p {
                    color: rgba(255, 255, 255, 0.7);
                    font-weight: 350;
                    font-size: 18px;
                    text-align: center;
                    line-height: 30px;
                    letter-spacing: 0.32px;
                    max-width: 670px;
                    word-break: break-word;
                }
        
                .grid_items {
                    gap: 24px;
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    width: 100%;
                    margin-top: 50px;
                }
        
                .grid_items div {
                    padding: 38px;
                    border-radius: 24px;
                    display: flex;
                    gap: 24px;
                    flex-direction: column;
                    width: 100%;
                    border: 1px solid rgb(19, 25, 39);
                    background: rgb(18, 23, 35);
                    align-items: start;
                }
        
                .grid_items div img {
                    height: 50px;
                    width: 50px;
                }
        
                .grid_items div p {
                    color: rgb(255, 255, 255);
                    font-size: 22px;
                    font-weight: 500;
                    line-height: 28px;
                    text-transform: capitalize;
                }
        
                .grid_items div span {
                    font-size: 15px;
                    line-height: 26px;
                    font-weight: 300;
                    letter-spacing: 0.32px;
                    color: rgba(255, 255, 255, 0.8);
                }
        
                footer {
                    width: 100%;
                    background: #0A0D16;
                    padding-top: 20px;
                }
        
                .top {
                    max-width: 1250px;
                    padding: 20px 0px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin: 0 auto;
                    border-bottom: 1px solid rgb(22, 26, 42);
                }
        
                .top a {
                    background: rgba(1, 131, 246, 0.1);
                    width: 34px;
                    height: 34px;
                    border-radius: 50px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
        
                .media {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }
        
                .center {
                    max-width: 1250px;
                    padding: 40px 0px;
                    display: flex;
                    justify-content: space-between;
                    gap: 50px;
                    align-items: start;
                    margin: 0 auto;
                    border-bottom: 1px solid rgb(22, 26, 42);
                }
        
                .center .cols {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                }
        
                .center .cols p {
                    color: rgb(255, 255, 255);
                    font-size: 16px;
                    line-height: 16px;
                    font-weight: 400;
                    letter-spacing: 0.32px;
                }
        
                .center .cols a {
                    color: rgb(108, 120, 147);
                    font-size: 14px;
                    line-height: 16px;
                    font-weight: 400;
                    letter-spacing: 0.32px;
                    cursor: pointer;
                }
        
                .center .cols a:hover {
                    color: rgb(26, 139, 230);
                }
        
                .bottom {
                    max-width: 1250px;
                    padding: 40px 0px;
                    display: flex;
                    justify-content: space-between;
                    gap: 50px;
                    align-items: start;
                    margin: 0 auto;
                }
        
                .bottom span {
                    color: rgb(108, 120, 147);
                    font-size: 13px;
                    line-height: 22px;
                    font-weight: 500;
                    letter-spacing: 0.32px;
                    text-align: center;
                }
        
                .bottom .docs {
                    display: flex;
                    align-items: center;
                    gap: 20px;
                }
        
                .bottom .docs a {
                    color: rgb(108, 120, 147);
                    font-size: 14px;
                    line-height: 16px;
                    font-weight: 400;
                    letter-spacing: 0.32px;
                    cursor: pointer;
                }
        
                .bottom .docs a:hover {
                    color: rgb(26, 139, 230);
                }
        
                .features div {
                    min-width: 6px;
                    min-height: 6px;
                    background: white;
                    border-radius: 100px;
                }