.floating-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 640px;
    padding: 12px 24px;
    box-sizing: border-box;

    background: rgba(247, 247, 245, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    z-index: 100;
}

.floating-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.floating-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.floating-header-logo:hover {
    opacity: 0.7;
}

.floating-header-logo-img {
    height: 20px;
    width: auto;
}

.floating-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.floating-header-nav a {
    font-family: 'Alegreya', serif;
    font-size: 14px;
    font-weight: 450;
    color: #1f2933;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 200ms ease;
}

.floating-header-nav a:hover,
.floating-header-nav a.active {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 700px) {
    .floating-header {
        top: 12px;
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        max-width: none;
        padding: 10px 16px;
    }

    .floating-header-logo {
        font-size: 16px;
    }

    .floating-header-nav {
        gap: 16px;
    }

    .floating-header-nav a {
        font-size: 13px;
    }
}
