

:root {
    --dark: #121212;
    --light: #fff;
    --gray-text: #a3a3a3;
    --bg-color: #1E1E1E;
    --body-fonts: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    list-style: none;
    outline: none;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    font-family: var(--body-fonts);
    background: #000;

}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Montsserat', sans-serif;
    letter-spacing: 5px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #2669b6, #1da0d4, #19b6bb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo img {
    width: 35px;
    padding-bottom: 1px;
}

.header .container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-radius: 30px;
    margin-top: 2rem;
}

.header-content {
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
}

.action a {
    color: var(--light);
}

.action {
    padding: 4px 16px;
    border: 1px solid #fff;
    border-radius: 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 0;
}

/* ---------- бургер-меню (планшет/мобилка) ---------- */


.burger {
    display: none;
    position: relative;        /* чтобы полоски позиционировать внутри */
    width: 2rem;
    height: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger span {
    position: absolute;        /* вырываем каждую полоску, чтобы точно управлять */
    left: 0;
    height: 0.2rem;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s ease;
}


.burger span:nth-child(1) { top: 0; }                          /* верхняя у края */
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); } /* средняя строго по центру */
.burger span:nth-child(3) { bottom: 0; }  


@media (max-width: 600px) {

    .header .container {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .burger { display: block; }

    /* фуллскрин-меню с матовым стеклом */
    .nav-list-item {
        position: fixed;
        inset: 0;                    /* на весь экран: top/right/bottom/left = 0 */

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;     /* пункты по центру экрана */
        gap: 2rem;
        font-size: 1.6rem;

        background: rgba(20, 30, 48, 0.55);            /* тёмный полупрозрачный тон */
        backdrop-filter: blur(20px) saturate(140%);    /* ← матовое стекло */
        -webkit-backdrop-filter: blur(20px) saturate(140%);

        opacity: 0;                  /* спрятано */
        visibility: hidden;          /* не кликается пока закрыто */
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 105;
    }

    /* открыто — проявляем поверх сайта */
    .nav.is-open .nav-list-item {
        opacity: 1;
        visibility: visible;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .action { display: none; }

    /* крестик по центру */
    .nav.is-open .burger span:nth-child(1) {
        top: 50%; transform: translateY(-50%) rotate(45deg);
    }
    .nav.is-open .burger span:nth-child(2) { opacity: 0; }
    .nav.is-open .burger span:nth-child(3) {
        bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg);
    }
}