.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient( 180deg, rgba(6, 9, 15, 0.96) 20%, rgba(0, 0, 0, 0.88) 100% );
    border-bottom: 1px solid rgba(0, 194, 255, 0.12);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(0, 194, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.12) 20%, rgba(0, 194, 255, 0.65) 50%, rgba(0, 194, 255, 0.12) 80%, transparent);
    box-shadow: 0 0 12px rgba(0, 194, 255, 0.22), 0 0 28px rgba(0, 194, 255, 0.08);
    pointer-events: none;
}
.site-header > .container {
    position: relative;
    margin: 0px;
    padding: 0px 15px;
}
.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 30px;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: #f1f5f9;
    text-decoration: none;
}
.navbar-brand__mark {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 25px;
    height: 25px;
}
.navbar-brand__mark span {
    display: block;
    width: 5px;
    height: 19px;
    background: var(--gameapi-cyan);
    transform: skewX(-18deg);
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.28);
    transition:
        height .35s ease,
        box-shadow .35s ease;
}
.navbar-brand__mark span:nth-child(2) {
    height: 23px;
}
.navbar-brand__mark span:nth-child(3) {
    height: 15px;
}
.navbar-brand:hover .navbar-brand__mark span {
    height: 23px;
    box-shadow: 0 0 14px rgba(0, 194, 255, 0.48);
}
.navbar-nav {
    display: flex;
    gap: clamp(17px, 2vw, 29px);
    margin-left: auto;
}
.nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: auto;
	color: #a6a9af;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: color .3s ease;
	padding: 5px 5px;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	margin: auto;
	background: var(--gameapi-cyan);
	box-shadow: 0 0 8px rgba(0, 194, 255, 0.35);
	transition: width .35s cubic-bezier(.22, .61, .36, 1);
}
.nav-link:focus, .nav-link:hover {
	color: #eef3f8 !important;
}
.nav-link:hover,
.nav-link.is-active {
    color: #eef3f8;
}
.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}
.navbar-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid rgba(0, 194, 255, 0.30);
    border-radius: 10px;
    background: rgba(0, 194, 255, 0.025);
    color: #eaf0f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition:
        color .35s ease,
        border-color .35s ease,
        transform .35s cubic-bezier(.22, .61, .36, 1);
}
.navbar-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #007cff, #00c2ff, #007cff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.navbar-cta:hover {
    color: #fff;
    border-color: rgba(0, 194, 255, 0.75);
    transform: translateY(-2px);
    box-shadow:  0 8px 25px rgba(0, 194, 255, 0.10);
}
.navbar-cta:hover::before {
    transform: scaleX(1);
}

.navbar-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(0, 194, 255, 0.20);
    background: rgba(0, 194, 255, 0.025);
    cursor: pointer;
    transition:
        border-color .3s ease,
        background .3s ease;
}
.navbar-toggle:hover {
    border-color: rgba(0, 194, 255, 0.55);
    background: rgba(0, 194, 255, 0.06);
}
.navbar-toggle span {
    position: absolute;
    left: 11px;
    width: 19px;
    height: 1px;
    background: #dce5ee;
    transition:
        transform .4s cubic-bezier(.22, .61, .36, 1),
        top .3s ease,
        background .3s ease;
}
.navbar-toggle span:first-child {
    top: 16px;
}
.navbar-toggle span:last-child {
    top: 24px;
}
.navbar-toggle.is-open span:first-child {
    top: 20px;
    transform: rotate(45deg);
}
.navbar-toggle.is-open span:last-child {
    top: 20px;
    transform: rotate(-45deg);
}
.navbar-toggle.is-open {
    border-color: rgba(0, 194, 255, 0.5);
    border-radius: 50%;
    background: rgba(0, 194, 255, 0.06);
}
.mobile-navigation {
    display: none;
}

@media (max-width: 1100px) {
    .navbar {
        gap: 20px;
    }
    .navbar-nav {
        gap: 15px;
    }
    .nav-link {
        font-size: 13px;
    }
    .navbar-cta {
        padding: 0 10px;
    }
}
@media (max-width: 900px) {
    .navbar {
        min-height: 70px;
    }
    
    .navbar-cta {
        display: none;
    }
    .navbar-toggle {
        display: block;
    }
    .mobile-navigation {
        display: block;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        background: linear-gradient(180deg, rgba(5, 10, 19, 0.985), rgba(4, 8, 16, 0.975));
        border: 1px solid rgba(0, 194, 255, 0.14);
        border-top: 0;
        box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42), 0 0 35px rgba(0, 194, 255, 0.035);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        transition:
            max-height .55s cubic-bezier(.22, .61, .36, 1),
            opacity .35s ease,
            visibility .35s ease,
            transform .55s cubic-bezier(.22, .61, .36, 1);
    }
    .mobile-navigation.is-open {
        max-height: calc(100vh - 70px);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        overflow-y: auto;
    }
    .mobile-navigation::before {
        content: "";
        position: absolute;
        top: 0;
        left: 8%;
        right: 8%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 194, 255, .7), transparent);
        box-shadow: 0 0 15px rgba(0, 194, 255, .25);
    }

    .mobile-navigation__inner {
        padding: 12px 18px 20px;
    }
    .mobile-nav-link {
	    position: relative;
	    display: grid;
	    grid-template-columns: 35px 1fr auto;
	    align-items: center;
	    gap: 12px;
	    min-height: 50px;
	    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
	    color: #9ba6b7;
	    font-size: 13px;
	    font-weight: 600;
	    letter-spacing: .04em;
	    text-decoration: none;
	    transition: color .3s ease, padding-left .4s cubic-bezier(.22, .61, .36, 1), background .3s ease;
    }
    .mobile-nav-link::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 1px;
        background: var(--gameapi-cyan);
        box-shadow: 0 0 9px rgba(0, 194, 255, .35);
        transition: width .4s cubic-bezier(.22, .61, .36, 1);
    }
    .mobile-nav-link:hover,
    .mobile-nav-link.is-active {
        color: #f2f6fa;
        padding-left: 8px;
        background: linear-gradient(90deg, rgba(0, 194, 255, .045), transparent 65%);
    }
    .mobile-nav-link:hover::before,
    .mobile-nav-link.is-active::before {
        width: 28px;
    }
    .mobile-nav-link > span {
        color: var(--gameapi-cyan);
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .13em;
    }
    .mobile-navigation__footer {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
        padding-top: 22px;
    }
    .mobile-navigation__footer > span {
	    /* max-width: 198px; */
	    color: #999da2;
	    font-size: 8px;
	    font-weight: 700;
	    line-height: 1.5;
	    letter-spacing: .13em;
    }
    .mobile-navigation__footer > a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #dce5ed;
        font-size: 10px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: color .3s ease;
    }
    .mobile-navigation__footer > a span {
        color: var(--gameapi-cyan);
        transition: transform .35s cubic-bezier(.22, .61, .36, 1);
    }
    .mobile-navigation__footer > a:hover {
        color: #fff;
    }
    .mobile-navigation__footer > a:hover span {
        transform: translate(3px, -3px);
    }
}
@media (max-width: 500px) {
    .navbar {
        min-height: 64px;
    }
    .navbar-brand__name {
        font-size: 17px;
    }
    .navbar-brand__mark {
        transform: scale(.9);
        transform-origin: left center;
    }
    .navbar-toggle {
        width: 39px;
        height: 39px;
    }
    .mobile-navigation {
        top: calc(100% + 1px);
    }
    .mobile-navigation.is-open {
        max-height: calc(100vh - 64px);
    }
    .mobile-navigation__inner {
        padding: 8px 14px 18px;
    }
    .mobile-nav-link {
        min-height: 53px;
    }
    .mobile-navigation__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition: none !important;
        animation: none !important;
    }
}