/* ========== HEADER ========== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    width: 100%;

    background: rgba(8, 12, 19, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-wrap {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1180px;
    height: 76px;

    margin: 0 auto;
    padding: 0 10px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-logo {
    justify-self: start;

    color: #ffffff;

    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.7px;

    text-decoration: none;
}

.header-logo span {
    margin-left: 7px;

    color: #c5ff2f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.header-nav {
    display: flex;
    align-items: center;

    gap: 38px;
}

.header-nav a {
    position: relative;

    padding: 28px 0;

    color: #e2e5e9;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

.header-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 20px;

    width: 0;
    height: 1px;

    background: #c5ff2f;

    transition: width 0.25s ease;
}

.header-nav a:hover {
    color: #c5ff2f;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-main-button {
    justify-self: end;

    display: inline-flex;
    align-items: center;

    gap: 13px;

    padding: 11px 17px;

    border: 1px solid rgba(197,255,47,0.35);
    border-radius: 7px;

    background: rgba(197,255,47,0.05);

    color: #c5ff2f;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.header-main-button:hover {
    background: #c5ff2f;
    border-color: #c5ff2f;

    color: #080c13;
}

.header-menu-button {
    display: none;

    position: relative;
    z-index: 10002;

    width: 38px;
    height: 38px;

    padding: 10px 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.header-menu-button span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 6px 0;

    background: #ffffff;

    transition: 0.25s ease;
}

.header-mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    .site-header {
        z-index: 9999;
    }

    .header-wrap {
        height: 68px;

        padding: 0 20px;

        display: flex;
        justify-content: space-between;
    }

    .header-nav,
    .header-main-button {
        display: none;
    }

    .header-menu-button {
        display: block;
    }

    .header-mobile-nav {
        position: absolute;

        top: 68px;
        left: 0;
        z-index: 10001;

        width: 100%;

        padding: 10px 20px 22px;

        background: #080c13;
        border-bottom: 1px solid rgba(255,255,255,0.08);

        pointer-events: auto;
    }

    .header-mobile-nav.active {
        display: block;
    }

    .header-mobile-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 17px 4px;

        border-bottom: 1px solid rgba(255,255,255,0.07);

        color: #e2e5e9;

        font-size: 14px;
        font-weight: 600;

        text-decoration: none;

        pointer-events: auto;
    }

    .header-mobile-nav .mobile-main-link {
        margin-top: 12px;
        padding: 16px 17px;

        border: 1px solid #c5ff2f;
        border-radius: 7px;

        background: #c5ff2f;

        color: #080c13;

        font-weight: 800;
    }

}

.site-header { font-family: "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif; line-height: normal; letter-spacing: normal; }
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header .header-logo img { display:block; width:auto; height:44px; max-width:180px; object-fit:contain; }
.site-header .header-nav a { white-space:nowrap; line-height:normal; }
.site-header .header-nav a.is-current { color:#c5ff2f; }
.site-header .header-nav a.is-current::after { width:100%; }
.site-header .ui-arrow { display:block; width:15px; height:15px; flex:0 0 auto; overflow:visible; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; shape-rendering:geometricPrecision; vector-effect:non-scaling-stroke; }
@media(max-width:768px) { .site-header .ui-arrow { width:14px; height:14px; } }
