:root {
    --background-color: #14161B;
    --background-second: #14161B;
    --text-color: #ffffff;
    --subtext-color: rgba(255, 255, 255, 0.5);
}
*,*:before,*:after {
    font-size: inherit;
    color: inherit;
    box-sizing: border-box;
}
div#app {
    width: 100%;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-color);
    font-weight: 400;
    font-size: 16px;
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    background: var(--background-second);
    box-sizing: border-box;
}

img{
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

.page-content{
    max-width: 1175px;
    margin: 0 auto;
}

.page-header {
    position: relative;
    min-height: 530px;
}

.page-header:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #141414 0%, rgba(20, 20, 20, 0) 100%);
    z-index: 1;
}

.page-header:after{
    content: '';
    position: absolute;
    left: 0;
    top: 146px;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) -8.18%, rgba(20, 22, 27, 0.496181) 36.11%, rgba(20, 22, 27, 0.7) 53.59%, rgba(20, 22, 27, 0.935382) 76.81%, #14161B 100%);
    z-index: 1;
}

.page-header-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-content{
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 165px 15px 80px;
}

.logo {
    height: auto;
    width: 405px;
    width: 100%;
    margin: 0 auto 40px;
}

.container{
    padding: 0 32px;
    margin: 0 auto;
}

.header .menu .menu-item {
    width: 80%;
    height: 5px;
    background: #000;
    border-radius: 2px;
}

.header .user {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.header .user img {
    width: 100%;
}

.center {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    background: var(--background-second);
    color: rgb(170, 170, 170);
    font-weight: 100;
}

.btn {
    border: none;
    margin-top: -2px;
    width: 85%;
    max-height: 23vh;
    min-height: 23vh;
    display: flex;
    text-decoration: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .75);
    gap: 20px;
    position: relative;
    z-index: 999999;
    -webkit-box-shadow: 0 -3px 10px 2px rgba(255, 255, 255, 0.3);
    -moz-box-shadow: 0 -3px 10px 2px rgba(255, 255, 255, 0.3);
    box-shadow: 0 -3px 10px 2px rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.btn .icon {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.btn .icon img {
    width: 100%;
}

.footer a {
    color: rgb(170, 170, 170);
}

.page-form{
    padding: 16px;
    border-radius: 16px;
    background: rgba(27, 31, 37, 1);
    margin: -40px auto 0;
    position: relative;
    z-index: 3;
    max-width: 352px;
}

.page-form-title{
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
}

h1{
    text-align: center;
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 600;
}

.page-header-text{
    font-size: 18px;
    color: rgba(255, 255, 255, .8);
}

h2{
    text-align: center;
    margin: 0 0 32px;
    font-size: 32px;
    font-weight: 600;
}

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}
.phone-input-wrap{
    position: relative;
}

.phone-input-label{
    position: absolute;
    width: 52px;
    text-align: center;
    height: 24px;
    border-right: 1px solid #858789;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.phone-input-label img{
    max-width: 21px;
    display: block;
}

.phone-input-wrap input.input{
    padding-left: 62px;
}
.btn-confirm {
    width: 100%;
    background-color: #00C142;
    border: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
}
.title {
    position: relative;
    left: 0;
    top: 0;
    padding: 3px 5px;
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.about{
    margin-top: 80px;
}

.about-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.about-item{
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-item-title{
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.about-item-text{
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.bottom-section{
    padding-bottom: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 90px auto 0;
}

.bottom-left{
    flex: 1;
    max-width: 590px;
}

.bottom-right{
    flex: 1;
    max-width: 354px;
}

ol {
    list-style-type: none;
    counter-reset: num;
    margin: 0;
    font-size: 18px;
    padding: 0;
}
ol li {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0 0 50px;
}
ol li + li{
    margin-top: 20px;
}
ol li + li:after{
    content: "";
    position: absolute;
    left: 15px;
    width: 2px;
    border-radius: 5px;
    height: 12px;
    top: -16px;
    background-color: rgba(8, 157, 80, 1);
}
ol li:before {
    content: counter(num);
    counter-increment: num;
    position: absolute;
    top: 0px;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background-color: rgba(8, 157, 80, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.btn .text {
    font-size: 2em;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
}
.error-container.text-start {
    position: relative;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    display: block;
    z-index: 1;
    top: 0;
    font-size: 18px;
    color: #FF5757;
    line-height: 1.1;
}
.error-container.text-start:first-child{margin-top: 0;}
.error-container.text-start:last-child{margin-bottom: 0;}
.form-block {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .75);
    box-sizing: border-box;
    padding: 0 30px;
}
input.input {
    background-color: #ffffff;
    height: 52px;
    padding: 0 16px;
    width: 100%;
    color: #0A0B0E;
    border-radius: 8px;
    text-align: left;
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
    min-height: 40px;
    outline: none;
    border: 1px solid rgba(204, 204, 204, 1);
}
label {
    text-align: center;
    color: #ffffff;
    padding: 2px 0;
    font-weight: 300;
}
a.send-code {
    font-size: 12px;
    text-align: right;
    color: #ffffff;
}
button.send-link.send-code {
    background: none;
    color: #ffffff;
    border: none;
    text-decoration: underline;
    text-align: right;
}
.btn-confirm {
    background-color: #089D50;
    color: #ffffff;
    border: none;
    height: 52px;
    text-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    padding: 3px 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .about-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .container{
        max-width: 600px;
        padding: 0 15px;
    }

    .about-item-icon img{
        max-height: 60px;
        object-fit: contain;
    }

    .about{
        margin-top: 50px;
    }

    .bottom-section{
        flex-direction: column;
        padding-bottom: 30px;
        margin-top: 50px;
    }

    .bottom-right{
        margin: 0 auto;
    }

    h1{
        font-size: 28px;
    }

    h2{
        font-size: 22px;
    }

    .page-header{
        min-height: 300px;
    }

    .page-header-content{
        padding-top: 90px;
    }

    .about-item-title{
        font-size: 14px;
    }
}