:root {
    --primary: #369FFF;
    --backcolor: #111C27;
    interpolate-size: allow-keywords;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

@font-face {
    font-display: swap;
    font-family: "Unbounded";
    font-weight: 400;
    src: local("Unbounded-Regular"),
        url('/static/assets/fonts/Unbounded-Regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "Unbounded";
    font-weight: 500;
    src: local("Unbounded-Medium"),
        url('/static/assets/fonts/Unbounded-Medium.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "Unbounded";
    font-weight: 700;
    src: local("Unbounded-Bold"),
        url('/static/assets/fonts/Unbounded-Bold.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-weight: 700;
    src: local("Manrope-Bold"),
        url('/static/assets/fonts/Manrope-Bold.woff2') format('woff2');
}

body {
    color: #fff;
    font-family: 'Unbounded';
}

h1 {
    font-size: clamp(28px, calc(28px + (100vw - 320px) * (64 - 28) / (1300 - 320)), 64px);
    line-height: 1;
    max-width: 11ch;
    font-weight: 700;
    margin-top: min(10vw, 90px);
}

h2 {
    font-size: clamp(28px, calc(28px + (100vw - 320px) * (48 - 28) / (1300 - 320)), 48px);
    font-weight: 700;
}

h3 {
    font-size: clamp(16px, calc(28px + (100vw - 320px) * (20 - 16) / (1300 - 320)), 20px);
    font-weight: 700;
}

.text-center {
    text-align: center;
}

h1>span,
h2>span {
    color: var(--primary);
}

section {
    background-color: var(--backcolor);
    position: relative;
    padding: 0 min(3%, 50px);
}

section:first-child {
    min-height: 100vh;
    background: linear-gradient(180deg, #111C27 0%, #111C274D 20%, #111C274D 80%, #111C27 100%),
        url('/static/assets/images/astronavts.webp') right bottom / 70% no-repeat, url('/static/assets/images/sec1.webp') center bottom / cover no-repeat;

}

section:first-child::before {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 10%;
    background: linear-gradient(180deg, rgba(54, 159, 255, 0.9) 33.78%, rgba(138, 197, 62, 0.9) 100%);
    filter: blur(50px);
    pointer-events: none;
    aspect-ratio: 1;
    border-radius: 50%;
}


div.container {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 100px;
}

section:has(footer)>div.container {
    padding-bottom: 10px;
}

header,
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

footer {
    flex-wrap: wrap;
    gap: 10px;
}

footer>p {
    color: #c4c4c4;
    font-size: 12px;
}

div.logo {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

p.after-header {
    padding: 20px 0;
    color: #c4c4c4;
    font-size: 20px;
    max-width: 32ch;
}

button.recall {
    background-color: #151515;
    border-radius: 8px;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-family: 'Manrope';
    font-weight: 700;
    margin-left: 50px;
    cursor: pointer;
}

a.signup {
    background-color: #FFCE01;
    margin-right: 30px;
    margin-bottom: 12px;
    border-radius: 8px;
    color: #000;
    border: none;
    padding: 20px 40px;
    font-family: 'Unbounded';
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    min-width: 249px;
}

a.login {
    display: inline-flex;
    gap: 1px;
    text-decoration: none;
}

a.login>button:first-child {
    background-color: #fff;
    border-radius: 4px 0 0 4px;
    border: none;
    padding: 20px 60px;
    font-family: 'Unbounded';
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

a.login>button:last-child {
    background-color: #fff;
    border-radius: 0 4px 4px 0;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.buttons a {
    color: #e9e9e9;
    transition: color .3s ease-in;
}

.buttons a:hover {
    color: var(--primary);
}

section.about {
    background: url('/static/assets/images/sec2.webp') right bottom / 50% no-repeat, var(--backcolor);
}

.about-us {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 10vw + 250px, 330px), 1fr));
    padding-top: 100px;
    gap: 1px;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -5%;
    width: 40%;
    background: linear-gradient(180deg, rgba(54, 159, 255, 0.2) 33.78%, rgba(138, 197, 62, 0.2) 100%);
    filter: blur(100px);
    pointer-events: none;
    aspect-ratio: 1;
    border-radius: 50%;
}

.about-block {
    padding: 30px 30px 150px;
    position: relative;
}

.about-block:not(:first-child) {
    outline: 1px solid #fff;
}

.about-block:first-child {
    background: url('/static/assets/images/dc-mouse.svg') left bottom 40px / 26px no-repeat;
}

.about-block:nth-child(2) {
    background: url('/static/assets/images/dc-cup.svg') right bottom / 40% no-repeat;
    overflow: hidden;
}

.about-block:nth-child(2)::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: linear-gradient(259.62deg, rgba(255, 153, 58, 0.5) 47.49%, rgba(138, 197, 62, 0.5) 99.39%);
    filter: blur(50px) opacity(.5);
    pointer-events: none;
}

.about-block:nth-child(3) {
    background: url('/static/assets/images/dc-gamepad.svg') right 20% bottom 10% no-repeat;
}

.about-block:nth-child(4) {
    background: url('/static/assets/images/dc-star.svg') right bottom / 40% no-repeat;
    overflow: hidden;
}

.about-block:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(54, 159, 255, 0.9) 34%, rgba(138, 197, 62, 0.9) 100%);
    filter: blur(100px);
    pointer-events: none;
}

.about-block:nth-child(5) {
    backdrop-filter: contrast(0.7) blur(2px);
}

.about-block>p {
    color: #c4c4c4;
    margin-top: 14px;
}

.partners-block {
    position: relative;
    padding: 100px 0;
    padding-top: clamp(12px, 8vw, 100px);
    padding-bottom: clamp(200px, calc(200px - 5vw), 100px);
    display: flex;
    justify-content: space-between;
    background: linear-gradient(180deg, #111C27 0%, #111C2700 20%, #111C2700 80%, #111C27 100%), url('/static/assets/images/sec3.webp') center / 100% no-repeat, var(--backcolor);
}

.partners-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 40%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(54, 159, 255, 0.4) 33.78%, rgba(138, 197, 62, 0.4) 100%);
    filter: blur(100px);
    pointer-events: none;
}

.partners-block .partner {
    padding: 38px 38px 300px;
    max-width: 417px;
    border: 1px solid #fff;
    backdrop-filter: blur(15px)
}

.partners-block .partner h3 {
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

section.how-work::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: url('/static/assets/images/space.webp') left center / 60% no-repeat;
    opacity: .3;
}

section.how-work::after {
    content: '';
    width: 20%;
    aspect-ratio: 1;
    position: absolute;
    top: 0;
    right: 10%;
    background: linear-gradient(180deg, rgba(54, 159, 255, 0.49) 33.78%, rgba(138, 197, 62, 0.49) 100%);
    filter: blur(100px);
}

img.spaceship {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    display: none;
}

.description {
    margin: 30px auto;
    max-width: 710px;
    color: #c4c4c4;
}

.steps {
    margin: 70px auto 0;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #8AC53E 25%, #424967 25%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.steps h3 {
    margin-bottom: 20px;
}

.steps li::marker {
    font-weight: 700;
    font-size: 120%;
}

.steps p {
    color: #c4c4c4;
}

.steps li {
    max-width: 350px;
    padding: 30px 0;
}

.steps li:nth-child(even) {
    align-self: flex-end;

}



.provider {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 130px;
    box-shadow: 0px 10px 30px 0px #00000040;

}

.faq-block {
    margin: 40px 0 0;
    padding: 0;
    list-style-type: none;
    counter-reset: list-counter;
}

.faq-block li {
    counter-increment: list-counter;
    position: relative;
    display: flex;
    gap: 70px;
    border-top: 1px solid #FFFFFF;
    padding: 34px 0;
}

.faq-block li::before {
    content: "0" counter(list-counter);
    display: block;
    font-weight: 700;
    font-size: 24px;
    color: #8AC53E;
}

.faq-block summary {
    list-style: none;
    padding-right: 60px;
    cursor: pointer;
}

.faq-block details {
    position: relative;
    width: 100%;
}

.faq-block details p {
    color: #c4c4c4;
    padding: 20px 60px 0 0;
}

.faq-block details::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    width: 50px;
    height: 50px;
    background: url('/static/assets/images/arrow.svg') center / 60% no-repeat, var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transition: all .3s ease-in;

}

.faq-block details[open]::after {
    rotate: 90deg;
}

.faq-block details::details-content {
    opacity: 0;
    block-size: 0;
    transition: block-size 1s, content-visibility 1s, opacity 1s ease-in;
    transition-behavior: allow-discrete;
}

.faq-block details[open]::details-content {
    block-size: auto;
    opacity: 1;
    transition-timing-function: opacity 1s ease-out;
}

section.faq {
    background: linear-gradient(to top, #111C274d 0%, #111C27 40vw),
        url('/static/assets/images/footer2.webp') center bottom / 100% no-repeat,
        var(--backcolor);
    padding-top: 100px;
}

div.container.company {
    padding-top: 0;
    padding-bottom: 0;
}

.mountains {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.mountains>img {
    width: 100%;
    display: block;
}

.company-name {
    text-align: center;
    font-size: clamp(28px, 6vw + 10px, 130px);
    font-weight: 700;
    background: linear-gradient(180deg, #A4C0E6 11.54%, rgba(153, 153, 153, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s ease, transform 1s ease;
}

.company-name.show {
    opacity: 1;
    transform: translateY(0);
}

.pad-bot {
    height: calc(100vw* 0.17);
}

@media(min-width: 1600px) {
    img.spaceship {
        display: block;
    }
}

@media(min-width: 1400px) {
    section.how-work {
        background: url(/static/assets/images/planet.webp) left 5% top / 260px no-repeat, var(--backcolor);
    }
}

@media(max-width: 1023.5px) {
    .partners-block {
        flex-wrap: wrap;
        gap: 20px;
        background: linear-gradient(180deg, #111C27 0%, #111C2700 20%, #111C2700 80%, #111C27 100%), url('/static/assets/images/sec3.webp') center bottom / 100% no-repeat, var(--backcolor);
    }

    .partners-block .partner {
        flex-basis: 100%;
        max-width: 100%;
        padding: 38px;
    }
}

@media (max-width: 900px) {
    .steps::before {
        left: 0;
    }

    .steps li:nth-child(even) {
        align-self: flex-start;
    }

    .steps li {
        max-width: 100%;
        padding: 30px 0;
    }
}

@media (max-width: 800px) {
    button.recall {
        display: none;
    }

    div.logo {
        font-size: 12px;
    }

    div.logo>img {
        width: 28px;
        height: 28px;
    }

    .buttons svg {
        width: 30px;
        height: 30px;
    }

    section.about {
        background: url('/static/assets/images/sec2.webp') right bottom / 90% no-repeat, var(--backcolor);
    }

    .faq-block li {
        gap: 10px;
    }

    .faq-block details::after {
        width: 24px;
        height: 24px;
        top: 0;
    }

    .about-us {
        padding-top: 30px;
    }
}

@media(max-width: 400px) {
    section.how-work div.container {
        padding-bottom: 500px;
    }

    section.how-work::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        background: url(/static/assets/images/space.webp) center bottom / 200% no-repeat;
        opacity: .3;
    }

    img.spaceship {
        display: block;
        top: 100%;
        width: 80%;
        transform: translateY(-100%);
    }

    .faq-block li::before {
        font-size: 16px;
        line-height: 1.8;
    }
}

.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000, transparent);
    margin-top: 40px;
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 16s linear infinite;
    animation-delay: calc((16s / var(--quantity)) * ((var(--quantity) - var(--position)) * -1));
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1d2732;
    border-radius: 16px;
}

@keyframes autoRun {
    from {
        left: 100%;
    }

    to {
        left: calc(var(--width) * -1);
    }
}

.slider:hover .item {
    animation-play-state: paused !important;
}