.desktop-nav {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 900px;
    /* Slightly wider */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.desktop-logo {
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.5px;
    flex: 0 0 auto;
}

/* Search Form Styles */
.search-form {
    flex: 0 1 400px;
    /* Grow to max 400px */
    margin: 0 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 20px;
    padding-left: 40px;
    /* Space for search icon if needed */
    background-color: #f1f1f1;
    /* Light gray background like Twitter/FB */
    border: 1px solid transparent;
    border-radius: 99px;
    /* Pill shape */
    font-size: 0.95rem;
    transition: all 0.2s ease;
    margin-bottom: 0;
    /* Override global input margin */
}

.search-input:focus {
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 0 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.4rem;
    /* Icons size */
    display: flex;
    /* Center icon */
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-links a:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--accent-color);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
}