.mr-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(90deg, rgba(14, 20, 34, 0.95), rgba(24, 30, 46, 0.94));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.mr-header__inner {
    width: var(--mr-content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}

.mr-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.mr-initials {
    color: var(--mr-accent);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 16px rgba(97, 216, 255, 0.28), 0 0 3px rgba(0, 0, 0, 0.9);
}

.mr-project-name {
    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.mr-header__nav {
    min-width: 0;
}

.mr-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mr-nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(167, 206, 255, 0.08);
    color: rgba(245, 249, 255, 0.92);
    font-family: "Orbitron", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.mr-nav-links a:hover,
.mr-nav-links a:focus-visible {
    border-color: rgba(167, 206, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mr-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mr-head-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(167, 206, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(245, 249, 255, 0.96);
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mr-head-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(178, 223, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.mr-head-btn--pri {
    border-color: rgba(170, 219, 255, 0.48);
    background: linear-gradient(135deg, rgba(54, 123, 255, 0.94), rgba(97, 216, 255, 0.88));
    color: #07111d;
}

.nav-toggle-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(167, 208, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.nav-toggle-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: white;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-separator {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(97, 216, 255, 0.32), rgba(97, 216, 255, 0.06));
}
